Bug Report: SLender v0.2.1 fails
Bug Report: SLender v0.2.1 fails to register in Blender 5.0 on Ubuntu
Hello Beq, I am having trouble activating SLender v0.2.1 in Blender 5.0 on Ubuntu Linux. The add-on fails during registration with an AttributeError involving `_RestrictData` and `bpy.data.scenes`. I have the complete Python traceback. Could I send you the bug report as a notecard? Thank you!
Ich wollte „Beq Janus“ eine E-Mail schreiben, ohne bei GitHub einen Account anlegen zu müssen, fand aber keine Adresse. Also musste ich seinem Avatar direkt in Secondlife eine Nachricht schreiben… Wohl dem, der einen Avatar hat! (Und die Ai, um Bug Reports zu schreiben.)
First error
Exception in module register():
/home/burks/.config/blender/5.0/extensions/user_default/slender/__init__.py
Traceback (most recent call last):
File "/usr/lib/blender/scripts/modules/addon_utils.py", line 515, in enable
mod.register()
File ".../slender/__init__.py", line 134, in register
register_auto_export()
File ".../slender/services.py", line 1024, in register_auto_export
if any_auto_export_scene_enabled():
File ".../slender/services.py", line 643, in any_auto_export_scene_enabled
return any(auto_export_scene_enabled(scene) for scene in bpy.data.scenes)
AttributeError: '_RestrictData' object has no attribute 'scenes'
Second error, after attempting to enable the extension again:
ValueError: register_class(...):
already registered as a subclass 'SLENDERAssetListItem'
File ".../slender/__init__.py", line 128, in register
_recover_stale_registration()
File ".../slender/rename_monitor.py", line 501,
in unregister_rename_monitor
clear_prompt_queue()
File ".../slender/rename_monitor.py", line 82,
in clear_prompt_queue
for obj in bpy.data.objects:
AttributeError: '_RestrictData' object has no attribute 'objects'
Possible cause: It appears that SLender accesses bpy.data.scenes during add-on registration, when Blender restricts access to scene data through _RestrictData.
The subsequent registration error may result from an incomplete cleanup after the first failed attempt.
Expected behavior: SLender should register and activate successfully in Blender 5.0.
Actual behavior: The extension cannot be enabled. Restarting Blender and attempting to activate it again produces the same errors.
Could you please check whether this is a known compatibility issue with Blender 5.0, and whether a fix or workaround is available?
I would particularly like to use SLender for managing LOD levels and exporting mesh objects to Second Life through Firestorm.
Thank you for your work on this project!
Kommentare
Schreibe einen Kommentar



















