Cloud rig individual addon register issue #128

Closed
opened 2024-02-02 02:26:04 +01:00 by testblenderdrive · 7 comments
testblenderdrive commented 2024-02-02 02:26:04 +01:00 (Migrated from gitlab.com)

I have this issue during installation of the addon. I am not sure I downloaded the correct working version.

  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable
    mod.register()
  File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\__init__.py", line 89, in register
    register_unregister_modules(modules, True)
  File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\__init__.py", line 77, in register_unregister_modules
    register_unregister_modules(m.modules, register)
  File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\__init__.py", line 80, in register_unregister_modules
    m.register()
  File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 1038, in register
    register_hotkey(
  File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloudrig.py", line 2969, in register_hotkey
    for existing_kmi in bpy.types.CLOUDRIG_PT_hotkeys.keymap_items:
AttributeError: 'module' object has no attribute 'CLOUDRIG_PT_hotkeys'```
I have this issue during installation of the addon. I am not sure I downloaded the correct working version. ```Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable mod.register() File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\__init__.py", line 89, in register register_unregister_modules(modules, True) File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\__init__.py", line 77, in register_unregister_modules register_unregister_modules(m.modules, register) File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\__init__.py", line 80, in register_unregister_modules m.register() File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 1038, in register register_hotkey( File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloudrig.py", line 2969, in register_hotkey for existing_kmi in bpy.types.CLOUDRIG_PT_hotkeys.keymap_items: AttributeError: 'module' object has no attribute 'CLOUDRIG_PT_hotkeys'```
testblenderdrive commented 2024-02-02 02:26:50 +01:00 (Migrated from gitlab.com)

changed the description

changed the description
testblenderdrive commented 2024-02-02 02:40:04 +01:00 (Migrated from gitlab.com)

Also I found this issue with collection_all -> collection?

self.copy_bone_collections(src=metarig, target=self.target_rig) File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 536, in copy_bone_collections for src_coll in src.data.collections_all: AttributeError: 'Armature' object has no attribute 'collections_all'

Also I found this issue with collection_all -> collection? ` self.copy_bone_collections(src=metarig, target=self.target_rig) File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 536, in copy_bone_collections for src_coll in src.data.collections_all: AttributeError: 'Armature' object has no attribute 'collections_all'`
testblenderdrive commented 2024-02-02 02:48:31 +01:00 (Migrated from gitlab.com)

I am not sure why cloudrig info was not found

File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 543, in copy_bone_collections tgt_coll['cloudrig_info'] = src_coll['cloudrig_info'].to_dict() KeyError: 'bpy_struct[key]: key "cloudrig_info" not found'

I am not sure why cloudrig info was not found `File "C:\Users\testb\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 543, in copy_bone_collections tgt_coll['cloudrig_info'] = src_coll['cloudrig_info'].to_dict() KeyError: 'bpy_struct[key]: key "cloudrig_info" not found'`
testblenderdrive commented 2024-02-02 02:49:26 +01:00 (Migrated from gitlab.com)

changed the description

changed the description
GeneralLuminescent commented 2024-02-22 07:27:15 +01:00 (Migrated from gitlab.com)

That's only actually suppose to work in the daily build of Blender, @testblenderdrive. However, I'm still getting that same exact issue regardless.

Traceback (most recent call last):
  File "C:\Programs\Blender\daily\blender-4.1.0-beta+v41.a3ffb51da6c5-windows.amd64-release\4.1\scripts\modules\addon_utils.py", line 444, in enable
    mod.register()
  File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\__init__.py", line 89, in register
    register_unregister_modules(modules, True)
  File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\__init__.py", line 77, in register_unregister_modules
    register_unregister_modules(m.modules, register)
  File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\__init__.py", line 80, in register_unregister_modules
    m.register()
  File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 1045, in register
    register_hotkey(
  File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\generation\cloudrig.py", line 2985, in register_hotkey
    for existing_kmi in bpy.types.CLOUDRIG_PT_hotkeys.keymap_items:
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'module' object has no attribute 'CLOUDRIG_PT_hotkeys'
That's only actually suppose to work in the daily build of Blender, @testblenderdrive. However, I'm still getting that same exact issue regardless. ``` Traceback (most recent call last): File "C:\Programs\Blender\daily\blender-4.1.0-beta+v41.a3ffb51da6c5-windows.amd64-release\4.1\scripts\modules\addon_utils.py", line 444, in enable mod.register() File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\__init__.py", line 89, in register register_unregister_modules(modules, True) File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\__init__.py", line 77, in register_unregister_modules register_unregister_modules(m.modules, register) File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\__init__.py", line 80, in register_unregister_modules m.register() File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\generation\cloud_generator.py", line 1045, in register register_hotkey( File "C:\Users\<UserNameOmit>\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CloudRig-individual_addon\generation\cloudrig.py", line 2985, in register_hotkey for existing_kmi in bpy.types.CLOUDRIG_PT_hotkeys.keymap_items: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'module' object has no attribute 'CLOUDRIG_PT_hotkeys' ```
testblenderdrive commented 2024-02-27 01:23:04 +01:00 (Migrated from gitlab.com)

thank you for your answer.

thank you for your answer.

These should all be fixed by now throughout the 4.1 headache period (when Blender was constantly changing the API under my feet based on my own feedback), thanks.

These should all be fixed by now throughout the 4.1 headache period (when Blender was constantly changing the API under my feet based on my own feedback), thanks.
Sign in to join this conversation.
No description provided.