Modify ↓
#4584 closed defect (duplicate)
JPG file upload failed
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
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 (0)
Change History (1)
comment:1 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



See #2815, this is usually a permission issue.