Opened 17 years ago
Closed 17 years ago
#6242 closed defect (invalid)
error when attaching jpg file
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | project | Version: | 0.10.4 |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,
I was trying to attach a jpg file to a new ticket…I first got the error about the file being to big…so using MS Photo Editor I opennned and saved the file using higher jpg compression. I then tried to go back to the ticket screen, and retry ro press submit, and tick 'i want to attach file'…and I still get the error below.
thx!
Traceback (most recent call last):
File "/usr/local/trac/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/trac/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/trac/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/usr/local/trac/lib/python2.4/site-packages/trac/attachment.py", line 496, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/local/trac/lib/python2.4/site-packages/trac/attachment.py", line 180, in insert
os.makedirs(self.path)
File "/usr/lib/python2.4/os.py", line 156, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/trac/mediatraffic/attachments/ticket'
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
well…now, I'm trying to mark it as resolved, but i get this error from your server ;
Internal Error
Submission rejected as potential spam (SpamBayes determined spam probability of 61.03%)
Please mark this bug as resolved:invalid
Sorry, just read the error message…and noticed the last line ie : OSError: [Errno 13] Permission denied: '/usr/local/trac/mediatraffic/attachments/ticket'
again sorry
Replying to anonymous: