I have a simmilar issue with python 2.5 - library.zip is readable by WinZip but not writeable (I can extract files but not place any inside). This isn't really a issue because the EXE runs fine but I wanted to test UPX'ing some of the included files and then placing them back inside the library.zip.

~Tom

On Tue, May 4, 2010 at 10:13 PM, Daryl Tester <dt-py2exe@handcraftedcomputers.com.au> wrote:
mark.kruse@kodak.com wrote:

> I inherited a python (2.4.1) based GUI (also wxDesigner, wxPython) that is
> packaged using py2exe & Install Shield.  However, the library.zip file
> that is generated by py2exe fails to open with the following error
> message:  "WinZip" - "error [...\library.zip]: start of central directory
> not found; Zip file corrupt.  Possible cause: file transfer error.".  A
> second dialog box then says: "Cannot open file: it does not appear to be a
> valid archive.  If you downloaded this file, try downloading the file
> again."

You don't say, but does this affect the ability of the exe to run?  I've
had experienced runs where the zip file produced can't be opened by
winzip/unzip, but the exe still runs fine so apparently it had no problem
reading the zip file.


--
Regards,
 Daryl Tester

Member of the Amalgamated Australian Association Against Apostrophe Abuse.
(formerly the 6A's - no, wait ...).

------------------------------------------------------------------------------
_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users