Can not change the pose

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

Can not change the pose

Postby ttiger11 » Thu Mar 03, 2016 3:58 am

Hi all!

I'm using MH 1.1.0 version on the Debian Wheezy system. It's an old laptop.
When I try to change the pose nothing happens.
Error repeats for both debian dist and git stable versions( followed this guide and changed from default to stable http://www.makehumancommunity.org/wiki/ ... e_clone%3F).

Here is the error log:
Code: Select all
showing task Pose
Automatically guessed coordinate system for BVH file data/poses/fight02.bvh (Z-up)
Scaling animation fight02 with factor 0.977207375823
Updating baked animation fight02 (1 frames)
Exception during event onFileSelected
Traceback (most recent call last):
  File "./core/events3d.py", line 212, in callEvent
    method(event)
  File "plugins/3_libraries_pose.py", line 93, in onFileSelected
    gui3d.app.do(PoseAction("Change pose", self, self.currentPose, filename))
  File "./core/mhmain.py", line 857, in do
    if action.do():
  File "plugins/3_libraries_pose.py", line 65, in do
    self.library.loadPose(self.after)
  File "plugins/3_libraries_pose.py", line 164, in loadPose
    self.human.setPosed(True)
  File "./apps/human.py", line 1370, in setPosed
    animation.AnimatedMesh.setPosed(self, posed)
  File "./shared/animation.py", line 991, in setPosed
    self.refreshPose(updateIfInRest=True)
  File "./apps/human.py", line 1388, in refreshPose
    super(Human, self).refreshPose(updateIfInRest)
  File "./shared/animation.py", line 1115, in refreshPose
    self._pose(syncSkeleton=syncSkeleton)
  File "./shared/animation.py", line 1047, in _pose
    poseState = self.getPoseState()
  File "./shared/animation.py", line 1025, in getPoseState
    poseState = self.__currentAnim.getAtTime(self.__playTime, noBake)
  File "./shared/animation.py", line 187, in getAtTime
    return data[idx:idx+self.nBones]
IndexError: failed to coerce slice entry of type float to integer


Thank you!
ttiger11
 
Posts: 2
Joined: Thu Mar 03, 2016 3:41 am

Re: Can not change the pose

Postby joepal » Thu Mar 03, 2016 9:26 am

Thanks. I've reposted this on the bug tracker: http://bugtracker.makehumancommunity.org/issues/997
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Re: Can not change the pose

Postby duststorm » Thu Mar 03, 2016 9:29 am

I can't reproduce this.
Can you post the entire log file?
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Can not change the pose

Postby duststorm » Thu Mar 03, 2016 9:34 am

Actually, the only thing I can imagine is that something would be wrong with that pose file.
Could you perhaps attach that pose file (fight02.bvh) so we can check?

Edit: might be it's fixed (since I cannot reproduce it I cannot test)
Could you check whether the latest version works?
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Can not change the pose

Postby ttiger11 » Thu Mar 03, 2016 1:25 pm

Thank you for the replies!

I've updated to the latest version (it made 2 changes to 1 file) and poses are working! The bug can be closed.
Probably did incorrect install yesterday.

Thank you,
Cheers
ttiger11
 
Posts: 2
Joined: Thu Mar 03, 2016 3:41 am

Re: Can not change the pose

Postby duststorm » Thu Mar 03, 2016 5:00 pm

It might have been a bug on a specific combination of libraries and system configuration.
You made me spot something that could potentially be a problem, and I fixed that. So thank you :)
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest