mh_phoenix python error

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

mh_phoenix python error

Postby lhz » Sat Feb 14, 2009 5:16 pm

I tried the current phoenix, everything wents fine but...

Code: Select all
some@host:~/MAKEHUMAN/makehuman/trunk/mh_phoenix$ scons
scons: Reading SConscript files ...
Checking for C library python2.5... yes
Checking for C library X11... yes
Checking for C library SDL... yes
Checking for C header file Python.h... yes
Checking for C header file SDL.h... yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/glmodule.o -c -Iinclude -I/usr/include/python2.5 -I/usr/include/GL -I/usr/include -I/usr/include/SDL src/glmodule.c
gcc -o src/gltexture.o -c -Iinclude -I/usr/include/python2.5 -I/usr/include/GL -I/usr/include -I/usr/include/SDL src/gltexture.c
gcc -o src/core.o -c -Iinclude -I/usr/include/python2.5 -I/usr/include/GL -I/usr/include -I/usr/include/SDL src/core.c
gcc -o src/main.o -c -Iinclude -I/usr/include/python2.5 -I/usr/include/GL -I/usr/include -I/usr/include/SDL src/main.c
gcc -o makehuman src/glmodule.o src/gltexture.o src/core.o src/main.o -lpython2.5 -lX11 -lGL -lGLU -lSDL -lpython2.5 -lX11 -lSDL
scons: done building targets.
some@host:~/MAKEHUMAN/makehuman/trunk/mh_phoenix$ ls
3dobjs              compile_src.sh    include         mh_core       SConstruct
algos3d.pyc         config.log        license.txt     mh_icon.bmp   src
aljabr.pyc          data              main.py         MH_Phoenix    utils
compile_module.bat  docs              Makefile.Linux  mh_plugins
compile_src.bat     files3d.pyc       Makefile_osx    module3d.pyc
compile_src_osx.sh  genericutils.pyc  makehuman       os-x
some@host:~/MAKEHUMAN/makehuman/trunk/mh_phoenix$ ./makehuman
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "main.py", line 64, in <module>
    mainScene.startWindow() #Use scene.startWindow(1) to enable animation
AttributeError: Scene3D instance has no attribute 'startWindow'
Could not run main Python script


Am I missing something?
lhz
 
Posts: 3
Joined: Sat Feb 14, 2009 5:12 pm

Re: mh_phoenix python error

Postby Manuel » Wed Feb 25, 2009 11:13 am

It sound weird.
What's your linux distr. ?
Have you updated an existing svn checkout, or it's a fresh one?
To do a quick test, try to compile it using compile_src.sh
Maybe you need to customize it, but it should print more details during compile process.

Keep me informed.

thanks,

Manuel
Manuel
 

Re: mh_phoenix python error

Postby lhz » Thu Feb 26, 2009 12:51 am

Code: Select all
some@machine:~/MAKEHUMAN/makehuman/trunk/mh_phoenix$ svn up
Revision 797.

I am on 64bit Ubuntu 8.10.
compile is fine.

Could it be a problem with PYTHONPATH, e.g. do I have to adapt it?
lhz
 
Posts: 3
Joined: Sat Feb 14, 2009 5:12 pm

Re: mh_phoenix python error

Postby Manuel » Thu Feb 26, 2009 10:53 pm

Unfortunately I've no idea. We develop MH under Windows and under Ubuntu 8.10. The only difference is we have a 32 bit machine...

The error is weird: the startWindow() method in the module3d.py file...
Unfortunately you are the only one that can investigate on it, because we can't reproduce it.
You should try to debug it in intuitive way...

Maybe it's a 64bit issue?
I hope you can investigate further on it, and I'm sorry we cant help you. Anyway I'm asking to some coders that has 64bit too, to try to reproduce it...

A curiosity: we have just realised that scons script was wrong. Do you have fixed it by yourself before use it?

Regards,

Manuel
Manuel
 

Re: mh_phoenix python error

Postby lhz » Fri Feb 27, 2009 5:46 am

First of all, please forget the noise I have made.

A fresh checkout on my laptop (also ubuntu ibex AMD64) compiled nicely (I can imagine some scons-artifacts lying around...I don't want to investigate further).
Attachments
mh.png
recent build (rev 803)
lhz
 
Posts: 3
Joined: Sat Feb 14, 2009 5:12 pm


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: Google [Bot] and 1 guest