Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4627 closed defect (duplicate)

Error when attach file to Trac

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

Description

When i try attach a image file to Trac, although image size is available. So i get a message error from Trac to inform that Trac detected an internal error. Detail message such as:

Python Traceback
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request
    self._do_save(req, attachment)
  File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 494, in _do_save
    attachment.insert(filename, upload.file, size)
  File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 180, in insert
    os.makedirs(self.path)
  File "/usr/lib/python2.4/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/data/cad/ssm/trac/ssm/attachments/wiki/prj_embedded_system_1106_doc_hien_MP4_Video_Compression_Intro'

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 18 years ago

Priority: highestnormal
Resolution: duplicate
Severity: blockernormal
Status: newclosed

Ticket submitted twice (#4626)

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.