A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
D:\data\DEV\workspace\websody\Python24\lib\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
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})
- 1185 pagename=self.page_name, print_mode=print_mode,
- 1186 media=media, pi_refresh=pi_refresh,
- 1187 allow_doubleclick=1, trail=trail,
- 1188 )
- 1189
- allow_doubleclick undefined
- trail
= [u'MichaelRau', u'CategoryHomepage', u'FindPage', u'HomepageTemplate', u'RecentChanges']
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&value=linkto%3A%22RecentChanges%22&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']})
- 1254
- 1255 # get name of system pages
- 1256 page_front_page = getFrontPage(request).page_name
- 1257 page_help_contents = getSysPage(request, 'HelpContents').page_name
- 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
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\wikiutil.py
in getFrontPage
(request=<MoinMoin.request.RequestCGI object>)
- 681 @return localized page_front_page, if there is a translation
- 682 """
- 683 return getSysPage(request, request.cfg.page_front_page)
- 684
- 685
- global
getSysPage
= <function getSysPage>
- request
= <MoinMoin.request.RequestCGI object>
- request.cfg
= <wikiconfig.Config instance>
- request.cfg.page_front_page
= u'MyStartingPage'
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\wikiutil.py
in getSysPage
(request=<MoinMoin.request.RequestCGI object>, pagename=u'MyStartingPage')
- 650 """
- 651 from MoinMoin.Page import Page
- 652 i18n_name = request.getText(pagename, formatted=False)
- 653 pageobj = None
- 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
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})
- 166 # should use the user language.
- 167 self.content_lang = self.cfg.language_default
- 168 self.getText = lambda text, i18n=self.i18n, request=self, lang=self.lang, **kv: i18n.getText(text, request, lang, kv.get('formatted', True))
- 169
- 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
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)
- 255 global _text_cache
- 256 if not lang in _text_cache:
- 257 (texts, unformatted) = loadLanguage(request, lang)
- 258 # XXX add error handling
- 259 _text_cache[lang] = texts
- texts undefined
- unformatted undefined
- global
loadLanguage
= <function loadLanguage>
- request
= <MoinMoin.request.RequestCGI object>
- lang
= 'en'
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\i18n\__init__.py
in loadLanguage
(request=<MoinMoin.request.RequestCGI object>, lang='en')
- 125 if not needsupdate:
- 126 try:
- 127 (uc_texts, uc_unformatted) = pickle.loads(cache.content())
- 128 except (IOError, ValueError, pickle.UnpicklingError): # bad pickle data, no pickle
- 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>>
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\caching.py
in content
(self=<MoinMoin.caching.CacheEntry instance>, decode=False)
- 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>>
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\util\lock.py
in acquire
(self=<MoinMoin.util.lock.ReadLock instance>, timeout=1.0)
- 303 return True
- 304 finally:
- 305 self.writeLock.release()
- 306 return False
- 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>>
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\util\lock.py
in release
(self=<MoinMoin.util.lock.ExclusiveLock instance>)
- 129 if not self._locked:
- 130 raise RuntimeError("lock already released")
- 131 self._removeLockDir()
- 132 self._locked = False
- 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>>
D:\data\DEV\workspace\websody\Python24\lib\site-packages\MoinMoin\util\lock.py
in _removeLockDir
(self=<MoinMoin.util.lock.ExclusiveLock instance>)
- 180 """ Remove lockDir ignoring 'No such file or directory' errors """
- 181 try:
- 182 os.rmdir(self.lockDir)
- 183 except OSError, err:
- 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'