ValueError: Invalid boundary in multipart form

Bug #1069892 reported by Laura Czajkowski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Expired
Critical
Unassigned

Bug Description

Traceback (most recent call last):
  Module zope.publisher.publish, line 127, in publish
    request.processInputs()
  Module zope.publisher.browser, line 297, in processInputs
    keep_blank_values=1)
  Module cgi, line 508, in __init__
    self.read_multi(environ, keep_blank_values, strict_parsing)
  Module cgi, line 637, in read_multi
    environ, keep_blank_values, strict_parsing)
  Module cgi, line 508, in __init__
    self.read_multi(environ, keep_blank_values, strict_parsing)
  Module cgi, line 622, in read_multi
    raise ValueError, 'Invalid boundary in multipart form: %r' % (ib,)
ValueError: Invalid boundary in multipart form: ''

https://oops.canonical.com/?oopsid=OOPS-ece6d3cc2dac47fdfc01819f375fcd73

Tags: oops
Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
tags: added: oops
Revision history for this message
Nathan Williams (nwilliams) wrote :

The zip file I originally ran into trouble with is here:
https://launchpad.net/akiban-persistit/trunk/3.2.0/+download/akiban-persistit-3.2.0.zip

That was from stock Firefox 16.0.1 (no plugins or extensions) on Mac OSX 10.8.2. The same file uploads fine from Chrome 22.0.1229.94.

Revision history for this message
William Grant (wgrant) wrote :

The OOPS occurred four times yesterday, all from the one host and browser: OOPS-bb9eec4206bec9c0f1f2dbd924716778, OOPS-ece6d3cc2dac47fdfc01819f375fcd73, OOPS-fccefdf587b1fbadd651b91a4282240d on +adddownloadfile, and OOPS-3d3862fdc11ed81ce23814268596e325 on +addcomment on this bug. The request CONTENT_LENGTH had a different size each time: 1213201, 1213171, 3116544, or 1212722.

Revision history for this message
William Grant (wgrant) wrote :

There have been 18 "Invalid boundary" OOPSes in the last week, all except one on +adddownloadfile from the same "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0" browser. The one that wasn't +addownloadfile was +addcoment, from the same browser.

Nathan, do other file uploads work OK from your Firefox installation? Have you tried uploading the same file to a site other than Launchpad?

Changed in launchpad:
status: Triaged → Incomplete
Revision history for this message
Nathan Williams (nwilliams) wrote :

> There have been 18 "Invalid boundary" OOPSes in the last week

I tried many times, thinking it was a timeout or such, the day the milestone was released. Then I tried a different file, unrelated files, old milestone releases I re-downloaded from Launchpad, etc. Then a few more days after that to see if it was sporadic.

> The one that wasn't +addownloadfile was +addcoment, from the same browser.

Also me, trying to attach an example file to a comment on this bug. Though I don't suspect it is a file specific problem, as all of the zips I have tried yield the error.

> Nathan, do other file uploads work OK from your Firefox installation?

Yes. The two tar.gz files on the milestone were uploaded from the same OS/browser combo:
https://launchpad.net/akiban-persistit/trunk/3.2.0

> Have you tried uploading the same file to a site other than Launchpad?

Yep. The same exact zip files upload fine from Chrome. I didn't think to try another browser until Laura linked to bug423880.

Revision history for this message
William Grant (wgrant) wrote : Re: [Bug 1069892] Re: ValueError: Invalid boundary in multipart form

On 24/10/12 00:43, Nathan Williams wrote:
> Yep. The same exact zip files upload fine from Chrome. I didn't think to
> try another browser until Laura linked to bug423880.

I can upload it fine from Firefox 16.0. Have you tried uploading to a
non-launchpad.net site, so we can see if it's a general problem with the
way your installation of Firefox constructs a form using that file?

Revision history for this message
Nathan Williams (nwilliams) wrote :

> I can upload it fine from Firefox 16.0.

16.0.1 on OSX? I've tried both safe mode and a new install of Firefox, to no avail.

> Have you tried uploading to a non-launchpad.net site

Picked one a random and it uploaded fine:
http://www.filedropper.com/akiban-persistit-320

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Launchpad itself because there has been no activity for 60 days.]

Changed in launchpad:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.