Rigify reports error when applying a different parent space #105241

Closed
opened 2024-03-18 13:07:43 +01:00 by Keith Boshoff · 1 comment
Member

Blender Version
Broken: 4.1 RC, 4.2 Alpha
Worked: 4.0.*

** Issue **
When trying to change an IK parent space:
image

The follow error is reported:
Traceback (most recent call last):
File "", line 692, in execute
File "", line 653, in bake_apply_state
File "", line 1380, in apply_frame_state
File "", line 294, in set_transform_from_matrix
File "", line 146, in keyframe_transform_properties
File "", line 139, in keyframe_channels
ValueError: bpy_struct.keyframe_insert(): 'INSERTKEY_XYZ_TO_RGB' not found in ('INSERTKEY_NEEDED', 'INSERTKEY_VISUAL', 'INSERTKEY_REPLACE', 'INSERTKEY_AVAILABLE', 'INSERTKEY_CYCLE_AWARE')
Error: Exception: bpy_struct.keyframe_insert(): 'INSERTKEY_XYZ_TO_RGB' not found in ('INSERTKEY_NEEDED', 'INSERTKEY_VISUAL', 'INSERTKEY_REPLACE', 'INSERTKEY_AVAILABLE', 'INSERTKEY_CYCLE_AWARE')

Exact steps for others to reproduce the error

  • Download the attached Blend file
  • Select the hand
  • Click Apply Parent Switch To Keyframes image
  • Select any parent space to switch to
  • Error is shown
**Blender Version** Broken: 4.1 RC, 4.2 Alpha Worked: 4.0.* ** Issue ** When trying to change an IK parent space: ![image](/attachments/ca915cd8-fd2f-43eb-afcc-179a69714bbe) The follow error is reported: Traceback (most recent call last): File "<string>", line 692, in execute File "<string>", line 653, in bake_apply_state File "<string>", line 1380, in apply_frame_state File "<string>", line 294, in set_transform_from_matrix File "<string>", line 146, in keyframe_transform_properties File "<string>", line 139, in keyframe_channels ValueError: bpy_struct.keyframe_insert(): 'INSERTKEY_XYZ_TO_RGB' not found in ('INSERTKEY_NEEDED', 'INSERTKEY_VISUAL', 'INSERTKEY_REPLACE', 'INSERTKEY_AVAILABLE', 'INSERTKEY_CYCLE_AWARE') Error: Exception: bpy_struct.keyframe_insert(): 'INSERTKEY_XYZ_TO_RGB' not found in ('INSERTKEY_NEEDED', 'INSERTKEY_VISUAL', 'INSERTKEY_REPLACE', 'INSERTKEY_AVAILABLE', 'INSERTKEY_CYCLE_AWARE') **Exact steps for others to reproduce the error** - Download the attached Blend file - Select the hand - Click Apply Parent Switch To Keyframes ![image](/attachments/ca915cd8-fd2f-43eb-afcc-179a69714bbe) - Select any parent space to switch to - Error is shown
Keith Boshoff added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-03-18 13:07:44 +01:00

This is clearly caused by a breaking python API change in blender/blender#115297

This is clearly caused by a breaking python API change in https://projects.blender.org/blender/blender/pulls/115297
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2024-03-18 14:53:34 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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-addons#105241
No description provided.