[Zope3-dev] upload >40kb impossible
Christophe Combelles
ccomb at free.fr
Mon May 28 17:20:09 EDT 2007
Sorry for the noise, it seems it was an inconsistency in Sid. I've upgraded to
the latest python-twisted, and that's OK now.
Christophe
Christophe Combelles wrote:
> Hello,
>
> I've already posted a few message on Zope3-Users. I get a weird problem
> on upload, using z.a.file.file. (using Zope3.3.1 with python 2.4.4).
> Whenever I try to upload a file larger than ~40Kb, nothing happens and
> I'm redirected to the same upload form I came from.
>
> After investigating, I discovered that cgi.FieldStorage does not parse
> entirely the HTTP stream (zope.publisher.browser.py:263), and stop in
> the middle of the stream. The resulting fields are:
> ['field.contentType', 'field.data']
> instead of
> ['field.contentType', 'field.data', 'UPDATE_SUBMIT', 'add_input_name']
>
> I've checked that the input stream does contain UPDATE_SUBMIT, but the
> resulting request.form doesn't!
>
> I've found some related bugs here:
> https://bugs.launchpad.net/zope3/+bug/98024
> http://sourceforge.net/tracker/index.php?func=detail&aid=1112549&group_id=5470&atid=105470
>
> https://bugs.launchpad.net/zope3/+bug/98284
>
> Is it a problem with Python? Zope3? A Debian patch? My Setup?
>
> Christophe
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/ccomb%40free.fr
>
>
>
More information about the Zope3-dev
mailing list