pyqt -> exe with py2exe and installer5b4

David Bolen db3l at fitlinxx.com
Tue Jan 7 14:10:31 EST 2003


hellprout at yahoo.com (hellprout) writes:

> somebody have an idea ????

You're probably going to have to provide more details.  I haven't used
PyQt and thus haven't packaged it myself, but in many cases a failure
like this means that the application (or a module it uses) is
performing some dynamic import tricks or has a dependency on some
special module attributes (like __file__) that may not be quite the
same when run in the packaged version.

You mention clicking on the application - I'd suggest that you first
try running it from a console window.  That way, if there are any
Python exceptions you'll be able to see them.  You may find that it is
complaining about a module it can't find - in that case double check
that the module is being included by the installer you choose.  For
Gordon's installer package, double check the log files and warning
file to see if it gave you a warning about special dynamic operations
that it can't follow.

If there is no obvious failure at runtime, then you'll probably need
to provide further information on the application - it would be best
if you could isolate it down to the smallest example that still fails
(e.g., see if just opening up a basic window works), and then post the
actual code and any installation configuration file (e.g., the spec
file in the case of installer) that you're using with it.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/




More information about the Python-list mailing list