[tahoe-lafs-trac-stream] [tahoe-lafs] #1581: Trac file uploads/attachments failing/corrupted
tahoe-lafs
trac at tahoe-lafs.org
Thu May 31 21:40:52 UTC 2012
#1581: Trac file uploads/attachments failing/corrupted
---------------------------------+-----------------------------------------
Reporter: warner | Owner: zooko
Type: defect | Status: new
Priority: critical | Milestone: soon (release n/a)
Component: dev- | Version: n/a
infrastructure | Keywords: trac attachment nginx uwsgi
Resolution: |
Launchpad Bug: |
---------------------------------+-----------------------------------------
Comment (by warner):
I don't know if it's related, but I just tried to attach a 43kB patch to
#166 and got an "internal trac error" with the following exception in the
logs:
{{{
2012-05-31 21:33:47,862 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-
packages/Trac-0.12.3-py2.6.egg/trac/web/main.py", line 522, in
_dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-
packages/Trac-0.12.3-py2.6.egg/trac/web/main.py", line 243, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.6/dist-
packages/Trac-0.12.3-py2.6.egg/trac/attachment.py", line 466, in
process_request
self._do_save(req, attachment)
File "/usr/local/lib/python2.6/dist-
packages/Trac-0.12.3-py2.6.egg/trac/attachment.py", line 638, in _do_save
upload = req.args['attachment']
KeyError: 'attachment'
}}}
My vague hunch is that the accept-an-attachment handler got called but
somehow the attachment itself got lost on the way in.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1581#comment:10>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list