UI Animation Render: Attribute error when running in background #101239

Closed
opened 2022-09-21 05:31:41 +02:00 by EMM · 8 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-18 20:10, hash: blender/blender@ecf3435362
Worked: (newest version of Blender that worked as expected)

Short description of error
Attribute error while running blender in background if UI Animation Render add-on is enabled

Exact steps for others to reproduce the error

  • Enable UI Animation Render -> save preferences and close blender
  • in console: blender -b
Traceback (most recent call last):

File "C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\bin\3.4\scripts\modules\addon_utils.py", line 369, in enable
mod.register()
File "C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\bin\3.4\scripts\addons\render_ui_animation_render.py", line 193, in register
km = wm.keyconfigs.addon.keymaps.new(name='Screen', space_type='EMPTY')

AttributeError: 'NoneType' object has no attribute 'keymaps'```
**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-18 20:10, hash: `blender/blender@ecf3435362` Worked: (newest version of Blender that worked as expected) **Short description of error** Attribute error while running blender in background if `UI Animation Render` add-on is enabled **Exact steps for others to reproduce the error** - Enable UI Animation Render -> save preferences and close blender - in console: `blender -b` ```Exception in module register(): C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\bin\3.4\scripts\addons\render_ui_animation_render.py Traceback (most recent call last): ``` File "C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\bin\3.4\scripts\modules\addon_utils.py", line 369, in enable mod.register() File "C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\bin\3.4\scripts\addons\render_ui_animation_render.py", line 193, in register km = wm.keyconfigs.addon.keymaps.new(name='Screen', space_type='EMPTY') ``` AttributeError: 'NoneType' object has no attribute 'keymaps'```
Author

Added subscriber: @Guai_Wo_Ge_EMM

Added subscriber: @Guai_Wo_Ge_EMM
Author

.\blender --background

.\blender --background
Pratik Borhade changed title from background run render_ui_animation_render error to UI Animation Render: Attribute error when running in background 2022-09-21 06:29:21 +02:00
Member

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

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

Added subscribers: @PratikPB2123, @LucaRood-3

Added subscribers: @PratikPB2123, @LucaRood-3

This issue was referenced by f0dd4aaf88

This issue was referenced by f0dd4aaf8800ce48e589f8e35403d6aa687b16ed

This issue was referenced by 2290fb31da

This issue was referenced by 2290fb31da3348846e37fd0d927fe25588c84849

This issue was referenced by 3e6a85eeca

This issue was referenced by 3e6a85eecab82328e801f02e76de8763ca952090
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Luna Rood self-assigned this 2022-09-21 10:23:35 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#101239
No description provided.