Am 17.02.11 18:12, schrieb Christopher Barker: > On 2/17/11 2:05 AM, Gerhard Schmidt wrote: >> Hi, >> >> i try to generate an app from a wxPython project. >> >> Generation the App runs without an error. But when i try to start the >> App it terminates. > > versions of python (and which binary install), py2app, wxPython, OS-X ? > >> The logs show that import wx doesn't work. > > can you build a really, really simple wx app? (see enclosed)
calling python basicwx.py from terminal works after setting VERSIONER_PYTHON_PREFER_32_BIT=yes maybe thats the problem. Is there a way to force py2app to chose the 32 bit version or to set the env accordlingly buiold the app works, starting doesn't. console logs the following 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] Traceback (most recent call last): 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] File "/Users/Estartu/Desktop/test/dist/basicwx.app/Contents/Resources/__boot__.py", line 103, in <module> 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] _argv_emulation() 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] File "/Users/Estartu/Desktop/test/dist/basicwx.app/Contents/Resources/__boot__.py", line 101, in _argv_emulation 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] _get_argvemulator().mainloop() 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] File "/Users/Estartu/Desktop/test/dist/basicwx.app/Contents/Resources/__boot__.py", line 40, in mainloop 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] stoptime = Evt.TickCount() + timeout 28.02.11 10:41:27 [0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946] AttributeError: 'module' object has no attribute 'TickCount' 28.02.11 10:41:28 basicwx[2946] basicwx Error 28.02.11 10:41:28 basicwx[2946] basicwx Error 28.02.11 10:41:35 com.apple.launchd.peruser.502[693] ([0x0-0xe70e7].org.pythonmac.unspecified.basicwx[2946]) Exited with exit code: 255 28.02.11 10:41:59 com.apple.launchd.peruser.502[693] ([0x0-0xe80e8].org.python.buildapplet[2953]) Exited: Killed Regards Estartu -- ---------------------------------------------------------------------------- Gerhard Schmidt | Nick : estartu IRC : Estartu | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | Privat: esta...@augusta.de | auf Anfrage/ Tel: 08232 77 36 4 | Dienst: schm...@ze.tu-muenchen.de | on request Fax: 08232 77 36 3 | |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG