mesh_mesh_align_plus icon indicating copy to clipboard operation
mesh_mesh_align_plus copied to clipboard

The addon is not disabled correctly

Open Madhanla opened this issue 9 months ago • 1 comments

I'm getting the following python error by just registering and unregistering the addon on Blender 4.3.2:

Exception in module unregister(): '/home/martin/.config/blender/4.3/extensions/blender_org/mesh_mesh_align_plus/__init__.py'
Traceback (most recent call last):
  File "/usr/share/blender/4.3/scripts/modules/addon_utils.py", line 562, in disable
    mod.unregister()
    ^^^^^^^^^^^^^^
AttributeError: module 'bl_ext.blender_org.mesh_mesh_align_plus' has no attribute 'unregister'. Did you mean: 'register'?

Error: Traceback (most recent call last):
  File "/usr/share/blender/4.3/scripts/modules/addon_utils.py", line 562, in disable
    mod.unregister()
    ^^^^^^^^^^^^^^
AttributeError: module 'bl_ext.blender_org.mesh_mesh_align_plus' has no attribute 'unregister'. Did you mean: 'register'?

Then I cannot enable it again. I get the following error:

Exception in module register(): /home/martin/.var/app/org.blender.Blender/config/blender/4.3/extensions/blender_org/mesh_mesh_align_plus/__init__.py
Traceback (most recent call last):
  File "/app/blender/4.3/scripts/modules/addon_utils.py", line 511, in enable
    mod.register()
  File "/home/martin/.var/app/org.blender.Blender/config/blender/4.3/extensions/blender_org/mesh_mesh_align_plus/utils/system.py", line 637, in register
    bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'MAPLUS_OT_AlignPointsBase'

Thanks in advance!

Madhanla avatar Mar 19 '25 15:03 Madhanla

@Madhanla Thanks for reporting this. It's on my TODO list 👍

ericsnekbytes avatar May 05 '25 21:05 ericsnekbytes