View previous topic :: View next topic |
Author |
Message |
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Thu Dec 29, 2005 12:23 pm Post subject: Trac wiki attachment |
|
|
Are we supposed to be able to attach a file to a trac wiki page? I tried and it gave me an error. Could the file have been too big? It was only a 74 KB jpeg.
Quote: |
Oops...
Trac detected an internal error:
[Errno 13] Permission denied: '/var/trac/poseidon/attachments/wiki'
If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.
Go to http://trac.edgewall.com/ 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):
Code: | File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 266, in process_request
self._do_save(req, attachment)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 334, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 141, in insert
os.makedirs(self.path)
File "/usr/lib/python2.3/os.py", line 153, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.3/os.py", line 154, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/trac/poseidon/attachments/wiki' |
|
In the Poseidon forum, there's been a discussion about how Tom's server doesn't allow hot-linking. So I saved the Tom's image to my hard drive. Then, I tried attaching it to Poseidon's front page. I told it which file to attach, and then it replied with the error message. |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
|
Back to top |
|
|
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Thu Dec 29, 2005 1:41 pm Post subject: |
|
|
Try it now, let me know if this fix works. If so, I'll modify my 'project-creation' script
BA |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Mon Jan 09, 2006 12:13 pm Post subject: |
|
|
brad wrote: | Try it now, let me know if this fix works. If so, I'll modify my 'project-creation' script | Thanks for the fix. Attaching files works like a charm now. (I would've replied earlier, but I guess I forgot this was my topic.)
In the future, I'll try to remember to check to see if someone else has already created a ticket about something, too. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|