Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install - previously registered nodes #7

Open
avan069 opened this issue Jan 16, 2025 · 0 comments
Open

Install - previously registered nodes #7

avan069 opened this issue Jan 16, 2025 · 0 comments

Comments

@avan069
Copy link

avan069 commented Jan 16, 2025

If plugin was previously installed (particularly prior version of Blender then upgraded or downgraded,) installation fails due to existing nodes, eg:

Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 369, in enable mod.register() File "/Users/[user]/Library/Application Support/Blender/3.6/scripts/addons/bms_blender_plugin/__init__.py", line 62, in register sys.modules[module_name].register() File "/Users/[user]/Library/Application Support/Blender/3.6/scripts/addons/bms_blender_plugin/nodes_editor/dof_editor.py", line 202, in register nodeitems_utils.register_node_categories("DOFS", dof_node_categories) File "/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/nodeitems_utils.py", line 87, in register_node_categories raise KeyError("Node categories list '%s' already registered" % identifier) KeyError: "Node categories list 'DOFS' already registered"

Does not clear when plugins are reloaded via Python console, eg:
bpy.ops.script.reload()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant