A list of pages no other page links to: --> -->

IOError

[Errno 13] Permission denied: '/var/www/sites/ura5han.resourcez.org/wiki/data/pages/Cygwin/cache/pagelinks'

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. /home/bravo/www/python-lib/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0xe0e790>)

    1. 1170 self.page.send_page(self, msg=msg)
    2. 1171 else:
    3. 1172 handler(self.page.page_name, self)
    4. 1173
    5. 1174 # generate page footer (actions that do not want this footer use
    • handler = <function do_show at 0xe46ed8>
    • self = <MoinMoin.request.RequestCGI object at 0xe0e790>
    • self.page = <MoinMoin.Page.Page instance at 0xe13200>
    • self.page.page_name = u'OrphanedPages'
  2. /home/bravo/www/python-lib/MoinMoin/wikiaction.py in do_show (pagename=u'OrphanedPages', request=<MoinMoin.request.RequestCGI object at 0xe0e790>)

    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 at 0xe232f0>
    • request = <MoinMoin.request.RequestCGI object at 0xe0e790>
    • pagename = u'OrphanedPages'
    • ).send_page undefined
    • count_hit undefined
  3. /home/bravo/www/python-lib/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x1260320>, request=<MoinMoin.request.RequestCGI object at 0xe0e790>, msg='', **keywords={'count_hit': 1})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 9
  4. /home/bravo/www/python-lib/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x1260320>, request=<MoinMoin.request.RequestCGI object at 0xe0e790>, Parser=<class MoinMoin.parser.wiki.Parser at 0xe73d70>, body=u'A list of pages no other page links to: \n[[OrphanedPages]]\n', format_args=u'', do_cache=1, **kw={'start_line': 9})

    1. 1345 try:
    2. 1346 code = self.loadCache(request)
    3. 1347 self.execute(request, parser, code)
    4. 1348 except Exception, e:
    5. 1349 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page instance at 0x1260320>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x1260320>>
    • request = <MoinMoin.request.RequestCGI object at 0xe0e790>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x125a5a8>
    • code = <code object <module> at 0xe77af8, file "OrphanedPages", line 2>
  5. /home/bravo/www/python-lib/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x1260320>, request=<MoinMoin.request.RequestCGI object at 0xe0e790>, parser=<MoinMoin.parser.wiki.Parser instance at 0x125a5a8>, code=<code object <module> at 0xe77af8, file "OrphanedPages", line 2>)

    1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1375 try:
    3. 1376 exec code
    4. 1377 except 'CacheNeedsUpdate':
    5. 1378 raise Exception('CacheNeedsUpdate')
    • code = <code object <module> at 0xe77af8, file "OrphanedPages", line 2>
  6. /var/www/moin/OrphanedPages in ()

  7. /home/bravo/www/python-lib/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0xe31248>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0xe5d638>, name=u'OrphanedPages', args=None)

    1. 288 def macro(self, macro_obj, name, args):
    2. 289 # call the macro
    3. 290 return macro_obj.execute(name, args)
    4. 291
    5. 292 def _get_bang_args(self, line):
    • macro_obj = <MoinMoin.wikimacro.Macro instance at 0xe5d638>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0xe5d638>>
    • name = u'OrphanedPages'
    • args = None
  8. /home/bravo/www/python-lib/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0xe5d638>, macro_name=u'OrphanedPages', args=None)

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <function execute at 0xe86500>
    • self = <MoinMoin.wikimacro.Macro instance at 0xe5d638>
    • args = None
  9. /home/bravo/www/python-lib/MoinMoin/macro/OrphanedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0xe5d638>, args=None)

    1. 20 orphaned.update(pages)
    2. 21 for page in pages.values():
    3. 22 links = page.getPageLinks(macro.request)
    4. 23 for link in links:
    5. 24 if link in orphaned:
    • links = [u'HelpOnSkins']
    • page = <MoinMoin.Page.Page instance at 0x14c5518>
    • page.getPageLinks = <bound method Page.getPageLinks of <MoinMoin.Page.Page instance at 0x14c5518>>
    • macro = <MoinMoin.wikimacro.Macro instance at 0xe5d638>
    • macro.request = <MoinMoin.request.RequestCGI object at 0xe0e790>
  10. /home/bravo/www/python-lib/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page instance at 0x14c5518>, request=<MoinMoin.request.RequestCGI object at 0xe0e790>)

    1. 1534 cache.update('\n'.join(links) + '\n', True)
    2. 1535 return links
    3. 1536 return cache.content(True).split('\n')
    4. 1537
    5. 1538 def parsePageLinks(self, request):
    • cache = <MoinMoin.caching.CacheEntry instance at 0x16932d8>
    • cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance at 0x16932d8>>
    • builtin True = True
    • ).split undefined
  11. /home/bravo/www/python-lib/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance at 0x16932d8>, decode=True)

    1. 101 if self.rlock.acquire(1.0):
    2. 102 try:
    3. 103 f = open(self._filename(), 'rb')
    4. 104 data = f.read()
    5. 105 f.close()
    • f undefined
    • builtin open = <built-in function open>
    • self = <MoinMoin.caching.CacheEntry instance at 0x16932d8>
    • self._filename = <bound method CacheEntry._filename of <MoinMoin.caching.CacheEntry instance at 0x16932d8>>

IOError

[Errno 13] Permission denied: '/var/www/sites/ura5han.resourcez.org/wiki/data/pages/Cygwin/cache/pagelinks'

  • args = (13, 'Permission denied')
  • errno = 13
  • filename = '/var/www/sites/ura5han.resourcez.org/wiki/data/pages/Cygwin/cache/pagelinks'
  • message = ''
  • strerror = 'Permission denied'

System Details

  • Date: Mon, 21 May 2012 05:00:59 +0000
  • Platform: Linux www8411u 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64
  • Python: Python 2.5.5 (/usr/bin/python2.5)
  • MoinMoin: Release 1.5.7 (release)