[issue3535] zipfile has problem reading zip files over 2GB

2008-08-17 Thread alonwas
alonwas <[EMAIL PROTECTED]> added the comment: Antoine, I had a similar problem with zip version 2.32, but this is fixed in version 3.0 (or on 64-bit architectures). Would you be able to give it a try with the newer version (which can be obtained from info-zip.org)? Unfortunately, my

[issue3535] zipfile has problem reading zip files over 2GB

2008-08-12 Thread alonwas
alonwas <[EMAIL PROTECTED]> added the comment: Hi Antoine, The problem happens for files between 2GB and 4GB. I can't really send you a link to such a big file. To reproduce the problem, you can generate one. I created (and attach) a tiny C program that helps generate one. If you w

[issue3535] zipfile has problem reading zip files over 2GB

2008-08-11 Thread alonwas
alonwas <[EMAIL PROTECTED]> added the comment: Hi, I'm using 2.5.2 (r252:60911), Thanks, Alon On Sun, 2008-08-10 at 17:51 +, Martin v. Löwis wrote: > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > > What Python version exactly are you using? This might

[issue3535] zipfile has problem reading zip files over 2GB

2008-08-10 Thread alonwas
New submission from alonwas <[EMAIL PROTECTED]>: zipfile complains about "Bad magic number for central directory" when I give it files over 2GB. I believe the problem is that the offset for the central directory should be read as an unsigned long rather than as a signed