BlenderKit raises error when using blender --background --python #84822

Closed
opened 2021-01-18 14:51:09 +01:00 by Robin De Schepper · 7 comments

System Information
Operating system: Windows

Blender Version
Broken: 2.91

Exact steps for others to reproduce the error

Install Blender on Windows, enable BlenderKit addon, add Blender to the PATH and run:

blender --background --python

BlenderKit will throw the following error:

PS C:\Users\robin> blender --background --python
Blender 2.91.0 (hash 0f45cab862b8 built 2020-11-25 09:02:56)
Read prefs: C:\Users\robin\AppData\Roaming\Blender Foundation\Blender\2.91\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender 2.91\2.91\python

Error: you must specify a filepath after '--python'.
Exception in module unregister(): 'C:\\Program Files\\Blender Foundation\\Blender 2.91\\2.91\\scripts\\addons\\blenderkit\\__init__.py'
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\addon_utils.py", line 434, in disable
    mod.unregister()
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\blenderkit\__init__.py", line 1731, in unregister
    ui.unregister_ui()
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\blenderkit\ui.py", line 1903, in unregister_ui
    km = wm.keyconfigs.addon.keymaps['Window']
KeyError: 'bpy_prop_collection[key]: key "Window" not found'

Blender quit
**System Information** Operating system: Windows **Blender Version** Broken: 2.91 **Exact steps for others to reproduce the error** Install Blender on Windows, enable BlenderKit addon, add Blender to the PATH and run: `blender --background --python` BlenderKit will throw the following error: ``` PS C:\Users\robin> blender --background --python Blender 2.91.0 (hash 0f45cab862b8 built 2020-11-25 09:02:56) Read prefs: C:\Users\robin\AppData\Roaming\Blender Foundation\Blender\2.91\config\userpref.blend found bundled python: C:\Program Files\Blender Foundation\Blender 2.91\2.91\python Error: you must specify a filepath after '--python'. Exception in module unregister(): 'C:\\Program Files\\Blender Foundation\\Blender 2.91\\2.91\\scripts\\addons\\blenderkit\\__init__.py' Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\addon_utils.py", line 434, in disable mod.unregister() File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\blenderkit\__init__.py", line 1731, in unregister ui.unregister_ui() File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\blenderkit\ui.py", line 1903, in unregister_ui km = wm.keyconfigs.addon.keymaps['Window'] KeyError: 'bpy_prop_collection[key]: key "Window" not found' Blender quit ```

Added subscriber: @Helveg

Added subscriber: @Helveg

Added subscribers: @VilemDuha, @rjg

Added subscribers: @VilemDuha, @rjg

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This comment was removed by @rjg

*This comment was removed by @rjg*

Changed status from 'Confirmed' to: 'Needs Triage'

Changed status from 'Confirmed' to: 'Needs Triage'

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Robert Guetzkow self-assigned this 2021-01-19 12:25:16 +01:00

This was already fixed by 8b7d1a3d1b.

This was already fixed by 8b7d1a3d1b.
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#84822
No description provided.