First, sorry for my bad english,

I got trouble building in app with pygame.

I run on MacOS X 10.4.11 as advice from pygame i've installed
Python 2.5.2
pygame prebuild package 1.8.0rc5 for python 2.5

I've also installed py2app.

For developping it works fine, but i was not able to build any app with pygame. I've tested some apps from py2app example : it works, but the pygame sample (alien from py2app) break on building...

It happen the same with my own software...
I check all i can, but i'm a beginner and it's my first attemp to build an app.

py2app break on "Graphing ..._numericsndarray.so (ppc)", then traceback the call :

  File "setup.py", line 26, in <module>
    app=[dict(script="microwar.py", plist=plist)],
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/py2app/build_app.py", line 389, in run
    self._run()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/py2app/build_app.py", line 510, in _run
    self.run_normal()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/py2app/build_app.py", line 570, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/py2app/build_app.py", line 672, in create_binaries
    platfiles = mm.run()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachOStandalone.py", line 101, in run
    mm.run_file(fn)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachOGraph.py", line 67, in run_file
    m = MachO(pathname)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachO.py", line 254, in __init__
    self.load()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachO.py", line 287, in load
    self.archs = self.load_fat(fat, fh)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachO.py", line 271, in load_fat archs.append(MachOArch(self.filename, archHeader.offset, endian="<")) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachO.py", line 59, in __init__
    self.load(file(filename, "rb"))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/Py2App/macholib/MachO.py", line 92, in load
    raise ValueError, "Unknown load command: %d" % (cmd_load.cmd,)
ValueError: Unknown load command: 27



--
Pierre-Alain Dorange

Blog Citoyen de Cognac             <http://cognac-citoyen.blogspot.com/>
Le Retour de l'Autruche            <http://www.leretourdelautruche.com/>

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to