--> -->

OSError

[Errno 13] Permission denied: 'D:\\data\\DEV\\workspace\\websody\\home\\Moin\\emnosWiki\\data\\cache\\i18n\\__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. D:\data\DEV\workspace\websody\Python24\lib\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. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})

    1. 1185 pagename=self.page_name, print_mode=print_mode,
    2. 1186 media=media, pi_refresh=pi_refresh,
    3. 1187 allow_doubleclick=1, trail=trail,
    4. 1188 )
    5. 1189
    • allow_doubleclick undefined
    • trail = [u'MichaelRau', u'CategoryHomepage', u'FindPage', u'HomepageTemplate', u'RecentChanges']
  3. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\wikiutil.py in send_title (request=<MoinMoin.request.RequestCGI object>, text=u'RecentChanges', **keywords={'allow_doubleclick': 1, 'link': '/emnosWiki/RecentChanges?action=fullsearch&amp;value=linkto%3A%22RecentChanges%22&amp;context=180', 'media': 'screen', 'msg': '', 'page': <MoinMoin.Page.Page instance>, 'pagename': u'RecentChanges', 'pi_refresh': None, 'print_mode': False, 'trail': [u'MichaelRau', u'CategoryHomepage', u'FindPage', u'HomepageTemplate', u'RecentChanges']})

    1. 1254
    2. 1255 # get name of system pages
    3. 1256 page_front_page = getFrontPage(request).page_name
    4. 1257 page_help_contents = getSysPage(request, 'HelpContents').page_name
    5. 1258 page_title_index = getSysPage(request, 'TitleIndex').page_name
    • page_front_page undefined
    • global getFrontPage = <function getFrontPage>
    • request = <MoinMoin.request.RequestCGI object>
    • ).page_name undefined
  4. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\wikiutil.py in getFrontPage (request=<MoinMoin.request.RequestCGI object>)

    1. 681 @return localized page_front_page, if there is a translation
    2. 682 """
    3. 683 return getSysPage(request, request.cfg.page_front_page)
    4. 684
    5. 685
    • global getSysPage = <function getSysPage>
    • request = <MoinMoin.request.RequestCGI object>
    • request.cfg = <wikiconfig.Config instance>
    • request.cfg.page_front_page = u'MyStartingPage'
  5. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\wikiutil.py in getSysPage (request=<MoinMoin.request.RequestCGI object>, pagename=u'MyStartingPage')

    1. 650 """
    2. 651 from MoinMoin.Page import Page
    3. 652 i18n_name = request.getText(pagename, formatted=False)
    4. 653 pageobj = None
    5. 654 if i18n_name != pagename:
    • i18n_name undefined
    • request = <MoinMoin.request.RequestCGI object>
    • request.getText = <function <lambda>>
    • pagename = u'MyStartingPage'
    • formatted undefined
    • builtin False = False
  6. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\request.py in (text=u'MyStartingPage', i18n=<module 'MoinMoin.i18n' from 'D:\data\DEV\worksp...24\lib\site-packages\MoinMoin\i18n\__init__.pyc'>, request=<MoinMoin.request.RequestCGI object>, lang='en', **kv={'formatted': False})

    1. 166 # should use the user language.
    2. 167 self.content_lang = self.cfg.language_default
    3. 168 self.getText = lambda text, i18n=self.i18n, request=self, lang=self.lang, **kv: i18n.getText(text, request, lang, kv.get('formatted', True))
    4. 169
    5. 170 self.opened_logs = 0
    • self undefined
    • text = u'MyStartingPage'
    • i18n = <module 'MoinMoin.i18n' from 'D:\data\DEV\worksp...24\lib\site-packages\MoinMoin\i18n\__init__.pyc'>
    • request = <MoinMoin.request.RequestCGI object>
    • lang = 'en'
    • kv = {'formatted': False}
    • i18n.getText = <function getText>
    • kv.get = <built-in method get of dict object>
    • builtin True = True
  7. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\i18n\__init__.py in getText (str=u'MyStartingPage', request=<MoinMoin.request.RequestCGI object>, lang='en', formatted=False)

    1. 255 global _text_cache
    2. 256 if not lang in _text_cache:
    3. 257 (texts, unformatted) = loadLanguage(request, lang)
    4. 258 # XXX add error handling
    5. 259 _text_cache[lang] = texts
    • texts undefined
    • unformatted undefined
    • global loadLanguage = <function loadLanguage>
    • request = <MoinMoin.request.RequestCGI object>
    • lang = 'en'
  8. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\i18n\__init__.py in loadLanguage (request=<MoinMoin.request.RequestCGI object>, lang='en')

    1. 125 if not needsupdate:
    2. 126 try:
    3. 127 (uc_texts, uc_unformatted) = pickle.loads(cache.content())
    4. 128 except (IOError, ValueError, pickle.UnpicklingError): # bad pickle data, no pickle
    5. 129 if debug: request.log("i18n: pickle %s load failed" % lang)
    • uc_texts undefined
    • uc_unformatted undefined
    • global pickle = <module 'cPickle' (built-in)>
    • pickle.loads = <built-in function loads>
    • cache = <MoinMoin.caching.CacheEntry instance>
    • cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance>>
  9. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\caching.py in content (self=<MoinMoin.caching.CacheEntry instance>, decode=False)

    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>>
  10. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\util\lock.py in acquire (self=<MoinMoin.util.lock.ReadLock instance>, timeout=1.0)

    1. 303 return True
    2. 304 finally:
    3. 305 self.writeLock.release()
    4. 306 return False
    5. 307
    • self = <MoinMoin.util.lock.ReadLock instance>
    • self.writeLock = <MoinMoin.util.lock.ExclusiveLock instance>
    • self.writeLock.release = <bound method ExclusiveLock.release of <MoinMoin.util.lock.ExclusiveLock instance>>
  11. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\util\lock.py in release (self=<MoinMoin.util.lock.ExclusiveLock instance>)

    1. 129 if not self._locked:
    2. 130 raise RuntimeError("lock already released")
    3. 131 self._removeLockDir()
    4. 132 self._locked = False
    5. 133 # log('released lock: %s\n' % self.lockDir)
    • self = <MoinMoin.util.lock.ExclusiveLock instance>
    • self._removeLockDir = <bound method ExclusiveLock._removeLockDir of <MoinMoin.util.lock.ExclusiveLock instance>>
  12. D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\util\lock.py in _removeLockDir (self=<MoinMoin.util.lock.ExclusiveLock instance>)

    1. 180 """ Remove lockDir ignoring 'No such file or directory' errors """
    2. 181 try:
    3. 182 os.rmdir(self.lockDir)
    4. 183 except OSError, err:
    5. 184 if err.errno != errno.EEXIST:
    • global os = <module 'os' from 'D:\data\DEV\workspace\websody\Python24\lib\os.pyc'>
    • os.rmdir = <built-in function rmdir>
    • self = <MoinMoin.util.lock.ExclusiveLock instance>
    • self.lockDir = r'D:\data\DEV\workspace\websody\home\Moin\emnosWiki\data\cache\i18n\__lock__\write_lock'

OSError

[Errno 13] Permission denied: 'D:\\data\\DEV\\workspace\\websody\\home\\Moin\\emnosWiki\\data\\cache\\i18n\\__lock__\\write_lock'

  • args = (13, 'Permission denied')
  • errno = 13
  • filename = r'D:\data\DEV\workspace\websody\home\Moin\emnosWiki\data\cache\i18n\__lock__\write_lock'
  • strerror = 'Permission denied'

System Details