Blender crashes when switching to add-on tab #74829

Closed
opened 2020-03-16 23:45:28 +01:00 by bouam sidi abderrahmane · 11 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-15 22:43, hash: blender/blender@f06a6e92bc
Worked: 2.82 official, 2.81 official, 2.80 official.

Short description of error
Blender crashes when I click on my add-on tab in the sidebar menu.

The add-on in question is "Grungit", my own, but I also got the same error with many other add-ons, including HardOps, BlenderGIS, MeshMachine, and Decal Machine. Sometimes Blender crashes as soon as I open certain files.

I included a stripped-down version of my add-on without any actual functionality, just the UI and the properties. It can be used to reproduce the bug with factory settings.

The following error is shown as soon as I enable the add-on, but it doesn't crash.

ERROR (rna.define): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\makesrna\intern\rna_define.c:1840 RNA_def_property_enum_items: "GrungitProperties.quality", enum identifiers must not contain spaces.

When I switch to the "Grungit" tab in the tools panel, Blender immediately crashes.

ui.jpg

Exact steps for others to reproduce the error
1- Start Blender (factory settings)
2- Install the downloaded zip and enable it.
3- From the tools (n) panel, select the "grungit" tab. Blender crashes immediately.

grungit_dummy.zip

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 **Blender Version** Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-15 22:43, hash: `blender/blender@f06a6e92bc` Worked: 2.82 official, 2.81 official, 2.80 official. **Short description of error** Blender crashes when I click on my add-on tab in the sidebar menu. The add-on in question is "Grungit", my own, but I also got the same error with many other add-ons, including HardOps, BlenderGIS, MeshMachine, and Decal Machine. Sometimes Blender crashes as soon as I open certain files. I included a stripped-down version of my add-on without any actual functionality, just the UI and the properties. It can be used to reproduce the bug with factory settings. The following error is shown as soon as I enable the add-on, but it doesn't crash. ``` ERROR (rna.define): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\makesrna\intern\rna_define.c:1840 RNA_def_property_enum_items: "GrungitProperties.quality", enum identifiers must not contain spaces. ``` When I switch to the "Grungit" tab in the tools panel, Blender immediately crashes. ![ui.jpg](https://archive.blender.org/developer/F8411015/ui.jpg) **Exact steps for others to reproduce the error** 1- Start Blender (factory settings) 2- Install the downloaded zip and enable it. 3- From the tools (n) panel, select the "grungit" tab. Blender crashes immediately. [grungit_dummy.zip](https://archive.blender.org/developer/F8411007/grungit_dummy.zip)

Added subscriber: @AbdouBouam

Added subscriber: @AbdouBouam

blender/blender#74451 was marked as duplicate of this issue

blender/blender#74451 was marked as duplicate of this issue
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Ankit Meel self-assigned this 2020-03-17 09:51:29 +01:00
Member

~~All the addon maintainers should fix the error like https://developer.blender.org/rBAcc237ba4df1bd0ebacbb80086f0cd2f522df1688 ~~
Since they are not supplied by Blender as defaults, bugs should be posted to respective bug trackers. thanks for the report

~~All the addon maintainers should fix the error like https://developer.blender.org/rBAcc237ba4df1bd0ebacbb80086f0cd2f522df1688 ~~ Since they are not supplied by Blender as defaults, bugs should be posted to respective bug trackers. thanks for the report

This issue was referenced by blender/blender@dd416681fb

This issue was referenced by blender/blender@dd416681fbb02274cb0bab55d6e0d00e8addf9c5
Member

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

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

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

The error was caused by a bug in RNA which is fixed with blender/blender@dd416681fb. So using spaces in BPY enum identifiers should be fine again.
No need for the Add-on authors to take action. (Except if they already did, then they can revert the change, doh!).

The error was caused by a bug in RNA which is fixed with blender/blender@dd416681fb. So using spaces in BPY enum identifiers should be fine again. No need for the Add-on authors to take action. (Except if they already did, then they can revert the change, doh!).
Member

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

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

Added subscribers: @dgsantana, @iss

Added subscribers: @dgsantana, @iss
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#74829
No description provided.