Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZIP files are truncated at about 2GB / "zipfile.LargeZipFile: Central directory offset would require ZIP64 extensions" #2

Open
catharsis71 opened this issue Oct 31, 2021 · 0 comments

Comments

@catharsis71
Copy link

ZIP files are truncated at approximately 2GB (example sizes: 2,151,632,809 and 2,152,286,114)

The following error is displayed when attempting to convert

Traceback (most recent call last):
  File "/home/username/bin/warctozip.py", line 63, in <module>
    sys.exit(main(sys.argv))
  File "/home/username/bin/warctozip.py", line 42, in main
    dump_record(fh, outzip)
  File "/usr/lib/python2.7/zipfile.py", line 824, in __exit__
    self.close()
  File "/usr/lib/python2.7/zipfile.py", line 1371, in close
    " would require ZIP64 extensions")
zipfile.LargeZipFile: Central directory offset would require ZIP64 extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant