Hello

I have the same problem when choosing an icon - the resulting exe file
is invalid (and not surprisingly, it doesn't have the chosen icon).
To make it minimal, I wrote a "program" nothing.py, with just one line
print "I do nothing"
and then tried setting icon='tele.ico' (an icon I made) or
ico='notepad.exe,0', with all combinations (1file/1dir, use/not use
upx), and it never worked. Unfortunately it never produced an error
message, except when I used both upx and 1file, when it gave

building ELFEXE out2.toc
I: PATH, INDEX notepad.exe 0
I: Updating icons from notepad.exe , 0 to c:\docume~1\ja\locals~1\temp\tmpncidbl

                     Ultimate Packer for eXecutables
  Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
UPX 1.93 beta    Markus F.X.J. Oberhumer & Laszlo Molnar         Feb 7th 2005

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
upx: bincache01\tmpncidbl: CantPackException: section size problem

Packed 1 file: 0 ok, 1 error.


Here is the output for 1dir/no upx/ico='tele.ico':

C:\Documents and Settings\ja\Desktop\pyinstaller_1.1>python Build.py nothing/not
hing.spec
checking Analysis
building Analysis because out0.toc non existent
running Analysis out0.toc
Analyzing: support\_mountzlib.py
Analyzing: support\useUnicode.py
Analyzing: nothing.py
Warnings written to nothing\warnnothing.txt
checking PYZ
rebuilding out1.toc because out1.pyz is missing
building PYZ out1.toc
checking PKG
rebuilding out3.toc because out3.pkg is missing
building PKG out3.pkg
checking ELFEXE
rebuilding out2.toc because nothing.exe missing
building ELFEXE out2.toc
I: PATH, INDEX tele.ico None
I: Updating icons from tele.ico to c:\docume~1\ja\locals~1\temp\tmpeqxphl
I: Writing RT_GROUP_ICON resource with 20 bytes
I: Writing RT_ICON resource with 16936 bytes
checking COLLECT
building out4.toc because out4.toc missing
building COLLECT out4.toc

I don't know what other info could be useful.
Best regards
Palo

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to