OSError
[Errno 13] Permission denied: '/public/vhost/d/docbook/wiki_private/dbwiki/data/pages/DocBookCssStylesheets/cache/text_htmlD7lO5l.tmp'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1149 from MoinMoin.wikiaction import getHandler
- 1150 handler = getHandler(self, action)
- 1151 handler(self.page.page_name, self)
- 1152
- 1153 # generate page footer (actions that do not want this footer use
- handler = <function do_show>
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'DocBookCssStylesheets'
/public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'DocBookCssStylesheets', request=<MoinMoin.request.RequestCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- pagename = u'DocBookCssStylesheets'
- ).send_page undefined
- count_hit undefined
/public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})
- 1251 format_args=pi_formatargs,
- 1252 do_cache=do_cache,
- 1253 start_line=pi_lines)
- 1254
- 1255 # check for pending footnotes
- start_line undefined
- pi_lines = 0
/public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'== CSS for HTML/XHTML ==\n\nThe HTML output from t... comes with an API in the form of an XML filter.\n', format_args='', do_cache=1, **kw={'start_line': 0})
- 1347 raise
- 1348 try:
- 1349 code = self.makeCache(request, parser)
- 1350 self.execute(request, parser, code)
- 1351 except Exception, e:
- code undefined
- self = <MoinMoin.Page.Page instance>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
/public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>)
- 1413 self.page_name.encode(config.charset), 'exec')
- 1414 cache = caching.CacheEntry(request, self, self.getFormatterName())
- 1415 cache.update(marshal.dumps(code))
- 1416 self.cache_mtime = cache.mtime()
- 1417 return code
- cache = <MoinMoin.caching.CacheEntry instance>
- cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance>>
- marshal = <module 'marshal' (built-in)>
- marshal.dumps = <built-in function dumps>
- code = <code object ? at 0xb7d7bba0, file "DocBookCssStylesheets", line 2>
/public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/caching.py in update (self=<MoinMoin.caching.CacheEntry instance>, content="c\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00@\x00\x00\x00s\xe5\x00\x00\x00e\x00\x00e\x01\x00i\x02\x00i\x03\x00e\x01\x00i\x02\x00i\x04\x00e\x05\x00\x83\x01...BookCssStylesheetst\x01\x00\x00\x00?\x02\x00\x00\x00s\x10\x00\x00\x00$\x01\x15\x01'\x01\x10\x02\r\x01%\x01\r\x01%\x01", encode=False)
- 76 # se we don't need to lock when we just want to read the file
- 77 # (at least on POSIX, this works)
- 78 tmp_handle, tmp_fname = tempfile.mkstemp('.tmp', self.key, self.arena_dir)
- 79 os.write(tmp_handle, content)
- 80 os.close(tmp_handle)
- tmp_handle undefined
- tmp_fname undefined
- global tempfile = <module 'tempfile' from '/public/vhost/d/docbook/lib/python2.4/tempfile.pyc'>
- tempfile.mkstemp = <function mkstemp>
- self = <MoinMoin.caching.CacheEntry instance>
- self.key = 'text_html'
- self.arena_dir = '/public/vhost/d/docbook/wiki_private/dbwiki/data/pages/DocBookCssStylesheets/cache'
/public/vhost/d/docbook/lib/python2.4/tempfile.py in mkstemp (suffix='.tmp', prefix='text_html', dir='/public/vhost/d/docbook/wiki_private/dbwiki/data/pages/DocBookCssStylesheets/cache', text=False)
- 300 flags = _bin_openflags
- 301
- 302 return _mkstemp_inner(dir, prefix, suffix, flags)
- 303
- 304
- global _mkstemp_inner = <function _mkstemp_inner>
- dir = '/public/vhost/d/docbook/wiki_private/dbwiki/data/pages/DocBookCssStylesheets/cache'
- prefix = 'text_html'
- suffix = '.tmp'
- flags = 131266
/public/vhost/d/docbook/lib/python2.4/tempfile.py in _mkstemp_inner (dir='/public/vhost/d/docbook/wiki_private/dbwiki/data/pages/DocBookCssStylesheets/cache', pre='text_html', suf='.tmp', flags=131266)
- 234 file = _os.path.join(dir, pre + name + suf)
- 235 try:
- 236 fd = _os.open(file, flags, 0600)
- 237 _set_cloexec(fd)
- 238 return (fd, _os.path.abspath(file))
- fd undefined
- global _os = <module 'os' from '/public/vhost/d/docbook/lib/python2.4/os.pyc'>
- _os.open = <built-in function open>
- file = '/public/vhost/d/docbook/wiki_private/dbwiki/data...s/DocBookCssStylesheets/cache/text_htmlD7lO5l.tmp'
- flags = 131266
OSError
[Errno 13] Permission denied: '/public/vhost/d/docbook/wiki_private/dbwiki/data/pages/DocBookCssStylesheets/cache/text_htmlD7lO5l.tmp'
- args = (13, 'Permission denied')
- errno = 13
- filename = '/public/vhost/d/docbook/wiki_private/dbwiki/data...s/DocBookCssStylesheets/cache/text_htmlD7lO5l.tmp'
- strerror = 'Permission denied'
System Details
- Date: Tue, 09 Feb 2010 19:45:17 +0000
- Platform: Linux vhost6 2.6.9-89.0.20.ELsmp #1 SMP Mon Jan 18 12:22:21 EST 2010 i686
- Python: Python 2.4 (/public/vhost/d/docbook/bin/python)
- MoinMoin: Release 1.5.6 (release)
DocBook Wiki