[tahoe-lafs-trac-stream] [tahoe-lafs] #1386: KeyError: 'file'
tahoe-lafs
trac at tahoe-lafs.org
Thu Mar 31 05:43:09 PDT 2011
#1386: KeyError: 'file'
-----------------------------------+----------------------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Component: code-frontend-web | Version: 1.8.2
Resolution: | Keywords: http upload
Launchpad Bug: |
-----------------------------------+----------------------------------------
Comment (by zooko):
Oh, I see something. I had unplugged the external hard drive that holds
the file itself. So apparently if you have selected a file in FF4, and
then unmount the filesystem that holds that file, and then click the
submit button, then it submits a POST request with no {{{'file'}}} key so
that we get this exception from
[source:trunk/src/allmydata/web/directory.py?annotate=blame&rev=4527#L307
directory.py line 307]. On the other hand if you click the submit button
without selecting a file at all then you get the error response "upload
requires a name" from
[source:trunk/src/allmydata/web/directory.py?annotate=blame&rev=4527#L315
directory.py line 315].
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1386#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list