[Pythonmac-SIG] Py2APP App Won't Run After Build
Mike
smartmike1 at gmail.com
Sun May 23 04:35:28 CEST 2010
Hi,
I built my program with py2app thew standard way. py2applet --make-setup zgp.py then python setup.py py2app. As far as external packages I'm using WXPython, PyGame, and Pyttsx. I think the error is something related to Pyttsx. Here's the output I get when running the app from the console:
Xelabos-Mac-Pro:src MacAdmin$ ./dist/zgp.app/Contents/MacOS/zgp
Traceback (most recent call last):
File "/Users/MacAdmin/Desktop/RSG/zgp/src/dist/zgp.app/Contents/Resources/__boot__.py", line 137, in <module>
_run('zgp.py')
File "/Users/MacAdmin/Desktop/RSG/zgp/src/dist/zgp.app/Contents/Resources/__boot__.py", line 134, in _run
execfile(path, globals(), globals())
File "/Users/MacAdmin/Desktop/RSG/zgp/src/dist/zgp.app/Contents/Resources/zgp.py", line 18, in <module>
main()
File "/Users/MacAdmin/Desktop/RSG/zgp/src/dist/zgp.app/Contents/Resources/zgp.py", line 13, in main
output.setup()
File "output.pyc", line 36, in setup
File "build/bdist.macosx-10.6-universal/egg/pyttsx/__init__.py", line 39, in init
File "build/bdist.macosx-10.6-universal/egg/pyttsx/engine.py", line 45, in __init__
File "build/bdist.macosx-10.6-universal/egg/pyttsx/driver.py", line 64, in __init__
ImportError: No module named drivers.nsss
2010-05-21 07:08:28.986 zgp[41405:10b] zgp Error
2010-05-21 07:08:29.443 zgp[41405:10b] zgp Error
An unexpected error has occurred during execution of the main script
ImportError: No module named drivers.nsss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100522/78d6104f/attachment.html>
More information about the Pythonmac-SIG
mailing list