Cannot Save New Theme Preset #85915

Closed
opened 2021-02-23 10:05:37 +01:00 by Ari Sea · 6 comments

System Information
Operating system: macOS-10.14.6-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R 9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.11.23

Blender Version
Broken: version:

  • 2.93.0 Alpha, branch: master (modified), commit date: 2021-02-23 05:33, hash: bfb2e87a9e
    Worked: version:
  • 2.93.0 Alpha, branch: master, commit date: 2021-02-12 22:08, hash: 1065b413ed
  • 2.92 Beta

Short description of error
As the title says, I am unable to save a new theme preset. Though I am able to use and modify existing ones (without saving, of course)
Here's the terminal output

Writing Preset: '/Users/[USERNAME]/Library/Application Support/Blender/2.93/scripts/presets/interface_theme/looksnice_v2.xml'
Python: Traceback (most recent call last):

File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/startup/bl_operators/presets.py", line 134, in execute
rna_xml.xml_file_write(context,
File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 400, in xml_file_write
rna2xml(fw,
File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 81, in rna2xml
property_typemap = build_property_typemap(skip_classes, skip_typemap)
File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/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

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):

File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/startup/bl_operators/presets.py", line 134, in execute
rna_xml.xml_file_write(context,
File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 400, in xml_file_write
rna2xml(fw,
File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 81, in rna2xml
property_typemap = build_property_typemap(skip_classes, skip_typemap)
File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/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

location: <unknown location>:-1

Exact steps for others to reproduce the error

  • Open Preferences > Themes
  • Click the "Add Theme Preset" button
**System Information** Operating system: macOS-10.14.6-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon R 9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.11.23 **Blender Version** Broken: version: - 2.93.0 Alpha, branch: master (modified), commit date: 2021-02-23 05:33, hash: `bfb2e87a9e` Worked: version: - 2.93.0 Alpha, branch: master, commit date: 2021-02-12 22:08, hash: `1065b413ed` - 2.92 Beta **Short description of error** As the title says, I am unable to save a new theme preset. Though I am able to use and modify existing ones (without saving, of course) Here's the [terminal output ](https://pastebin.com/fbpHTFjR) ```lines Writing Preset: '/Users/[USERNAME]/Library/Application Support/Blender/2.93/scripts/presets/interface_theme/looksnice_v2.xml' Python: Traceback (most recent call last): ``` File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/startup/bl_operators/presets.py", line 134, in execute rna_xml.xml_file_write(context, File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 400, in xml_file_write rna2xml(fw, File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 81, in rna2xml property_typemap = build_property_typemap(skip_classes, skip_typemap) File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/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 location: <unknown location>:-1 Error: Python: Traceback (most recent call last): ``` File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/startup/bl_operators/presets.py", line 134, in execute rna_xml.xml_file_write(context, File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 400, in xml_file_write rna2xml(fw, File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/2.93/scripts/modules/rna_xml.py", line 81, in rna2xml property_typemap = build_property_typemap(skip_classes, skip_typemap) File "/Users/[USERNAME]/OpenSource/blender-git/build_alpha_darwin/bin/Blender.app/Contents/Resources/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 location: <unknown location>:-1 ``` **Exact steps for others to reproduce the error** - Open Preferences > Themes - Click the "Add Theme Preset" button
Author

Added subscriber: @PhlixFer

Added subscriber: @PhlixFer

Added subscribers: @ideasman42, @rjg

Added subscribers: @ideasman42, @rjg

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

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

If I haven't made a mistake bisecting the issue appears to have been introduced by commit dc61a63e3f @ideasman42

If I haven't made a mistake bisecting the issue appears to have been introduced by commit dc61a63e3f @ideasman42

This issue was referenced by 0c0553ace7

This issue was referenced by 0c0553ace7b31107ba03952e013d802a5f6b1f35

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2021-02-24 13:40:25 +01:00
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
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#85915
No description provided.