From: Adriano M. <py....@gm...> - 2006-08-21 19:25:37
|
Hi folks, I'm trying to make an EXE for an application that have the following dependencies: * Psyco * Pysqlite2 * PyGTK I wrote my setup.py as follows: <code> setup(..., windows = ["umit"], options = {"py2exe":\ {"packages":"encodings", "includes" : "pango,atk,gobject,pickle,bz2,encodings,\ encodings.*,cairo,pangocairo,atk,psyco" }} ,...) </code> I ran the "python setup.py py2exe", and got no errors... But, when I execute the exe, I get the following: <error> Traceback (most recent call last): File "umit", line 24, in ? File "umitGUI\App.pyc", line 29, in ? File "umitGUI\MainWindow.pyc", line 38, in ? File "umitGUI\ScanNotebook.pyc", line 35, in ? File "umitGUI\Icons.pyc", line 94, in ? gobject.GError: Couldn't recognize the image file format for file 'C:\Umit\dist\share\pixmaps\default_32.png' </error> I don't know what to do about this, and I also searched on google about this, and the only thing really close to usefull that I found was this link: http://www.daa.com.au/pipermail/pygtk/2005-January/009372.html The message is not so clear for me, and trying to follow what the link above said, I copied the entire "C:\GTK\lib" diretory to "project_dir\dist\gtk\lib", but it doesn't worked. Any clue? Cheeeers! -- Adriano Monteiro Marques http://umit.sourceforge.net py....@gm... "Don't stay in bed, unless you can make money in bed." - George Burns |