Opened 17 years ago
Closed 17 years ago
#6853 closed defect (duplicate)
error when I attach file on a closed ticket
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I would add a file named languages.sql to a closed ticket and get this message :
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/var/lib/python-support/python2.5/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/var/lib/python-support/python2.5/trac/attachment.py", line 450, in _do_save
size = upload.file.len
AttributeError: 'cStringIO.StringO' object has no attribute 'len'
Congratulations, you just prompted me to write the long awaited MostFrequentDuplicates page ;-)
Duplicate of #4311.