A list of pages no other page links to:
--> -->OSError
[Errno 13] Permission denied: '/srv/www/moin/underlay/pages/FehlendeSeite/cache/__lock__/write_lock'
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.
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 1156 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- count_hit undefined
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})
- 1234 format_args=pi_formatargs,
- 1235 do_cache=do_cache,
- 1236 start_line=pi_lines)
- 1237
- 1238 # check for pending footnotes
- start_line undefined
- pi_lines = 9
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'A list of pages no other page links to: \n[[OrphanedPages]]\n', format_args=u'', do_cache=1, **kw={'start_line': 9})
- 1317 try:
- 1318 code = self.loadCache(request)
- 1319 self.execute(request, parser, code)
- 1320 except 'CacheNeedsUpdate':
- 1321 try:
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 0xb7711420, file "OrphanedPages", line 2>
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xb7711420, file "OrphanedPages", line 2>)
- 1341 if hasattr(MoinMoin, '__loader__'):
- 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1343 exec code
- 1344
- 1345 def loadCache(self, request):
- code = <code object ? at 0xb7711420, file "OrphanedPages", line 2>
/srv/www/vhosts/maindisc.de/cgi-bin/OrphanedPages in ?
/srv/www/moin/lib/python2.4/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)
- 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>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'OrphanedPages'
- args = None
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, 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>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/srv/www/moin/lib/python2.4/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 link in orphaned:
- links = [u'\u6807\u9898\u7d22\u5f15', u'\u7ad9\u70b9\u5bfc\u822a', u'WordIndex', u'']
- 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 object>
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>)
- 1497 cache.update('\n'.join(links) + '\n', True)
- 1498 return links
- 1499 return cache.content(True).split('\n')
- 1500
- 1501 def parsePageLinks(self, request):
- cache = <MoinMoin.caching.CacheEntry instance>
- cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance>>
- builtin True = True
- ).split undefined
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance>, decode=True)
- 110
- 111 def content(self, decode=False):
- 112 if not locking or locking and self.rlock.acquire(1.0):
- 113 try:
- 114 f = open(self._filename(), 'rb')
- global locking = 1
- self = <MoinMoin.caching.CacheEntry instance>
- self.rlock = <MoinMoin.util.lock.ReadLock instance>
- self.rlock.acquire = <bound method ReadLock.acquire of <MoinMoin.util.lock.ReadLock instance>>
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/util/lock.py in acquire (self=<MoinMoin.util.lock.ReadLock instance>, timeout=1.0)
- 296 if self._locked:
- 297 raise RuntimeError("lock already locked")
- 298 if self.writeLock.acquire(timeout):
- 299 try:
- 300 self.lockDir = tempfile.mkdtemp('', self.fileName, self.dir)
- self = <MoinMoin.util.lock.ReadLock instance>
- self.writeLock = <MoinMoin.util.lock.ExclusiveLock instance>
- self.writeLock.acquire = <bound method ExclusiveLock.acquire of <MoinMoin.util.lock.ExclusiveLock instance>>
- timeout = 1.0
/srv/www/moin/lib/python2.4/site-packages/MoinMoin/util/lock.py in acquire (self=<MoinMoin.util.lock.ExclusiveLock instance>, timeout=1.0)
- 113 while timer.haveTime():
- 114 try:
- 115 os.mkdir(self.lockDir)
- 116 self._locked = True
- 117 # log('acquired exclusive lock: %s\n' % (self.lockDir, ))
- global os = <module 'os' from '/usr/lib/python2.4/os.pyc'>
- os.mkdir = <built-in function mkdir>
- self = <MoinMoin.util.lock.ExclusiveLock instance>
- self.lockDir = '/srv/www/moin/underlay/pages/FehlendeSeite/cache/__lock__/write_lock'
OSError
[Errno 13] Permission denied: '/srv/www/moin/underlay/pages/FehlendeSeite/cache/__lock__/write_lock'
- args = (13, 'Permission denied')
- errno = 13
- filename = '/srv/www/moin/underlay/pages/FehlendeSeite/cache/__lock__/write_lock'
- strerror = 'Permission denied'
System Details
- Date: Tue, 07 Sep 2010 08:10:19 +0000
- Platform: Linux s15212355 2.6.9-023stab052.4-smp #1 SMP Tue May 11 19:21:39 MSD 2010 i686
- Python: Python 2.4 (/usr/bin/python)
- MoinMoin: Release 1.5.3 (release)