[vector] #29: Trac refuse to add attachments

vector vector at projects.haskell.org
Sat Aug 14 18:20:06 EDT 2010


#29: Trac refuse to add attachments
----------------------+-----------------------------------------------------
Reporter:  anonymous  |       Owner:     
    Type:  defect     |      Status:  new
Priority:  major      |   Milestone:     
 Version:             |    Keywords:     
----------------------+-----------------------------------------------------
 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'
 }}}

-- 
Ticket URL: <http://trac.haskell.org/vector/ticket/29>
vector <http://trac.haskell.org/vector>
Package vector


More information about the vector mailing list