JacquesLucke / blender_vscode

Visual Studio Code extension for Blender development.
MIT License
540 stars 70 forks source link

Blender 3.1.2 wont start anymore #119

Closed IPv6 closed 2 years ago

IPv6 commented 2 years ago

Latest version of Blender can not be started with addon anymore // There is an error

MacOs 12.2.1, Monteray


(base) IRs-iMac:~ ipv6$ /Applications/Blender310.app/Contents/MacOS/blender --python /Users/ipv6/.vscode/extensions/jacqueslucke.blender-development-0.0.16/pythonFiles/launch.py
Read prefs: /Users/ipv6/Library/Application Support/Blender/3.1/config/userpref.blend
WPLStudio: registering panels
Config: initialization
WPLStudio: register done
Traceback (most recent call last):
  File "/Users/ipv6/.vscode/extensions/jacqueslucke.blender-development-0.0.16/pythonFiles/launch.py", line 11, in <module>
    print(json.loads(os.environ['ADDONS_TO_LOAD']))
  File "/Applications/Blender310.app/Contents/Resources/3.1/python/lib/python3.10/os.py", line 679, in __getitem__
    raise KeyError(key) from None
KeyError: 'ADDONS_TO_LOAD'
IPv6 commented 2 years ago

Sorry, the problem was in VS Code - it did not properly set os.environ when starting blender... don`t know why, after reistall of vs code - everything ok