--> -->

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.

  1. /public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1149 from MoinMoin.wikiaction import getHandler
    2. 1150 handler = getHandler(self, action)
    3. 1151 handler(self.page.page_name, self)
    4. 1152
    5. 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'
  2. /public/vhost/d/docbook/moinmoin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'DocBookCssStylesheets', request=<MoinMoin.request.RequestCGI object>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'DocBookCssStylesheets'
    • ).send_page undefined
    • count_hit undefined
  3. /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})

    1. 1251 format_args=pi_formatargs,
    2. 1252 do_cache=do_cache,
    3. 1253 start_line=pi_lines)
    4. 1254
    5. 1255 # check for pending footnotes
    • start_line undefined
    • pi_lines = 0
  4. /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})

    1. 1347 raise
    2. 1348 try:
    3. 1349 code = self.makeCache(request, parser)
    4. 1350 self.execute(request, parser, code)
    5. 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>
  5. /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>)

    1. 1413 self.page_name.encode(config.charset), 'exec')
    2. 1414 cache = caching.CacheEntry(request, self, self.getFormatterName())
    3. 1415 cache.update(marshal.dumps(code))
    4. 1416 self.cache_mtime = cache.mtime()
    5. 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>
  6. /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)

    1. 76 # se we don't need to lock when we just want to read the file
    2. 77 # (at least on POSIX, this works)
    3. 78 tmp_handle, tmp_fname = tempfile.mkstemp('.tmp', self.key, self.arena_dir)
    4. 79 os.write(tmp_handle, content)
    5. 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'
  7. /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)

    1. 300 flags = _bin_openflags
    2. 301
    3. 302 return _mkstemp_inner(dir, prefix, suffix, flags)
    4. 303
    5. 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
  8. /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)

    1. 234 file = _os.path.join(dir, pre + name + suf)
    2. 235 try:
    3. 236 fd = _os.open(file, flags, 0600)
    4. 237 _set_cloexec(fd)
    5. 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)