Crash while loading mocap

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Crash while loading mocap

Postby joepal » Tue Feb 22, 2011 8:37 pm

I was amusing myself with trying to follow the how-to-make-a-movie PDF, but at the step of retarget/simplify the BVH file I get a crash:

Load and retarget /export/tmp/bvh/Female1_B03_Walk1.bvh
/export/tmp/bvh/Female1_B03_Walk1.bvh
Loading BVH file /export/tmp/bvh/Female1_B03_Walk1.bvh
Bones ['Root', 'Spine1', 'Spine2', 'Spine3', 'Neck', 'Head', 'Shoulder_L', 'UpArm_L', 'LoArm_L', 'Hand_L', 'Shoulder_R', 'UpArm_R', 'LoArm_R', 'Hand_R', 'UpLeg_L', 'LoLeg_L', 'Foot_L', 'Toe_L', 'UpLeg_R', 'LoLeg_R', 'Foot_R', 'Toe_R']
Traceback (most recent call last):
File "/usr/local/blender25/2.56/scripts/addons/space_view3d_mhx_mocap.py", line 2548, in execute
loadRetargetSimplify(context, self.properties.filepath)
File "/usr/local/blender25/2.56/scripts/addons/space_view3d_mhx_mocap.py", line 2529, in loadRetargetSimplify
(srcRig, action) = importAndRename(context, filepath)
File "/usr/local/blender25/2.56/scripts/addons/space_view3d_mhx_mocap.py", line 1232, in importAndRename
rig = readBvhFile(context, filepath, context.scene)
File "/usr/local/blender25/2.56/scripts/addons/space_view3d_mhx_mocap.py", line 197, in readBvhFile
guessTargetArmature(trgRig)
File "/usr/local/blender25/2.56/scripts/addons/space_view3d_mhx_mocap.py", line 966, in guessTargetArmature
raise NameError("Did not recognize target armature")
NameError: Did not recognize target armature


Blender is latest graphicall, MH is revision 2048 (which is also the revision used to export the character). MHX in blender is the one which came with the graphicall dist. space_view3d_mhx_mocap.py is symlinked so it points at the file in the MH dist. When importing the character I had armatures checked, but not proxies or cage, if that makes any difference.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: Crash while loading mocap

Postby ThomasL » Wed Feb 23, 2011 8:04 am

Strange. I tested with an character exported from MH r2051 and imported into Blender r34840. It imports the animation fine; especially, it says Target armature 1 where you get an error. Make sure that you have the latest version of the mocap tool, from around Feb 20. I have not been very good at updating version numbers, so it is not enough to just check that.

A curiosity is that the armature must be visible for the mocap tool to work. You can hide the armature or its layer (i.e. layer 2) afterwards, but there is some operator-related error if it is not visible when the animation is imported.
ThomasL
 
Posts: 1139
Joined: Tue Sep 15, 2009 2:46 am

Re: Crash while loading mocap

Postby joepal » Wed Feb 23, 2011 8:50 am

Does it matter if the armature is in object mode or pose mode?

I'm gonna repeat the entire chain and update everything tonight and see what I did wrong. :)
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: Crash while loading mocap

Postby joepal » Fri Feb 25, 2011 11:06 am

Hm. This time when I imported and ran the steps it worked. I don't know what the hell I had managed to click last time.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 14 guests