Attachment 'traceback.htm'

Download

WindowsError

[Error 5] Access is denied: './underlay/pages\\FrontPage\\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. C:\Moin\Lib\site-packages\MoinMoin\request.py in run (self=<MoinMoin.request.RequestCGI object at 0x0095AB70>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function do_show at 0x00BAED70>
    • self = <MoinMoin.request.RequestCGI object at 0x0095AB70>
    • self.page = <MoinMoin.Page.Page instance at 0x00CD9698>
    • self.page.page_name = u'FrontPage'
  2. C:\Moin\Lib\site-packages\MoinMoin\wikiaction.py in do_show (pagename=u'FrontPage', request=<MoinMoin.request.RequestCGI object at 0x0095AB70>)

    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 0x00B86720>
    • request = <MoinMoin.request.RequestCGI object at 0x0095AB70>
    • pagename = u'FrontPage'
    • ).send_page undefined
    • count_hit undefined
  3. C:\Moin\Lib\site-packages\MoinMoin\Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x00B2EF80>, request=<MoinMoin.request.RequestCGI object at 0x0095AB70>, 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 = 6
  4. C:\Moin\Lib\site-packages\MoinMoin\Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x00B2EF80>, request=<MoinMoin.request.RequestCGI object at 0x0095AB70>, Parser=<class MoinMoin.parser.wiki.Parser at 0x00D96F90>, body=u'= WikiName Wiki =\n\nWhat is this wiki about?\n\nInt...stions page. \n\nThis wiki is powered by MoinMoin.\n', format_args=u'', do_cache=1, **kw={'start_line': 6})

    1. 1350 raise
    2. 1351 try:
    3. 1352 code = self.makeCache(request, parser)
    4. 1353 self.execute(request, parser, code)
    5. 1354 except Exception, e:
    • code undefined
    • self = <MoinMoin.Page.Page instance at 0x00B2EF80>
    • self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance at 0x00B2EF80>>
    • request = <MoinMoin.request.RequestCGI object at 0x0095AB70>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x00CD9A30>
  5. C:\Moin\Lib\site-packages\MoinMoin\Page.py in makeCache (self=<MoinMoin.Page.Page instance at 0x00B2EF80>, request=<MoinMoin.request.RequestCGI object at 0x0095AB70>, parser=<MoinMoin.parser.wiki.Parser instance at 0x00CD9A30>)

    1. 1416 self.page_name.encode(config.charset), 'exec')
    2. 1417 cache = caching.CacheEntry(request, self, self.getFormatterName())
    3. 1418 cache.update(marshal.dumps(code))
    4. 1419 self.cache_mtime = cache.mtime()
    5. 1420 return code
    • cache = <MoinMoin.caching.CacheEntry instance at 0x008BF670>
    • cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance at 0x008BF670>>
    • marshal = <module 'marshal' (built-in)>
    • marshal.dumps = <built-in function dumps>
    • code = <code object <module> at 00CB6770, file "FrontPage", line 2>
  6. C:\Moin\Lib\site-packages\MoinMoin\caching.py in update (self=<MoinMoin.caching.CacheEntry instance at 0x008BF670>, content='c\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00@\x00\x00\x00s2\x06\x00\x00e\x00\x00e\x01\x00i\x02\x00i\x03\x00e\x01\x00i\x02\x00i\x04\x00e\x05\x00\x83\x01...\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01=\x01\r\x01\x1f\x01\r\x01', encode=False)

    1. 71 if encode:
    2. 72 content = content.encode(config.charset)
    3. 73 if self.wlock.acquire(1.0):
    4. 74 try:
    5. 75 # we do not write content to old inode, but to a new file
    • self = <MoinMoin.caching.CacheEntry instance at 0x008BF670>
    • self.wlock = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
    • self.wlock.acquire = <bound method LazyWriteLock.acquire of <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>>
  7. C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>, timeout=1.0)

    1. 373 def acquire(self, timeout=None):
    2. 374 if sys.platform == 'win32':
    3. 375 return WriteLock.acquire(self, timeout)
    4. 376 else: # POSIX
    5. 377 self._locked = True
    • global WriteLock = <class MoinMoin.util.lock.WriteLock at 0x00B00E70>
    • WriteLock.acquire = <unbound method WriteLock.acquire>
    • self = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
    • timeout = 1.0
  8. C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>, timeout=1.0)

    1. 228 timer = self.timerClass(timeout)
    2. 229 timer.start()
    3. 230 if ExclusiveLock.acquire(self, timeout):
    4. 231 try:
    5. 232 while timer.haveTime():
    • global ExclusiveLock = <class MoinMoin.util.lock.ExclusiveLock at 0x00B00E40>
    • ExclusiveLock.acquire = <unbound method ExclusiveLock.acquire>
    • self = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
    • timeout = 1.0
  9. C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>, timeout=1.0)

    1. 120 if err.errno != errno.EEXIST:
    2. 121 raise
    3. 122 if self.expire():
    4. 123 continue # Try immediately to acquire
    5. 124 timer.sleep()
    • self = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
    • self.expire = <bound method LazyWriteLock.expire of <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>>
  10. C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in expire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>)

    1. 398 def expire(self):
    2. 399 if sys.platform == 'win32':
    3. 400 return WriteLock.expire(self)
    4. 401 else: # POSIX
    5. 402 return True
    • global WriteLock = <class MoinMoin.util.lock.WriteLock at 0x00B00E70>
    • WriteLock.expire = <unbound method WriteLock.expire>
    • self = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
  11. C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in expire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>)

    1. 160 """ Return True if the lock is expired or missing; False otherwise. """
    2. 161 if self.isExpired():
    3. 162 self._removeLockDir()
    4. 163 # log("expired lock: %s\n" % self.lockDir)
    5. 164 return True
    • self = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
    • self._removeLockDir = <bound method LazyWriteLock._removeLockDir of <M....util.lock.LazyWriteLock instance at 0x008D01C0>>
  12. C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in _removeLockDir (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>)

    1. 179 """ Remove lockDir ignoring 'No such file or directory' errors """
    2. 180 try:
    3. 181 os.rmdir(self.lockDir)
    4. 182 except OSError, err:
    5. 183 if err.errno != errno.ENOENT:
    • global os = <module 'os' from 'C:\Python25\lib\os.pyc'>
    • os.rmdir = <built-in function rmdir>
    • self = <MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>
    • self.lockDir = r'./underlay/pages\FrontPage\cache\__lock__\write_lock'

WindowsError

[Error 5] Access is denied: './underlay/pages\\FrontPage\\cache\\__lock__\\write_lock'

  • args = (5, 'Access is denied')
  • errno = 13
  • filename = r'./underlay/pages\FrontPage\cache\__lock__\write_lock'
  • message = ''
  • strerror = 'Access is denied'
  • winerror = 5

System Details

  • Date: Fri, 15 Jun 2007 13:00:55 +0000
  • Platform: win32 (nt)
  • Python: Python 2.5.1 (C:\Python25\python.exe)
  • MoinMoin: Release 1.5.8 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.