Rigify (ui.py) console error, expected str not float. #105216
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105216
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: Mac OS
Graphics card: M1 Max Pro
Blender Version
Broken: 4.1 beta, 4.0.2, 4.0.0
Worked: has always been broken, I just got tired of fixing it locally in my files.
Exact steps for others to reproduce the error
Create a rig that is not rigify with rigify active.
I use autorig pro a lot of the times.
When manipulating the rig, playing, trying to add keys I get the above message spammed in the console.
Original code:
Proposed fix
Original report at: blender/blender#119076
I'm not able to repro this locally but I see no harm in having the explicit conversion if it fixes a issue :)
cc @angavrilov
Sorry I did not create it in the right place. First time reporting.
Yeah same here, when that part of the script runs it will always return an error because the concatenation is not valid with a float. At least on Mac for me.
i can't replicate it in 4.0 MacOS with any non rigify rig. Can't test with ARP because i don't own it. Seems to me related to ARP in this case.
@PratikPB2123 @nacioss Can you please attach a simple file (possibly not created with Auto Rig Pro) to replicate the issue?
Pending an example file that makes it possible for us to reproduce, I'd say this would be my preferred way to fix this:
Using
+
to concatenate strings is rarely necessary, and in this case I feel f-strings produce a more readable result.To be complete, I'd reshuffle the entire function so that it reads more top-to-bottom instead of diagonally:
I have tried to trigger it without Autorig pro installed and tried to provide a test file for this. I have not been successful so far. I will append it if I can reproduce it without the addon installed.