Hi, Sorry was ill some time. Couldn't reply sooner.
Am 17.02.2011 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 ? Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. py2app-0.5.2-py2.6.egg wx-2.8-mac-unicode MaxOS 10.6.6 >> The logs show that import wx doesn't work. > > can you build a really, really simple wx app? (see enclosed) > >> What am i missing. > > I'm not sure, but you do have something extra: > > CFBundleIdentifier = > "com.acf.vereinsverwaltung", > ) > ,'packages': 'wx' > > you don't need to specify the wx package -- if there is an "import wx" in your > code, py2app will find it. > > > ,'site_packages': True > > And I don't remember what this does -- try taking it out and see what you get. Doesn't change the problem. Still can't run the app. I have the loglines attached. Regards Estartu -- ---------------------------------------------------------------------------- Gerhard Schmidt | http://www.augusta.de/~estartu/ | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | JabberID: esta...@augusta.de | auf Anfrage/ Tel: 08232 77 36 4 | IRCNET: Estartu | on request Fax: 08232 77 36 3 | |
28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] Traceback (most recent call last): 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "/Users/Estartu/projekte/acf/vereinsverwaltung/dist/ACFVereinsverwaltung.app/Contents/Resources/__boot__.py", line 31, in <module> 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] _run('start.py') 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "/Users/Estartu/projekte/acf/vereinsverwaltung/dist/ACFVereinsverwaltung.app/Contents/Resources/__boot__.py", line 28, in _run 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] execfile(path, globals(), globals()) 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "/Users/Estartu/projekte/acf/vereinsverwaltung/dist/ACFVereinsverwaltung.app/Contents/Resources/start.py", line 4, in <module> 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] import wx 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "wx/__init__.pyc", line 45, in <module> 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "wx/_core.pyc", line 4, in <module> 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "wx/_core_.pyc", line 18, in <module> 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] File "wx/_core_.pyc", line 15, in __load 28.02.11 10:33:07 [0x0-0xe20e2].com.acf.vereinsverwaltung[2903] ImportError: '/usr/lib/python2.6/lib-dynload/wx/_core_.so' not found 28.02.11 10:33:07 Vereinsverwaltung[2903] ACFVereinsverwaltung Error 28.02.11 10:33:07 Vereinsverwaltung[2903] ACFVereinsverwaltung Error
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