[Zope] Zope FTP - OverflowError: requested number of bytes is more than a Python string can hold

Jan Schulze schulze at informatik.uni-tuebingen.de
Fri Dec 4 06:47:06 EST 2009


Hi all,

I am are using ZServer/Medusa for FTP-Uploads to our ZODB. This works for smaller files, but the above error appears in instance.log, when using a ~5 GB file.

There's probably nothing I can do about it, as it's an internal python marshalling limit. Or would there be a way to make uploading big files work?


This is the complete error message from instance.log:

2009-12-04T12:34:49 ERROR Zope.SiteErrorLog http://0.0.0.0/Zope2/sara/data/RudSoil_vs_lssu_160807.rma/PUT
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module webdav.NullResource, line 167, in PUT
  Module Products.Archetypes.WebDAVSupport, line 116, in PUT
  Module Products.Archetypes.utils, line 160, in mapply
  Module Products.Marshall.marshaller, line 99, in demarshall
OverflowError: requested number of bytes is more than a Python string can hold
------
2009-12-04T12:34:57 ERROR ZServer uncaptured python exception, closing channel <ZServer.FTPServer.zope_ftp_channel connected 134.2.9.145:42267 at 0x1e5c6a70> (socket.error:(9, 'Bad file descriptor') [/raid/opt/Python-2.4.6/lib/python2.4/asynchat.py|initiate_send|219] [/raid/opt/Python-2.4.6/lib/python2.4/asyncore.py|send|332] [/raid/opt/Python-2.4.6/lib/python2.4/socket.py|_dummy|136])



Best Regards,
Jan


More information about the Zope mailing list