Cannot assign a 'dict' value to the existing 'cloudrig_component' Group IDProperty, when mirroring components of copying on metarig #157
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 11
Blender Version: 4.2.0
CloudRig Version: 2.1.7
Short description of error
When I try to mirror bones' components of the metarig, it gives me this error.
Traceback (most recent call last):
File "C:\Users\danie\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\cloudrig\operators\copy_mirror_components.py", line 62, in execute
num_mirrored += copy_cloudrig_component(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\danie\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\cloudrig\operators\copy_mirror_components.py", line 149, in copy_cloudrig_component
to_bone['cloudrig_component'] = recursive_mirror(param_dict)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: Cannot assign a 'dict' value to the existing 'cloudrig_component' Group IDProperty
Error: Python: Traceback (most recent call last):
File "C:\Users\danie\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\cloudrig\operators\copy_mirror_components.py", line 62, in execute
num_mirrored += copy_cloudrig_component(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\danie\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\cloudrig\operators\copy_mirror_components.py", line 149, in copy_cloudrig_component
to_bone['cloudrig_component'] = recursive_mirror(param_dict)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: Cannot assign a 'dict' value to the existing 'cloudrig_component' Group IDProperty
Also, when copying bone components to selected.
Error: Python: Traceback (most recent call last):
File "C:\Users\danie\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\cloudrig\operators\copy_mirror_components.py", line 115, in execute
num_copied += copy_cloudrig_component(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\danie\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\cloudrig\operators\copy_mirror_components.py", line 151, in copy_cloudrig_component
to_bone['cloudrig_component'] = param_dict
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: Cannot assign a 'dict' value to the existing 'cloudrig_component' Group IDProperty
The components actually mirror most of the times, but with this error message.
Exact steps for others to reproduce the error
Based on the default human metarig or a simplified attached .blend file.
I just tested with the version from this webiste and works fine, 2.1.8. The version I was testing previously was from blender extensions.
Yep, thanks, this was fixed by
68cf229b29
. It was an unintended python API breakage introduced in 4.2 on Blender's side. Might affect other add-ons too, if they try to copy paste their own data.