Task #11756 (new)
Opened 11 years ago
BUG: Batch image export fails if the total exported size is too large
Reported by: | spli | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | General | Version: | 4.4.9 |
Keywords: | n.a. | Cc: | web-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
I was exporting a large set of tagged images as ome-tiff in web, total size several GB, so that I could re-import into a new dataset since deep copies aren't possible in OMERO.
Traceback (most recent call last): File "./script", line 614, in <module> runScript() File "./script", line 599, in runScript fileAnnotation, message = batchImageExport(conn, scriptParams) File "./script", line 462, in batchImageExport compress(export_file, folder_name) File "./script", line 78, in compress zip_file.write(name, os.path.basename(name), zipfile.ZIP_DEFLATED) File "/usr/lib64/python2.6/zipfile.py", line 1030, in write self._writecheck(zinfo) File "/usr/lib64/python2.6/zipfile.py", line 998, in _writecheck raise LargeZipFile("Zipfile size would require ZIP64 extensions") zipfile.LargeZipFile: Zipfile size would require ZIP64 extensions
Possible fix- enable zip64:
http://docs.python.org/2/library/zipfile#zipfile.ZipFile
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.