Bug 2356293 - [abrt] blender: draw(): space_view3d_toolbar.py:1014:draw:TypeError: bpy_struct: item.attr = val: UILayout.active expected True/False or 0/1, not NoneType
Summary: [abrt] blender: draw(): space_view3d_toolbar.py:1014:draw:TypeError: bpy_stru...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:268d03d0b7da4cb4c6e0e5c1958...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-31 19:20 UTC by kartochka378
Modified: 2025-04-05 05:47 UTC (History)
7 users (show)

Fixed In Version: 4.4.0-3
Clone Of:
Environment:
Last Closed: 2025-04-05 05:47:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (781 bytes, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
File: environ (2.30 KB, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
File: mountinfo (3.46 KB, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
File: open_fds (5.44 KB, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
File: namespaces (171 bytes, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
File: backtrace (894 bytes, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
File: cpuinfo (3.20 KB, text/plain)
2025-03-31 19:20 UTC, kartochka378
no flags Details
Test case: 2D animation in Blender 4.4.0 (3.06 MB, image/png)
2025-04-04 03:35 UTC, Luya Tshimbalanga
no flags Details

Description kartochka378 2025-03-31 19:20:25 UTC
Description of problem:
enter sculpt mode, trying to play with current brush, nothing happens at all (cursor does not change to 3d brush,just default arrow, nothing as it is not sculpt but just usual 3d editor mode), trying to select dfferent brushes, pust some random buttons,  like unroll combo lists in property window at right side, abrt report pop up.

Version-Release number of selected component:
blender-1:4.3.2-5.fc42

Additional info:
reporter:       libreport-2.17.15
kernel:         6.14.0-63.fc42.x86_64
cmdline:        /usr/bin/blender
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-blender-8760.scope
uid:            1000
reason:         space_view3d_toolbar.py:1014:draw:TypeError: bpy_struct: item.attr = val: UILayout.active expected True/False or 0/1, not NoneType
executable:     /usr/bin/blender
type:           Python3
package:        blender-1:4.3.2-5.fc42
runlevel:       N 5
exception_type: TypeError
crash_function: draw
interpreter:    blender-4.3.2-5.fc42.x86_64
comment:        enter sculpt mode, trying to play with current brush, nothing happens at all (cursor does not change to 3d brush,just default arrow, nothing as it is not sculpt but just usual 3d editor mode), trying to select dfferent brushes, pust some random buttons,  like unroll combo lists in property window at right side, abrt report pop up.

Truncated backtrace:
space_view3d_toolbar.py:1014:draw:TypeError: bpy_struct: item.attr = val: UILayout.active expected True/False or 0/1, not NoneType

Traceback (most recent call last):
  File "/usr/share/blender/4.3/scripts/startup/bl_ui/space_view3d_toolbar.py", line 1014, in draw
    sub.active = (brush and brush.sculpt_tool != 'MASK')
    ^^^^^^^^^^
TypeError: bpy_struct: item.attr = val: UILayout.active expected True/False or 0/1, not NoneType

Local variables in innermost frame:
self: bpy.data.screens['Sculpting']...VIEW3D_PT_sculpt_dyntopo
context: bpy.data.scenes['Scene']...Context
layout: bpy.data.screens['Sculpting']...UILayout
tool_settings: bpy.data.scenes['Scene'].tool_settings
sculpt: bpy.data.scenes['Scene'].tool_settings.sculpt
settings: bpy.data.scenes['Scene'].tool_settings.sculpt
brush: None
col: bpy.data.screens['Sculpting']...UILayout
sub: bpy.data.screens['Sculpting']...UILayout

Comment 1 kartochka378 2025-03-31 19:20:29 UTC
Created attachment 2082845 [details]
File: os_info

Comment 2 kartochka378 2025-03-31 19:20:30 UTC
Created attachment 2082846 [details]
File: environ

Comment 3 kartochka378 2025-03-31 19:20:32 UTC
Created attachment 2082847 [details]
File: mountinfo

Comment 4 kartochka378 2025-03-31 19:20:33 UTC
Created attachment 2082848 [details]
File: open_fds

Comment 5 kartochka378 2025-03-31 19:20:35 UTC
Created attachment 2082849 [details]
File: namespaces

Comment 6 kartochka378 2025-03-31 19:20:36 UTC
Created attachment 2082850 [details]
File: backtrace

Comment 7 kartochka378 2025-03-31 19:20:37 UTC
Created attachment 2082851 [details]
File: cpuinfo

Comment 8 Luya Tshimbalanga 2025-04-04 03:34:32 UTC
Can you test https://bodhi.fedoraproject.org/updates/FEDORA-2025-13d9605fa0 to see if the brushes work?

Comment 9 Luya Tshimbalanga 2025-04-04 03:35:49 UTC
Created attachment 2083372 [details]
Test case: 2D animation in Blender 4.4.0

Demo showing 2D animation screen with brushes

Comment 10 kartochka378 2025-04-05 00:15:30 UTC
I upadted to recent fedora 42 testing and blender3d ( blender-4.4.0-3.fc42 ) work very well, double checked sculpting mode, as many other workspaces, no glitches at all.

Comment 11 Luya Tshimbalanga 2025-04-05 05:47:08 UTC
Thank you for confirming blender 4.4.0-3 addresses the issues. Let's close this report.


Note You need to log in before you can comment on or make changes to this bug.