You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using scripts/tar_gz_to_zip.py with Python 3.6, the dreaded OSError: [Errno 22] Invalid argument is raised. This is an open Python issue. The example given,
and is independent of being uncompressed (ZIP_STORED) or compressed (ZIP_DEFLATE).
The Python ticket makes it sound like the "universal" writing issue is on macOS and Windows only, but I haven't tested on Linux yet.
It is unclear if zip-related error will appear with Python 3.x.
A current (unsatisfactory) workaround is to optionally not add files > 2 GB in size to the zip file. I'll update the issue once I can test it on Linux.
The text was updated successfully, but these errors were encountered:
This is a workaround to a problem on at least macOS with writing large
files (#20) where we temporarily
can work with less data at the expense of random access later.
When using
scripts/tar_gz_to_zip.py
with Python 3.6, the dreadedOSError: [Errno 22] Invalid argument
is raised. This is an open Python issue. The example given,works using Python 2.7. However, there are zip-related issues:
which occurs even with
and is independent of being uncompressed (
ZIP_STORED
) or compressed (ZIP_DEFLATE
).A current (unsatisfactory) workaround is to optionally not add files > 2 GB in size to the zip file. I'll update the issue once I can test it on Linux.
The text was updated successfully, but these errors were encountered: