LogintasPublicWiki

--> -->

CacheError

[Errno 13] Permission denied: '/usr/share/moin/underlay/pages/WikiTipOfTheDay/cache/pagelinkslg3rTk.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. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>)

    1. 1305 self.page.send_page()
    2. 1306 else:
    3. 1307 handler(self.page.page_name, self)
    4. 1308
    5. 1309 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_print at 0x85228b4>
    • self = <MoinMoin.request.request_cgi.Request object at 0x825c8ac>
    • self.page = <MoinMoin.Page.Page object at 0x871118c>
    • self.page.page_name = u'RecentChanges'
  2. /var/lib/python-support/python2.5/MoinMoin/action/__init__.py in do_print (pagename=u'RecentChanges', request=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>)

    1. 275 def do_print(pagename, request):
    2. 276 """ same as do_show, but with print_mode set """
    3. 277 do_show(pagename, request, print_mode=1)
    4. 278
    5. 279 def do_recall(pagename, request):
    • global do_show = <function do_show at 0x8522e64>
    • pagename = u'RecentChanges'
    • request = <MoinMoin.request.request_cgi.Request object at 0x825c8ac>
    • print_mode undefined
  3. /var/lib/python-support/python2.5/MoinMoin/action/__init__.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>, content_only=0, count_hit=1, cacheable=1, print_mode=1)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  4. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x87154ac>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 1})

    1. 1195 format_args=pi['formatargs'],
    2. 1196 do_cache=do_cache,
    3. 1197 start_line=pi['lines'])
    4. 1198
    5. 1199 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x87155ec>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5}
  5. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x87154ac>, request=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>, body=u'\n||<tablestyle="width: 99%; background: #E6EAF0;...sions of the problematic paragraphs together. ||\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 5})

    1. 1283 try:
    2. 1284 code = self.loadCache(request)
    3. 1285 self.execute(request, parser, code)
    4. 1286 except Exception, e:
    5. 1287 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page object at 0x87154ac>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0x87154ac>>
    • request = <MoinMoin.request.request_cgi.Request object at 0x825c8ac>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x8729c8c>
    • code = <code object <module> at 0x856b8d8, file "RecentChanges", line 2>
  6. /var/lib/python-support/python2.5/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x87154ac>, request=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x8729c8c>, code=<code object <module> at 0x856b8d8, file "RecentChanges", line 2>)

    1. 1314 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1315 try:
    3. 1316 exec code
    4. 1317 except "CacheNeedsUpdate": # convert the exception
    5. 1318 raise Exception("CacheNeedsUpdate")
    • code = <code object <module> at 0x856b8d8, file "RecentChanges", line 2>
  7. /var/local/share/www/public.logintas.ch/docs/RecentChanges in ()

  8. /var/lib/python-support/python2.5/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x871568c>, macro_obj=<MoinMoin.macro.Macro instance at 0x8711b8c>, name=u'RandomQuote', args=u'WikiTipOfTheDay', markup=u'<<RandomQuote(WikiTipOfTheDay)>>')

    1. 312 # call the macro
    2. 313 try:
    3. 314 return macro_obj.execute(name, args)
    4. 315 except ImportError, err:
    5. 316 errmsg = unicode(err)
    • macro_obj = <MoinMoin.macro.Macro instance at 0x8711b8c>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x8711b8c>>
    • name = u'RandomQuote'
    • args = u'WikiTipOfTheDay'
  9. /var/lib/python-support/python2.5/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x8711b8c>, macro_name=u'RandomQuote', args=u'WikiTipOfTheDay')

    1. 126 else:
    2. 127 raise ImportError("Cannot load macro %s" % macro_name)
    3. 128 return execute(self, args)
    4. 129
    5. 130 def _m_lang(self, text):
    • execute = <function <lambda> at 0x8735d84>
    • self = <MoinMoin.macro.Macro instance at 0x8711b8c>
    • args = u'WikiTipOfTheDay'
  10. /var/lib/python-support/python2.5/MoinMoin/macro/__init__.py in (_self=<MoinMoin.macro.Macro instance at 0x8711b8c>, _args=u'WikiTipOfTheDay')

    1. 113 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
    2. 114 function='macro_%s' % macro_name)
    3. 115 execute = lambda _self, _args: _self._wrap(call, _args, [self])
    4. 116 except wikiutil.PluginAttributeError:
    5. 117 # fall back to old execute() method, no longer recommended
    • execute undefined
    • _self = <MoinMoin.macro.Macro instance at 0x8711b8c>
    • _args = u'WikiTipOfTheDay'
    • _self._wrap = <bound method Macro._wrap of <MoinMoin.macro.Macro instance at 0x8711b8c>>
    • call = <function macro_RandomQuote at 0x8735f44>
    • self = <MoinMoin.macro.Macro instance at 0x8711b8c>
  11. /var/lib/python-support/python2.5/MoinMoin/macro/__init__.py in _wrap (self=<MoinMoin.macro.Macro instance at 0x8711b8c>, function=<function macro_RandomQuote at 0x8735f44>, args=u'WikiTipOfTheDay', fixed=[<MoinMoin.macro.Macro instance at 0x8711b8c>])

    1. 95 try:
    2. 96 return wikiutil.invoke_extension_function(self.request, function,
    3. 97 args, fixed)
    4. 98 except ValueError, e:
    5. 99 return self.format_error(e)
    • args = u'WikiTipOfTheDay'
    • fixed = [<MoinMoin.macro.Macro instance at 0x8711b8c>]
  12. /var/lib/python-support/python2.5/MoinMoin/wikiutil.py in invoke_extension_function (request=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>, function=<function macro_RandomQuote at 0x8735f44>, args=u'WikiTipOfTheDay', fixed_args=[<MoinMoin.macro.Macro instance at 0x8711b8c>])

    1. 1986 kwargs_to_pass.keys()[0]))
    2. 1987
    3. 1988 return function(*fixed_args, **kwargs)
    4. 1989
    5. 1990
    • function = <function macro_RandomQuote at 0x8735f44>
    • fixed_args = [<MoinMoin.macro.Macro instance at 0x8711b8c>]
    • kwargs = {'pagename': u'WikiTipOfTheDay'}
  13. /var/lib/python-support/python2.5/MoinMoin/macro/RandomQuote.py in macro_RandomQuote (macro=<MoinMoin.macro.Macro instance at 0x8711b8c>, pagename=u'WikiTipOfTheDay')

    1. 49 page.set_raw_body(quote, 1)
    2. 50 quote = macro.request.redirectedOutput(page.send_page,
    3. 51 content_only=1, content_id="RandomQuote")
    4. 52
    5. 53 return quote
    • content_only undefined
    • content_id undefined
  14. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in redirectedOutput (self=<MoinMoin.request.request_cgi.Request object at 0x825c8ac>, function=<bound method Page.send_page of <MoinMoin.Page.Page object at 0x856c9ec>>, *args=(), **kw={'content_id': 'RandomQuote', 'content_only': 1})

    1. 842 self.redirect(buf)
    2. 843 try:
    3. 844 function(*args, **kw)
    4. 845 finally:
    5. 846 self.redirect()
    • function = <bound method Page.send_page of <MoinMoin.Page.Page object at 0x856c9ec>>
    • args = ()
    • kw = {'content_id': 'RandomQuote', 'content_only': 1}
  15. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x856c9ec>, **keywords={'content_id': 'RandomQuote', 'content_only': 1})

    1. 1222 if cache.needsUpdate(self._text_filename()):
    2. 1223 links = self.formatter.pagelinks
    3. 1224 cache.update(links)
    4. 1225
    5. 1226 # restore old formatter (hopefully we dont throw any exception that is catched again)
    • cache = <MoinMoin.caching.CacheEntry instance at 0x856cb2c>
    • cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance at 0x856cb2c>>
    • links = [u'RecentChanges']
  16. /var/lib/python-support/python2.5/MoinMoin/caching.py in update (self=<MoinMoin.caching.CacheEntry instance at 0x856cb2c>, content='\x80\x02]q\x01X\r\x00\x00\x00RecentChangesq\x02a.')

    1. 246 self.close()
    2. 247 except (pickle.PicklingError, OSError, IOError, ValueError), err:
    3. 248 raise CacheError(str(err))
    4. 249
    5. 250 def content(self):
    • global CacheError = <class 'MoinMoin.caching.CacheError'>
    • builtin str = <type 'str'>
    • err = OSError(13, 'Permission denied')

CacheError

[Errno 13] Permission denied: '/usr/share/moin/underlay/pages/WikiTipOfTheDay/cache/pagelinkslg3rTk.tmp'

  • args = ("[Errno 13] Permission denied: '/usr/share/moin/u.../pages/WikiTipOfTheDay/cache/pagelinkslg3rTk.tmp'",)
  • message = "[Errno 13] Permission denied: '/usr/share/moin/u.../pages/WikiTipOfTheDay/cache/pagelinkslg3rTk.tmp'"

System Details

  • Date: Wed, 08 Sep 2010 14:40:05 +0000
  • Platform: Linux ford 2.6.26-2-xen-686 #1 SMP Tue Mar 9 20:11:42 UTC 2010 i686
  • Python: Python 2.5.2 (/usr/bin/python)
  • MoinMoin: Release 1.7.1 (release)