Modify ↓
Opened 17 years ago
Closed 17 years ago
#5662 closed defect (duplicate)
upload file error
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.10.3.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
An error is raised when trying to upload a file (add attachment) to a wiki page. The file size is less than 1KB, it seems this is the problem. Bigger files are uploaded without problem.
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)
Change History (1)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Please search for duplicates before submitting a new ticket
Dup of #4311 and many others.