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

Andreas Jung lists at zopyx.com
Fri Dec 4 06:53:54 EST 2009


You're trying to upload a 5GB file into Zope?

Andreas

Am 04.12.09 12:47, schrieb Jan Schulze:
> 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
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope-dev )
>   


-- 
ZOPYX Ltd. & Co KG          \  zopyx group
Charlottenstr. 37/1          \  The full-service network for your 
D-72070 Tübingen              \  Python, Zope and Plone projects
www.zopyx.com, info at zopyx.com  \  www.zopyxgroup.com
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting


-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20091204/d90d6047/attachment.vcf 


More information about the Zope mailing list