[Pythonmac-SIG] Fwd: Problem with CoreGraphics and py2app
joaoleao at gmx.net
Fri May 23 20:39:59 CEST 2008
Begin forwarded message:
> I'm running Mac OS X 10.5.2 on a G4 MacBook and I didn't install any
> addons in what concerns Python.
> I was happy to see that apple is now including PyObjc and py2app.
> I tried to build applications with py2app from my old CoreGraphics
> scripts (made on 10.4 / python2.3) that used to work ok. py2app
> actually creates the application but when I run it, it unexpectedly
> quits. The Console spits this:
Just to clarify. What unexpectedly quits is the application, not py2app.
> 5/23/08 7:12:19 PM
> [0x0-0x85085].org.pythonmac.unspecified.Teste Fatal Python
> error: Interpreter not initialized (version mismatch?)
> 5/23/08 7:12:36 PM com.apple.launchd
> ([0x0-0x85085].org.pythonmac.unspecified.Test) Exited
> abnormally: Abort trap
> Trying to exclude some error in my script, I tried this with one the
> Apple supplied examples under /Developer/Examples/Quartz/Python/.
> I ran py2app with the following "setup.py" (I chose the example
> from distutils.core import setup
> import py2app
> Incidentally, I discovered that my system isn't finding py2applet too:
> ibook-joao:Desktop joao$ py2applet --make-setup circle.py
> -bash: py2applet: command not found
> Finally, py2app seems to work ok with other scripts that don't use
More information about the Pythonmac-SIG