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.
/home/bravo/www/python-lib/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0xe0e790>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 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'
/home/bravo/www/python-lib/MoinMoin/wikiaction.py in do_show (pagename=u'OrphanedPages', request=<MoinMoin.request.RequestCGI object at 0xe0e790>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 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
/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})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 9
/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})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 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>
/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>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object <module> at 0xe77af8, file "OrphanedPages", line 2>
/var/www/moin/OrphanedPages in
() /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)
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 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
/home/bravo/www/python-lib/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0xe5d638>, macro_name=u'OrphanedPages', args=None)
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <function execute at 0xe86500>
- self = <MoinMoin.wikimacro.Macro instance at 0xe5d638>
- args = None
/home/bravo/www/python-lib/MoinMoin/macro/OrphanedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0xe5d638>, args=None)
- 20 orphaned.update(pages)
- 21 for page in pages.values():
- 22 links = page.getPageLinks(macro.request)
- 23 for link in links:
- 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>
/home/bravo/www/python-lib/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page instance at 0x14c5518>, request=<MoinMoin.request.RequestCGI object at 0xe0e790>)
- 1534 cache.update('\n'.join(links) + '\n', True)
- 1535 return links
- 1536 return cache.content(True).split('\n')
- 1537
- 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
/home/bravo/www/python-lib/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance at 0x16932d8>, decode=True)
- 101 if self.rlock.acquire(1.0):
- 102 try:
- 103 f = open(self._filename(), 'rb')
- 104 data = f.read()
- 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)