Opened 17 years ago
Last modified 16 years ago
#4584 closed defect
JPG file upload failed — at Initial Version
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
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