[issue3997] zipfile and winzip

2009-01-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Yes, the correction went in r68678, r68700, r68734 and r68735 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997

[issue3997] zipfile and winzip

2009-01-27 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file11841/zip-64k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2009-01-27 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file11850/zip-64k-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2009-01-27 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Amaury, did the buildbots verify this worked and thus this bug can be closed? -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997

[issue3997] zipfile and winzip

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Here is an updated version (zip-64k-3.patch). Now the condition for writing a ZIP64 end-of-archive depends on the size of all three values. Added file: http://bugs.python.org/file12775/zip-64k-3.patch

[issue3997] zipfile and winzip

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks fine to me. Please apply. -- keywords: -needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2009-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reopening, some tests have started deterministically failing: == ERROR: testAbsoluteArcnames (test.test_zipfile.TestZip64InSmallFiles)

[issue3997] zipfile and winzip

2009-01-17 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: Added file: http://bugs.python.org/file12779/zip64-alwaystry2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Applied the zip64-alwaystry2.patch in trunk, waiting for buildbots. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2009-01-05 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The patch looks nearly fine. AFAICT, care must be taken to always write a ZIP64 end-of-cd record whenever an end-of-cd field overflows; I think this patch is missing the condition centDirSize ZIP64_LIMIT. -- assignee: -

[issue3997] zipfile and winzip

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: +Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2008-12-30 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___ ___

[issue3997] zipfile and winzip

2008-10-23 Thread vali
vali [EMAIL PROTECTED] added the comment: I could verify that the patch works with both the Windows Compress utility, WinZip and 7zip. Thank you! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3997 ___

[issue3997] zipfile and winzip

2008-10-21 Thread vali
vali [EMAIL PROTECTED] added the comment: Thank you for the quick fix. I could verify that the issue is fixed in python 2.6 when I use WinZip to open an archive with more than 2^16 files created with attached script (bug.py). However the windows native compress utility does not seem to be able

[issue3997] zipfile and winzip

2008-10-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: OK, it seems that the central directory size and central directory offset must contain their actual value if it can fit in a 32bit int, even though the spec says If an archive is in ZIP64 format and the value in this field is

[issue3997] zipfile and winzip

2008-10-20 Thread vali
vali [EMAIL PROTECTED] added the comment: The version I used should not have this limitation as archives created with other languages as Java or C# opens fine in WinZip 11.2 evaluation version. Also the same issue can be observed in Windows compress utility.

[issue3997] zipfile and winzip

2008-10-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Right, this is a bug in zipfile.py. The official PKZIP specifications says: http://www.pkware.com/documents/casestudies/APPNOTE.TXT total number of entries in the central dir: (2 bytes) The total number of files in the

[issue3997] zipfile and winzip

2008-09-29 Thread vali
New submission from vali [EMAIL PROTECTED]: using ZipFile library with Python 2.6 or an earlier version creates archived files that are not compatible with windows compress or Winzip. Other programs like 7-Zip will not have a problem with the format. Bug Description: if it is attempted to

[issue3997] zipfile and winzip

2008-09-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: An archive with more than 65535 files must use the 64-bit extensions of the standard Zip format. Such archives cannot be opened by programs that do not understand these extensions. See http://www.winzip.com/wzdic.htm Which version of