Rigify metarig creating errors on Generate Rig, fails to complete process of rig creation #53842
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#53842
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?
.blend containing only a rig that fails generation: (old link but put here also - see below http://www.mediafire.com/file/6gerhnxg6tjqdsr/brokenrig.blend .
brokenrig.blend
I've tried to clean up the file as much as I could to try to figure out what was going on, but it was originally a model file.
Metarig bones have only had their positions changed (head and tail), using grab, rotate, and scale.
Blender 2.79 and Rigify bundled with that Blender build. Win 10.
Traceback (most recent call last):
AttributeError: 'NoneType' object has no attribute 'keys'
location: :-1
To reproduce: just hit "generate rig" button.
Deleting every bone above and including spine.005 gives a generatable skeleton. Replacing these bones with bones separated from a freshly generated metarig also makes a generatable skeleton. Can't seem to localize the problem any more than that.
Haven't been able to find any info on "things not to do when placing Rigify bones" so forgive me if this is some kind of user error. I could easily imagine Rigify generating zero-length bones in some circumstances that caused errors. (Here, though, I'm pretty sure I'm maintaining the relative shape of the Rigify skeleton.) I've been running into a lot of errors, figure I must be doing something wrong.
Added subscriber: @vasiln
Added subscribers: @LucioRossi, @lichtwerk
can confirm this, but not familiar with rigify. @LucioRossi, could you have a look?
This comment was removed by @lichtwerk
Hi @vasiln ,
There is a (supposedly) leftover property on the following bones:
spine.005
spine.006
several bones of the face ( but not all of them)
The name of the property is mmd_bone. For some reason the function
rna_idprop_ui_prop_get()
fails to get this property.This shouldn't happen since if I create a custom property on eg a spine bone of the standard human I don't have problems generating.
I figured out how to reproduce the problem though. If you go to the Python console and manually add a key to a posebone like so:
>>> C.selected_pose_bones- [x]["mmd_bone"] = {}
You get a "property" set on the bone (check the N panel) and the same exception after hitting [Generate]
Did you do something like this? (which is not the right way of defining custom properties btw)
I suggest you either get rid of that prop or define it from scratch.
Changed status from 'Open' to: 'Archived'
@LucioRossi
Thanks. That's from another add-on (that shouldn't be messing with anything in this case, but apparently is.) I'll contact the developer of that add-on and reference this thread, let them know what's going on.
Added subscriber: @BorjaSaurus
Same thing happened to me a few minutes ago.
I think my mistake was I had another active Collection selected in the outliner.
I also had some bones in another collection and deleted them just in case.
The error disappeared and my metarig was created succesfully.
So try selecting the Mesh you wanna rigify in the outliner, not in the viewport.
Hope that helps.
Added subscriber: @djewett85
there were two extra bones in the head and neck. i deleted both and named the ones still there properly to head and neck and the rig generated for me.
Added subscriber: @hamza_alavi
Generation has thrown an exception: list index out of range
my thing is giving this error,can anyone help me with it