Theme's "Active Modifier Outline" gives error whilst saving theme #85830

Closed
opened 2021-02-21 00:02:52 +01:00 by Sylwia Ptasinska · 10 comments

Operating system: Manjaro Linux Kernel 5.10.15-1, KDE Plasma 5.20.5
Graphics card: XFX AMD RX 570

Blender Version: 2.93.0 Alpha, 5dced2a063, master, 2021-02-20

Changing color in "Active Modifier Outline" in Themes/Properties works only for current session. Saving theme cause error (I uploaded blender.crash.txt).

Changing a record in theme directly ("properties" -> "ThemeProperties" -> "active_modifier") doesn't show any errors, but to make it to work it has to be activated manually from Preferences after starting each session.

Operating system: Manjaro Linux Kernel 5.10.15-1, KDE Plasma 5.20.5 Graphics card: XFX AMD RX 570 Blender Version: 2.93.0 Alpha, 5dced2a0636a, master, 2021-02-20 Changing color in "Active Modifier Outline" in Themes/Properties works only for current session. Saving theme cause error (I uploaded blender.crash.txt). Changing a record in theme directly ("properties" -> "ThemeProperties" -> "active_modifier") doesn't show any errors, but to make it to work it has to be activated manually from Preferences after starting each session.

Added subscriber: @Eleuth

Added subscriber: @Eleuth
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

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

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

Thanks for the report. I can reproduce the part about the theme not saving properly, the value is reset when the file loads. I'm not quite sure what's going on though, because I also get an error when creating a new theme, even with this RNA property removed

Error: Python: Traceback (most recent call last):
  File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/startup/bl_operators/presets.py", line 134, in execute
    rna_xml.xml_file_write(context,
  File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/modules/rna_xml.py", line 400, in xml_file_write
    rna2xml(fw,
  File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/modules/rna_xml.py", line 81, in rna2xml
    property_typemap = build_property_typemap(skip_classes, skip_typemap)
  File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/modules/rna_xml.py", line 30, in build_property_typemap
    if issubclass(cls, skip_classes):
TypeError: issubclass() arg 1 must be a class
Thanks for the report. I can reproduce the part about the theme not saving properly, the value is reset when the file loads. I'm not quite sure what's going on though, because I also get an error when creating a new theme, even with this RNA property removed ``` Error: Python: Traceback (most recent call last): File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/startup/bl_operators/presets.py", line 134, in execute rna_xml.xml_file_write(context, File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/modules/rna_xml.py", line 400, in xml_file_write rna2xml(fw, File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/modules/rna_xml.py", line 81, in rna2xml property_typemap = build_property_typemap(skip_classes, skip_typemap) File "/home/hans/Documents/Blender-Git/build_linux_debug_lite/bin/2.93/scripts/modules/rna_xml.py", line 30, in build_property_typemap if issubclass(cls, skip_classes): TypeError: issubclass() arg 1 must be a class ```
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
Member

Hi, I'm not able to repro this in 2.93.9 and further releases. Could you check again please?: https://builder.blender.org/download/daily/

Hi, I'm not able to repro this in 2.93.9 and further releases. Could you check again please?: https://builder.blender.org/download/daily/

I checked on version 3.4.1, 2022-12-20 08:50, hash: ef9ca44dee. No problems whatsoever.

I checked on version 3.4.1, 2022-12-20 08:50, hash: ef9ca44dee7f. No problems whatsoever.
Member

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Hans Goudey self-assigned this 2023-01-05 15:54:17 +01:00
Member

Thanks for checking. I'll close this report then.

Thanks for checking. I'll close this report then.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 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#85830
No description provided.