Hi,
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."
Background info: This is on a Windows 2003 server. The original
development was done on a Windows XP box (was SP2, now SP3) that I
inherited from one of the original developers (builds library.zip just
fine...). So, the first thing that I did when the 2003 box failed to
build the zip file correctly was try to configure yet another PC using
Windows XP. I get the exact same problem (corrupt zip file). On both my
2003 and XP based systems, I have copied everything that I can think of
from the original XP based PC (the base c:\python24 installation, a few
DLL files: msvcp71.dll, msvcr71.dll, python24.dll, emulated the PATH
environment variable as far as possible, etc.). Have not played around
with the registry (note that I did a base install of Python24 before
copying over the Python24 directory from the "good" PC so if there are
registry dependencies, I should have ones from the base install).
None of the original developers remember having to do anything special
during installation to make this work...
Any ideas where I should look?
Thanks,
Mark
|