[issue3997] zipfile and winzip
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 create an archive with more than 65535 (e.g 2^16 + 10) files winzip or windows compress will show only what is above 65535 (in this case 9 file) The attached script tries to create an archive with 2^16 + 1 files and compress or winzip will show an empty archive. -- components: Extension Modules files: bug.py messages: 74030 nosy: vgeorge severity: normal status: open title: zipfile and winzip type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file11654/bug.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3997> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3997] zipfile and winzip
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. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3997> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3997] zipfile and winzip
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 to recognize the files that have more than 2^16 files (the error says that the archive is not valid). However, if I try to create an archive using WinZip or 7zip with exactly the same files, windows compress utility is able to open the archive. The same thing would apply if I create the archive using zlib C# library. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3997> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3997] zipfile and winzip
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> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com