Modify ↓
Ticket #4584 (closed defect: duplicate)
Opened 5 years ago
Last modified 4 years ago
JPG file upload failed
| Reported by: | anonymous | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by cboos) (diff)
steps:
- Created a ticket in Trac
- Tried to attach JPeg file (1700KB)
Result:
Python traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 130, in run
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 267, in process_request
self._do_save(req, attachment)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 335, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 145, in insert
filename))
File "/usr/lib/python2.3/site-packages/trac/util.py", line 378, in create_unique_file
raise Exception('Failed to create unique name: ' + path)
Exception: Failed to create unique name: /var/www/trac/attachments/ticket/2314/ComedyTop.100.JPG
Attachments
Change History
comment:1 Changed 5 years ago by cboos
- Description modified (diff)
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



See #2815, this is usually a permission issue.