Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6027 closed defect (worksforme)

cant attach pic to ticket

Reported by: jeremiah@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/trac/attachment.py", line 361, in process_request
    self._do_save(req, attachment)
  File "/usr/lib/python2.5/site-packages/trac/attachment.py", line 496, in _do_save
    attachment.insert(filename, upload.file, size)
  File "/usr/lib/python2.5/site-packages/trac/attachment.py", line 180, in insert
    os.makedirs(self.path)
  File "/usr/lib/python2.5/os.py", line 163, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.5/os.py", line 166, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/trac/agent/attachments/ticket'

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

The attachment directory on your server should be read/writeable for the web server.
A common issue is to create the Trac environment as the super user whereas the web server runs as a regular user.

BTW, please specify which version of Trac you're using when you submit a new ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.