Page MenuHome

some addons result: ValueError: register_class(...): already registered as a subclass
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 8.1
Graphics card: NVIDIA 740M

Blender Version
Broken: blender-2.80.0-git.84c06e996a7a-windows64
(example: 2.79b release)
(example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional) ?

Short description of error
bad check/uncheck code for some add-ons result in this error:
bpy.utils.register_class(class_["class"])
ValueError: register_class(...): already registered as a subclass
Exact steps for others to reproduce the error
try to check and uncheck some add-ons.
This are the add-ons I find with errors:

  • Oscurart Tools
  • Scatter Objects
  • UV Magic

Based on the default startup or an attached .blend file (as simple as possible).

Event Timeline

Jacques Lucke (JacquesLucke) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

Please create another report for the UV Magic addon. This should be handled by @Nutti (Nutti).

This bug should solve the task is about the error:

  • how to take the error by the Blender 3D software when add bad add-on and respond into correct way and depends by development team.
ValueError: register_class(...): already registered as a subclass

Basic rule: Any software cannot have output an error for a designed task.

@Cătălin George Feștilă (mythcat)

I committed the newest codes of Magic UV.

https://developer.blender.org/rBA48c4cad2c4211c52f71f5ab39b94538608ecd90e

From my environment, it works fine.
If you still have problem, please create new report.

@Jacques Lucke (JacquesLucke)

Thanks for refering me to this issue.

As far as I can tell this is fully solved now.