Magic UV: Fails Load factory Preferences disable #67572

Closed
opened 2019-07-24 08:49:02 +02:00 by Ryan Inch · 9 comments
Member

System Information
Operating system: Arch Linux 64 bit
Graphics card: Nvidia 660m

Blender Version
Broken: 2.80rc2

Short description of error
Magic UV fails to pass register unregister register tests. Save preferences

Exact steps for others to reproduce the error
Enable Magic UV.
Uncheck Built-in Menu checkbox or unregister addon. Try to re-register. Load factory Preferences, Revert to Saved Preferences also fails.

Fix for this bug
Remove if statement from unregister.

**System Information** Operating system: Arch Linux 64 bit Graphics card: Nvidia 660m **Blender Version** Broken: 2.80rc2 **Short description of error** Magic UV fails to pass register unregister register tests. Save preferences **Exact steps for others to reproduce the error** Enable Magic UV. Uncheck Built-in Menu checkbox or unregister addon. Try to re-register. Load factory Preferences, Revert to Saved Preferences also fails. **Fix for this bug** Remove if statement from unregister.
Author
Member

Added subscriber: @Imaginer

Added subscriber: @Imaginer
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brendon Murphy self-assigned this 2019-07-24 13:37:10 +02:00
Member

This error is found when disabling the addon with load factory preferences and trying to enable the addon again.

Traceback (most recent call last):
  File "C:\Users\Dell\Downloads\blender-2.80-22_07_19-win64\2.80\scripts\modules\addon_utils.py", line 384, in enable
    mod.register()
  File "C:\Users\Dell\Downloads\blender-2.80-22_07_19-win64\2.80\scripts\addons\magic_uv\__init__.py", line 71, in register
    utils.bl_class_registry.BlClassRegistry.register()
  File "C:\Users\Dell\Downloads\blender-2.80-22_07_19-win64\2.80\scripts\addons\magic_uv\utils\bl_class_registry.py", line 71, in register
    bpy.utils.register_class(class_["class"])
ValueError: register_class(...): already registered as a subclass

Fixed and closing thanks @Imaginer

This error is found when disabling the addon with load factory preferences and trying to enable the addon again. ``` Traceback (most recent call last): File "C:\Users\Dell\Downloads\blender-2.80-22_07_19-win64\2.80\scripts\modules\addon_utils.py", line 384, in enable mod.register() File "C:\Users\Dell\Downloads\blender-2.80-22_07_19-win64\2.80\scripts\addons\magic_uv\__init__.py", line 71, in register utils.bl_class_registry.BlClassRegistry.register() File "C:\Users\Dell\Downloads\blender-2.80-22_07_19-win64\2.80\scripts\addons\magic_uv\utils\bl_class_registry.py", line 71, in register bpy.utils.register_class(class_["class"]) ValueError: register_class(...): already registered as a subclass ``` Fixed and closing thanks @Imaginer
Member

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Brendon Murphy removed their assignment 2019-07-25 01:47:48 +02:00
nutti was assigned by Brendon Murphy 2019-07-25 01:47:48 +02:00
Member

Re-opening not all reg issues with this addon are fixed

Re-opening not all reg issues with this addon are fixed
Brendon Murphy changed title from Magic UV: Fails to remove menus to Magic UV: Fails Load factory Preferences disable 2019-07-25 01:59:11 +02:00
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Added subscribers: @ideasman42, @brecht

Added subscribers: @ideasman42, @brecht
Member

@ideasman42 @brecht
Addon was failing to re-register after unregister.

@ideasman42 @brecht Addon was failing to re-register after unregister.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#67572
No description provided.