#1226 closed defect (fixed)
Trac error when trying to create ticket attachment: OSError: [Errno 13] Permission denied: '/svnroot/trac/ipp/attachments/ticket/1225'
| Reported by: | Sebastian Jester | Owned by: | gavin |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | config | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Michael Wood-Vasey, Paul Price |
Description
No idea what the ticket 'component' is for problems with trac...
How to Reproduce
While doing a POST operation on /attachment/ticket/1225, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'fac9bc86a498b80dabaefc10',
'action': u'new',
'attachment': FieldStorage('attachment', 'Standalone Ohana compilation trial.txt', 'Von: Eugene Magnier <eugene@ifa.hawaii.edu>\nDatum: 21. Januar 2009 19:03:14 MEZ\nAn: Mark Huber <mhuber@pha.jhu.edu>\nKopie: Sebastian Jester <jester@mpia-hd.mpg.de>, Michael Wood-Vasey \n<wmwv@pitt.edu>\nBetreff: Re: Standalone Ohana compilation trial\n\nwe can probably circumvent these problems by supplying the psbuild and\nextlibs directories as well and guiding people to use the same\ninstallation method as for the full IPP install. The psbuild library\nlist can be reduced to just the few needed by Ohana (readline, jpeg,\npng)\n\ngene\n\nOn Wed, Jan 21, 2009 at 7:22 AM, Mark Huber <mhuber@pha.jhu.edu> wrote:\n> Hi Sebastian - compiling on my RHEL5 system also works okay but I\'m \n> having a\n> problem with the shared libs not being found when i try to run \n> dvo. I can\n> add the Ohana.20081024/lib dir to my LD_LIBRARY_PATH environment \n> variable or\n> add -Wl,-R/path to the Makefile.System and recompile it. Are you also\n> having this problem? Compiling on my mac seems to automatically \n> include the\n> full paths to the Ohana libs, not sure why.\n>\n> mark\n>\n> On Jan 20, 2009, at 3:31 PM, Sebastian Jester wrote:\n>\n>> Hi Gene,\n>>\n>> found the Ohana tarball (via finding your email and realizing that \n>> I have\n>> to think \'Ohana\' when I mean \'dvo\') at\n>> http://kiawe.ifa.hawaii.edu/IPPwiki/index.php/ \n>> DVODB.Synth.grizy.bright\n>>\n>> Tried it on both my powerbook G4 with MacOS 10.4.11, and on the\n>> institute\'s linux machine where IPP runs.\n>>\n>> Mark, Michael: do you have a 10.5 machine where you could try it, \n>> too? If\n>> not, I can do it at work tomorrow, it\'s too late for me now.\n>>\n>> On the linux machine with Suse 10.2, it compiled without \n>> complaints, but I\n>> haven\'t tried it yet.\n>>\n>> On my G4, it runs down to\n>>\n>> ar rcv\n>> /Users/jester/science/Panstarrs/IPP/Ohana.20081024/src/libdvo/lib/ \n>> libdvo.darwin.a\n>> ....\n>> and then can\'t find lots of the input files in libautocode\n>>\n>> ar:\n>> /Users/jester/science/Panstarrs/IPP/Ohana.20081024/src/libautocode/ \n>> src/coords.darwin.o:\n>> No such file or directory\n>>\n>> etc. That\'s because\n>> /Users/jester/science/Panstarrs/IPP/Ohana.20081024/src/libautocode/ \n>> src\n>> doesn\'t exist:\n>>\n>> ls /Users/jester/science/Panstarrs/IPP/Ohana.20081024/src/ \n>> libautocode/\n>> CVS Makefile Makefile.Targets \n>> def doc\n>> generate include\n>>\n>> That was the first try; on the second try, where I redirected the \n>> output\n>> to be able to send it to you, it ran much longer and finished with a\n>> different error; I think it\'s the well-known readline one:\n>>\n>>\n>> /Users/jester/science/Panstarrs/IPP/Ohana.20081024/src/opihi/ \n>> include/shell.h:126:\n>> error: parse error before "rl_compentry_func_t"\n>>\n>> No idea how to fix that quickly outside the psbuild environment...\n>>\n>> S\n>>\n>> <Ohana.20081024.compile.darwin>\n>\n>\n'),
'description': u'Email conversation about fixing problems with standalone Ohana compilation',
'id': u'1225',
'path': u'1225',
'realm': u'ticket'}
User Agent was: Opera/9.64 (Macintosh; PPC Mac OS X; U; de) Presto/2.1.1
System Information
| Trac | 0.11.2
|
| Python | 2.4.4 (#1, Jun 26 2008, 15:49:11) [GCC 4.1.2 (Gentoo 4.1.2 p1.1)]
|
| setuptools | 0.6c9
|
| SQLite | 3.4.1
|
| pysqlite | 2.3.5
|
| Genshi | 0.5.1
|
| mod_python | 3.3.1
|
| Pygments | 0.10
|
| Subversion | 1.5.4 (r33841)
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 432, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 204, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib64/python2.4/site-packages/trac/attachment.py", line 394, in process_request
self._do_save(req, attachment)
File "/usr/lib64/python2.4/site-packages/trac/attachment.py", line 605, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/lib64/python2.4/site-packages/trac/attachment.py", line 218, 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: '/svnroot/trac/ipp/attachments/ticket/1225'
Attachments (1)
Change History (6)
comment:1 by , 17 years ago
| Cc: | added |
|---|
comment:2 by , 17 years ago
Just tried to create an attachment to #1276 and still get the same error... I know nobody's out of work, but fixing this one now will save some work later.
comment:3 by , 17 years ago
| Cc: | added |
|---|---|
| Owner: | changed from to |
| Priority: | highest → low |
| Severity: | blocker → normal |
| Status: | new → assigned |
by , 17 years ago
| Attachment: | attach_01.txt added |
|---|
comment:4 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
changed ticket directory owner / group to apache:nebulous. svn trac now able to write to directory.
drwxr-xr-x 86 apache nebulous 4096 2009-07-06 16:53 ticket

See also ticket 1249.