Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11756 (new)

Opened 10 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

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.78538 sec.)

We're Hiring!