A list of pages no other page links to:
--> --> IOError[Errno 13] Permission denied: '/services/alice/wiki/underlay/pages/RecentChanges/cache/pagelinks' | Please include this information in your bug reports!: Python Python 2.4.6: /usr/bin/python2.4 Linux james 3.2.0-4-amd64 #1 SMP Debian 3.2.96-2 x86_64 MoinMoin Release 1.3.1 [Revision patch-434] Sat Dec 7 08:28:13 2019 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
773 # Visit pagename |
774 if self.cfg.allow_extended_names: |
775 Page(self, pagename).send_page(self, count_hit=1) |
776 else: |
777 # TODO: kill this. Why disable allow extended names? |
Page = <class MoinMoin.Page.Page>, self = <MoinMoin.request.RequestCGI instance>, pagename = u'OrphanedPages', ).send_page undefined, count_hit undefined |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'count_hit': 1}) |
912 else: |
913 # parse the text and send the page content |
914 self.send_page_content(request, Parser, body, format_args=pi_formatargs, do_cache=do_cache) |
915 |
916 # check for pending footnotes |
self = <MoinMoin.Page.Page instance>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, Parser = <class MoinMoin.parser.wiki.Parser>, body = u'A list of pages no other page links to: \n[[OrphanedPages]]\n', format_args undefined, pi_formatargs = '', do_cache = 1 |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'A list of pages no other page links to: \n[[OrphanedPages]]\n', needsupdate=0, format_args='', do_cache=1) |
1043 |
1044 try: |
1045 exec code |
1046 except 'CacheNeedsUpdate': # if something goes wrong, try without caching |
1047 self.send_page_content(request, Parser, body, needsupdate=1) |
code = <code object ? at 0x8b95da0, file "OrphanedPages", line 2> |
/srv/ps/httpd/html/alice/wiki/OrphanedPages |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'OrphanedPages', args=None) |
219 def macro(self, macro_obj, name, args): |
220 # call the macro |
221 return macro_obj.execute(name, args) |
222 |
223 def _get_bang_args(self, line): |
macro_obj = <MoinMoin.wikimacro.Macro instance>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>, name = u'OrphanedPages', args = None |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'OrphanedPages', args=None) |
99 macro = wikiutil.importPlugin('macro', macro_name, path=self.cfg.data_dir) |
100 if macro: |
101 return macro(self, args) |
102 |
103 builtins = vars(self.__class__) |
macro = <function execute>, self = <MoinMoin.wikimacro.Macro instance>, args = None |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/macro/OrphanedPages.py in execute(macro=<MoinMoin.wikimacro.Macro instance>, 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 orphaned.has_key(link): |
links = [u'CategoryHomepage', u'\u4e2d\u6587\u7684WikiWikiWeb'], page = <MoinMoin.Page.Page instance>, page.getPageLinks = <bound method Page.getPageLinks of <MoinMoin.Page.Page instance>>, macro = <MoinMoin.wikimacro.Macro instance>, macro.request = <MoinMoin.request.RequestCGI instance> |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/Page.py in getPageLinks(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>) |
1179 if hasattr(request, '_fmt_hd_counters'): |
1180 del request._fmt_hd_counters |
1181 return filter(None, cache.content(True).split('\n')) |
1182 |
1183 |
filter undefined, None undefined, cache = <MoinMoin.caching.CacheEntry instance>, cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance>>, True undefined |
/opt/moin-1.3/lib/python2.2/site-packages/MoinMoin/caching.py in content(self=<MoinMoin.caching.CacheEntry instance>, decode=True) |
90 |
91 def content(self, decode=False): |
92 data = open(self._filename(), 'rb').read() |
93 if decode: |
94 data = data.decode(config.charset) |
data undefined, open undefined, self = <MoinMoin.caching.CacheEntry instance>, self._filename = <bound method CacheEntry._filename of <MoinMoin.caching.CacheEntry instance>>, ).read undefined |
IOError: [Errno 13] Permission denied: '/services/alice/wiki/underlay/pages/RecentChanges/cache/pagelinks'
__doc__ =
'I/O operation failed.'
__getitem__ =
<bound method IOError.__getitem__ of <exceptions.IOError instance>>
__init__ =
<bound method IOError.__init__ of <exceptions.IOError instance>>
__module__ =
'exceptions'
__str__ =
<bound method IOError.__str__ of <exceptions.IOError instance>>
args =
(13, 'Permission denied')
errno =
13
filename =
'/services/alice/wiki/underlay/pages/RecentChanges/cache/pagelinks'
strerror =
'Permission denied'