Ticket #4311 (closed defect: fixed)
AttributeError: 'cStringIO.StringO' object has no attribute 'len'
| Reported by: | anonymous | Owned by: | mgood |
|---|---|---|---|
| Priority: | high | Milestone: | 0.10.4 |
| Component: | general | Version: | 0.10.2 |
| Severity: | normal | Keywords: | python25 |
| Cc: |
Description
Attaching files doesn't seem to work correctly anymore. This is Trac 0.10.2 and Python 2.5.
Python Traceback
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 238, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib64/python2.5/site-packages/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/usr/lib64/python2.5/site-packages/trac/attachment.py", line 449, in _do_save
size = upload.file.len
AttributeError: 'cStringIO.StringO' object has no attribute 'len'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


