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.

  1. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1152 # Visit pagename
    2. 1153 self.page = Page(self, pagename)
    3. 1154 self.page.send_page(self, count_hit=1)
    4. 1155
    5. 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
  2. /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})

    1. 1234 format_args=pi_formatargs,
    2. 1235 do_cache=do_cache,
    3. 1236 start_line=pi_lines)
    4. 1237
    5. 1238 # check for pending footnotes
    • start_line undefined
    • pi_lines = 9
  3. /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})

    1. 1317 try:
    2. 1318 code = self.loadCache(request)
    3. 1319 self.execute(request, parser, code)
    4. 1320 except 'CacheNeedsUpdate':
    5. 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>
  4. /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>)

    1. 1341 if hasattr(MoinMoin, '__loader__'):
    2. 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    3. 1343 exec code
    4. 1344
    5. 1345 def loadCache(self, request):
    • code = <code object ? at 0xb7711420, file "OrphanedPages", line 2>
  5. /srv/www/vhosts/maindisc.de/cgi-bin/OrphanedPages in ?

  6. /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)

    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>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
    • name = u'OrphanedPages'
    • args = None
  7. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, 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>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = None
  8. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/macro/OrphanedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, 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'\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>
  9. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>)

    1. 1497 cache.update('\n'.join(links) + '\n', True)
    2. 1498 return links
    3. 1499 return cache.content(True).split('\n')
    4. 1500
    5. 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
  10. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance>, decode=True)

    1. 110
    2. 111 def content(self, decode=False):
    3. 112 if not locking or locking and self.rlock.acquire(1.0):
    4. 113 try:
    5. 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>>
  11. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/util/lock.py in acquire (self=<MoinMoin.util.lock.ReadLock instance>, timeout=1.0)

    1. 296 if self._locked:
    2. 297 raise RuntimeError("lock already locked")
    3. 298 if self.writeLock.acquire(timeout):
    4. 299 try:
    5. 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
  12. /srv/www/moin/lib/python2.4/site-packages/MoinMoin/util/lock.py in acquire (self=<MoinMoin.util.lock.ExclusiveLock instance>, timeout=1.0)

    1. 113 while timer.haveTime():
    2. 114 try:
    3. 115 os.mkdir(self.lockDir)
    4. 116 self._locked = True
    5. 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)