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

Installation in MacOS + Blender 4.0.2 crashes #5089

Open
arpit15 opened this issue Mar 20, 2024 · 1 comment
Open

Installation in MacOS + Blender 4.0.2 crashes #5089

arpit15 opened this issue Mar 20, 2024 · 1 comment

Comments

@arpit15
Copy link

arpit15 commented Mar 20, 2024

Problem statement

Installing sverchok addon in blender leads to error message.

Steps to reproduce

  1. Open Blender.
  2. Perform Addon installation Edit->Preferences->Add-ons->Install
  3. Switch the addon on by selecting it among the list of installed addons

Expected result

Addon is showing in blender

Actual result

WARN (bgl): source/blender/python/generic/bgl.cc:2678 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module.
Traceback (most recent call last):
  File "/Applications/Blender4.app/Contents/Resources/4.0/scripts/modules/addon_utils.py", line 364, in enable
    mod = importlib.import_module(module_name)
  File "/Applications/Blender4.app/Contents/Resources/4.0/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/virtualworld/Library/Application Support/Blender/4.0/scripts/addons/sverchok-1_2_0/__init__.py", line 113, in <module>
    imported_modules, node_modules, core = import_sverchok()
  File "/Users/virtualworld/Library/Application Support/Blender/4.0/scripts/addons/sverchok-1_2_0/__init__.py", line 100, in import_sverchok
    imported_modules_ = core.init_architecture()
  File "/Users/virtualworld/Library/Application Support/Blender/4.0/scripts/addons/sverchok-1_2_0/core/__init__.py", line 128, in init_architecture
    import_all_modules(imported_modules, mods_bases)
  File "/Users/virtualworld/Library/Application Support/Blender/4.0/scripts/addons/sverchok-1_2_0/core/__init__.py", line 100, in import_all_modules
    import_modules(mods, base, imported_modules)
  File "/Users/virtualworld/Library/Application Support/Blender/4.0/scripts/addons/sverchok-1_2_0/core/__init__.py", line 63, in import_modules
    im = importlib.import_module('.{}'.format(m), base)
  File "/Applications/Blender4.app/Contents/Resources/4.0/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/virtualworld/Library/Application Support/Blender/4.0/scripts/addons/sverchok-1_2_0/core/sockets.py", line 748, in <module>
    class SvVerticesSocketInterface(bpy.types.NodeSocketInterface):
AttributeError: 'module' object has no attribute 'NodeSocketInterface'

Sverchok version

Version 1.2.0
Downloaded .zip from GitHub
Testing on MacOS - 14.2.1
Blender - 4.0.2

@arpit15 arpit15 changed the title Installation in Blender 4.0.2 crashes Installation in MacOS + Blender 4.0.2 crashes Mar 20, 2024
@Andrej730
Copy link
Contributor

@arpit15

You can try version from the repo https://github.com/nortikin/sverchok, not from the releases.
Not sure how well sverchok is supported on Blender 4.0+ though.

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

2 participants