Page 1 of 1

zipping file over 2Go

PostPosted: Fri Dec 19, 2014 2:29 pm
by phm
Hi,
When I try to download large files with download (in web client) I get an error about zip file exceeds the 2Go :
Code: Select all
File "/opt/OMERO.server-5.0.6-ice35-b53/lib/python/omeroweb/webgateway/views.py", line 1859, in archived_files
    zip_file.write(name, os.path.basename(name))
  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")
LargeZipFile: Zipfile size would require ZIP64 extensions


I under CentOS 6.5 with zip version 3.0 and it should handle archive size up to 256 TB ? Or the ZIP64 extension is python libraries, in this cases where to find it I google without success.

Philippe

Re: zipping file over 2Go

PostPosted: Tue Dec 23, 2014 7:38 pm
by jmoore
Hi Philippe,

likely this is going to require the OMERO code to pass allowZip64=True. I've opened trac:12691 for us to look into the issue, but with everyone away for the holidays, you'll have to give us some time to look into it further.

Thanks for letting us know & happy holidays.
~Josh

Re: zipping file over 2Go

PostPosted: Tue Dec 23, 2014 8:13 pm
by jmoore
Perhaps best to continue this discussion on the mailing list? See http://lists.openmicroscopy.org.uk/pipe ... 04977.html for further information.