-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I've been playing with py2applet and py2app with a PyQt application. I'm running into this error when I try to run py2applet:
Kevin-Walzers-Computer:~/Desktop/eric-3.5.1/eric kevin$ py2applet eric3.py from: can't read /var/mail/py2app.scripts.script_py2applet /usr/local/bin/py2applet: line 3: syntax error: unexpected end of file
I can't get an applet generated either with the GUI or the command-line tool.
Also, I get a crash message with the app bundle generated by py2app:
~ File "/Users/kevin/Desktop/eric3.app/Contents/Resources/__boot__.py", line 28, in ?
~ _run('eric3.py')
~ File "/Users/kevin/Desktop/eric3.app/Contents/Resources/__boot__.py", line 25, in _run
~ execfile(os.path.join(base, 'Python', script), globals(), globals())
~ File "/Users/kevin/Desktop/eric3.app/Contents/Resources/Python/eric3.py", line 20, in ?
~ from UI.SingleApplication import SingleApplicationClient
~ File "UI/SingleApplication.pyc", line 17, in ?
~ File "Preferences/__init__.pyc", line 1270, in ?
~ File "Preferences/Shortcuts.pyc", line 17, in ?
ImportError: No module named XML.XMLUtilities
2004-12-28 16:11:15.106 eric3[1890] eric3 Error
2004-12-28 16:11:15.107 eric3[1890] An unexpected error has occurred during execution of the main script
ImportError: No module named XML.XMLUtilities
I'm using the newest version of py2app (.1.6) that has the support for PyQt built-in. I'm just putting the name of the main script in the setup.py file, and not adding anyting else. Is there something special I need to do with the XML module in terms of referencing it in the setup.py script? I've actually run into this problem (w/XML modules) with other apps I've tried to build with py2app, so I'm not sure what to do.
- -- Cheers,
Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:[EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB0cydJmdQs+6YVcoRArbOAJ45zFDxUM6ST1LpC6BzXLy8o1lOIQCfX/Yd J38AuKNQoLlhexOY2ckjGmA= =KE2T -----END PGP SIGNATURE----- _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig