Modify ↓
Opened 19 years ago
Closed 19 years ago
#4934 closed defect (duplicate)
Tried to create an attachment, got an error
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | general | Version: | |
| Severity: | critical | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
tried to attach a file to an issue, got the following error:
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.5/site-packages/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/usr/local/lib/python2.5/site-packages/trac/attachment.py", line 450, in _do_save
size = upload.file.len
AttributeError: 'cStringIO.StringO' object has no attribute 'len'
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Duplicate of #4311, install the latest stable version (0.10.4dev) which contains the fix (see TracDownload#Tracstable).