Ticket #29 (closed defect: fixed)
Trac refuse to add attachments
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | Keywords: | ||
| Cc: | alexey.skladnoy@… |
Description
This is obviously bug in bug tracker configuration. Here is error message which trac displays when it fails to attach file.
If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.
Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.
TracGuide — The Trac User and Administration Guide
Python Traceback
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/var/lib/python-support/python2.4/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/var/lib/python-support/python2.4/trac/attachment.py", line 494, in _do_save
attachment.insert(filename, upload.file, size)
File "/var/lib/python-support/python2.4/trac/attachment.py", line 180, in insert
os.makedirs(self.path)
File "os.py", line 156, in makedirs
makedirs(head, mode)
File "os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/srv/trac/vector/attachments/ticket'
Change History
Note: See
TracTickets for help on using
tickets.
