Attachment 'traceback.html'
DownloadWindowsError
[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.
C:\Moin\Lib\site-packages\MoinMoin\request.py in run (self=<MoinMoin.request.RequestCGI object at 0x0095AB70>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 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'
C:\Moin\Lib\site-packages\MoinMoin\wikiaction.py in do_show (pagename=u'FrontPage', request=<MoinMoin.request.RequestCGI object at 0x0095AB70>)
- 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 0x00B86720>
- request = <MoinMoin.request.RequestCGI object at 0x0095AB70>
- pagename = u'FrontPage'
- ).send_page undefined
- count_hit undefined
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})
- 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 = 6
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})
- 1350 raise
- 1351 try:
- 1352 code = self.makeCache(request, parser)
- 1353 self.execute(request, parser, code)
- 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>
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>)
- 1416 self.page_name.encode(config.charset), 'exec')
- 1417 cache = caching.CacheEntry(request, self, self.getFormatterName())
- 1418 cache.update(marshal.dumps(code))
- 1419 self.cache_mtime = cache.mtime()
- 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>
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)
- 71 if encode:
- 72 content = content.encode(config.charset)
- 73 if self.wlock.acquire(1.0):
- 74 try:
- 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>>
C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>, timeout=1.0)
- 373 def acquire(self, timeout=None):
- 374 if sys.platform == 'win32':
- 375 return WriteLock.acquire(self, timeout)
- 376 else: # POSIX
- 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
C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>, timeout=1.0)
- 228 timer = self.timerClass(timeout)
- 229 timer.start()
- 230 if ExclusiveLock.acquire(self, timeout):
- 231 try:
- 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
C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>, timeout=1.0)
- 120 if err.errno != errno.EEXIST:
- 121 raise
- 122 if self.expire():
- 123 continue # Try immediately to acquire
- 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>>
C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in expire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>)
- 398 def expire(self):
- 399 if sys.platform == 'win32':
- 400 return WriteLock.expire(self)
- 401 else: # POSIX
- 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>
C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in expire (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>)
- 160 """ Return True if the lock is expired or missing; False otherwise. """
- 161 if self.isExpired():
- 162 self._removeLockDir()
- 163 # log("expired lock: %s\n" % self.lockDir)
- 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>>
C:\Moin\Lib\site-packages\MoinMoin\util\lock.py in _removeLockDir (self=<MoinMoin.util.lock.LazyWriteLock instance at 0x008D01C0>)
- 179 """ Remove lockDir ignoring 'No such file or directory' errors """
- 180 try:
- 181 os.rmdir(self.lockDir)
- 182 except OSError, err:
- 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)