Syntax Eror when running makeposetarget.blend

MakeHuman python API, python plugins, etc

Moderator: joepal

Syntax Eror when running makeposetarget.blend

Postby cooldave22 » Wed Nov 23, 2011 1:16 am

Code: Select all
File "C:\Users\mee\Downloads\makehuman\makeposetarget.blend\makeposetarget.py", line 88
       print "ROTATION TIME", time.time()-a

^

SyntaxError: invalid syntax
location<unknown location>:-1
Python script fail, look in the console for now...


Well i've gotten this far without clear documentation, I unziped the makeposetarget.blend into the folder started it up and was going to try to run the script
so that I could generate a target and I get this error now,

I tried to put a # in front of the #print "rotation", time.time()-a but then other errors come up

does anyone know how to fix this? and is this what I'm supposed to do in order to make my own targets? :P

I'm using 1.0 Alpha 6.0 a nightly build I got 2 days ago I think.
cooldave22
 
Posts: 5
Joined: Tue Nov 22, 2011 12:15 am

Re: Syntax Eror when running makeposetarget.blend

Postby cooldave22 » Wed Nov 23, 2011 2:02 am

could this be a nightly build error only?
cooldave22
 
Posts: 5
Joined: Tue Nov 22, 2011 12:15 am

Re: Syntax Eror when running makeposetarget.blend

Postby Pyrophorus » Fri Nov 25, 2011 11:13 am

Hi !
I have the same problem with the same instruction 'print' in another script. I think it's a python version problem (print "anything =",1 works in python 2.6 and not in blender console v 3.2).

LS
Pyrophorus
 
Posts: 15
Joined: Fri Oct 28, 2011 9:21 am

Re: Syntax Eror when running makeposetarget.blend

Postby mflerackers » Fri Nov 25, 2011 11:21 am

You need to use maketarget_b25x.py as is written here https://sites.google.com/site/makehuman ... ender-2-6x
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest