A list of pages that no other page links to:
--> -->CacheError
[Errno 13] Permission denied: '/usr/share/moin/underlay/pages/PermissionDeniedPage/cache/pagelinksdOCADk.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.
/var/lib/python-support/python2.5/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_modpython.Request object at 0x4fc2250>)
- 1305 self.page.send_page()
- 1306 else:
- 1307 handler(self.page.page_name, self)
- 1308
- 1309 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0x5054140>
- self = <MoinMoin.request.request_modpython.Request object at 0x4fc2250>
- self.page = <MoinMoin.Page.Page object at 0x50ca710>
- self.page.page_name = u'OrphanedPages'
/var/lib/python-support/python2.5/MoinMoin/action/__init__.py in do_show (pagename=u'OrphanedPages', request=<MoinMoin.request.request_modpython.Request object at 0x4fc2250>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x50d5350>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1195 format_args=pi['formatargs'],
- 1196 do_cache=do_cache,
- 1197 start_line=pi['lines'])
- 1198
- 1199 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x50cbfc8>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5}
/var/lib/python-support/python2.5/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x50d5350>, request=<MoinMoin.request.request_modpython.Request object at 0x4fc2250>, body=u'A list of pages that no other page links to: \n<<OrphanedPages>>\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 5})
- 1283 try:
- 1284 code = self.loadCache(request)
- 1285 self.execute(request, parser, code)
- 1286 except Exception, e:
- 1287 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0x50d5350>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0x50d5350>>
- request = <MoinMoin.request.request_modpython.Request object at 0x4fc2250>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x50cbf38>
- code = <code object <module> at 0x511d7b0, file "OrphanedPages", line 2>
/var/lib/python-support/python2.5/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x50d5350>, request=<MoinMoin.request.request_modpython.Request object at 0x4fc2250>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x50cbf38>, code=<code object <module> at 0x511d7b0, file "OrphanedPages", line 2>)
- 1314 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1315 try:
- 1316 exec code
- 1317 except "CacheNeedsUpdate": # convert the exception
- 1318 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0x511d7b0, file "OrphanedPages", line 2>
/OrphanedPages in
() /var/lib/python-support/python2.5/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x50cbef0>, macro_obj=<MoinMoin.macro.Macro instance at 0x50cbf80>, name=u'OrphanedPages', args=None, markup=u'<<OrphanedPages>>')
- 312 # call the macro
- 313 try:
- 314 return macro_obj.execute(name, args)
- 315 except ImportError, err:
- 316 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance at 0x50cbf80>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x50cbf80>>
- name = u'OrphanedPages'
- args = None
/var/lib/python-support/python2.5/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x50cbf80>, macro_name=u'OrphanedPages', args=None)
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute = <function <lambda> at 0x511d758>
- self = <MoinMoin.macro.Macro instance at 0x50cbf80>
- args = None
/var/lib/python-support/python2.5/MoinMoin/macro/__init__.py in
(_self=<MoinMoin.macro.Macro instance at 0x50cbf80>, _args=None) - 113 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
- 114 function='macro_%s' % macro_name)
- 115 execute = lambda _self, _args: _self._wrap(call, _args, [self])
- 116 except wikiutil.PluginAttributeError:
- 117 # fall back to old execute() method, no longer recommended
- execute undefined
- _self = <MoinMoin.macro.Macro instance at 0x50cbf80>
- _args = None
- _self._wrap = <bound method Macro._wrap of <MoinMoin.macro.Macro instance at 0x50cbf80>>
- call = <function macro_OrphanedPages at 0x4e97938>
- self = <MoinMoin.macro.Macro instance at 0x50cbf80>
/var/lib/python-support/python2.5/MoinMoin/macro/__init__.py in _wrap (self=<MoinMoin.macro.Macro instance at 0x50cbf80>, function=<function macro_OrphanedPages at 0x4e97938>, args=None, fixed=[<MoinMoin.macro.Macro instance at 0x50cbf80>])
- 95 try:
- 96 return wikiutil.invoke_extension_function(self.request, function,
- 97 args, fixed)
- 98 except ValueError, e:
- 99 return self.format_error(e)
- args = None
- fixed = [<MoinMoin.macro.Macro instance at 0x50cbf80>]
/var/lib/python-support/python2.5/MoinMoin/wikiutil.py in invoke_extension_function (request=<MoinMoin.request.request_modpython.Request object at 0x4fc2250>, function=<function macro_OrphanedPages at 0x4e97938>, args=None, fixed_args=[<MoinMoin.macro.Macro instance at 0x50cbf80>])
- 1982 kwargs_to_pass.keys()[0]))
- 1983
- 1984 return function(*fixed_args, **kwargs)
- 1985
- 1986
- function = <function macro_OrphanedPages at 0x4e97938>
- fixed_args = [<MoinMoin.macro.Macro instance at 0x50cbf80>]
- kwargs = {}
/var/lib/python-support/python2.5/MoinMoin/macro/OrphanedPages.py in macro_OrphanedPages (macro=<MoinMoin.macro.Macro instance at 0x50cbf80>)
- 22 orphaned.update(pages)
- 23 for page in pages.values():
- 24 links = page.getPageLinks(macro.request)
- 25 for link in links:
- 26 if link in orphaned:
- links = [u'MoinMoin', u'WikiCourse/01 What is a MoinMoin wiki?', u'WikiCourse/02 Finding information', u'WikiCourse/03 Staying up to date', u'WikiCourse/04 Creating a wiki account', u'WikiCourse/05 User preferences', u'WikiCourse/06 Your own wiki homepage', u'WikiCourse/07 The text editor', u'WikiCourse/08 Hot Keys', u'WikiCourse/10 Text layout with wiki markup', u'WikiCourse/11 Paragraphs', u'WikiCourse/12 Headlines', u'WikiCourse/13 Lists', u'WikiCourse/14 Text styles', u'WikiCourse/15 Tables', u'WikiCourse/16 Wiki internal links', u'WikiCourse/17 External links', u'WikiCourse/18 Attachments', u'WikiCourse/19 Symbols', u'WikiCourse/20 Dynamic content', ...]
- page = <MoinMoin.Page.Page object at 0x57cc290>
- page.getPageLinks = <bound method Page.getPageLinks of <MoinMoin.Page.Page object at 0x57cc290>>
- macro = <MoinMoin.macro.Macro instance at 0x50cbf80>
- macro.request = <MoinMoin.request.request_modpython.Request object at 0x4fc2250>
/var/lib/python-support/python2.5/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page object at 0x57cc290>, request=<MoinMoin.request.request_modpython.Request object at 0x4fc2250>)
- 1465 if cache.needsUpdate(self._text_filename()):
- 1466 links = self.parsePageLinks(request)
- 1467 cache.update(links)
- 1468 else:
- 1469 try:
- cache = <MoinMoin.caching.CacheEntry instance at 0x5896ea8>
- cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance at 0x5896ea8>>
- links = []
/var/lib/python-support/python2.5/MoinMoin/caching.py in update (self=<MoinMoin.caching.CacheEntry instance at 0x5896ea8>, content='\x80\x02]q\x01.')
- 246 self.close()
- 247 except (pickle.PicklingError, OSError, IOError, ValueError), err:
- 248 raise CacheError(str(err))
- 249
- 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/PermissionDeniedPage/cache/pagelinksdOCADk.tmp'
- args = ("[Errno 13] Permission denied: '/usr/share/moin/u...s/PermissionDeniedPage/cache/pagelinksdOCADk.tmp'",)
- message = "[Errno 13] Permission denied: '/usr/share/moin/u...s/PermissionDeniedPage/cache/pagelinksdOCADk.tmp'"
System Details
- Date: Mon, 15 Mar 2010 16:18:28 +0000
- Platform: Linux annarchy 2.6.24.1-g67d76f2a #1 SMP Sun Feb 10 17:20:21 PST 2008 x86_64
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.7.1 (release)

