[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

Thomas Kluyver report at bugs.python.org
Mon Mar 12 12:01:19 EDT 2018


Thomas Kluyver <thomas at kluyver.me.uk> added the comment:

If every Windows 7 computer is generating zipfiles which are invalid in this way, that would be a pretty strong argument for Python (and other tools) to accept it. But if that was the case, I would also expect that there would be many more issues about it.

Are the files you're compressing large (multi-GB)? Python only uses the zip64 format when the files are too big for the older zip format; maybe Windows is doing the same. Even in that case, I'm still surprised that more people don't hit it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22102>
_______________________________________


More information about the Python-bugs-list mailing list