A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestStandAlone object at 0x8331eac>)
- 1127 # Use localized FrontPage if pagename is empty
- 1128 if not pagename:
- 1129 self.page = wikiutil.getFrontPage(self)
- 1130 else:
- 1131 self.page = Page(self, pagename)
- self
= <MoinMoin.request.RequestStandAlone object at 0x8331eac>
- self.page
= None
- global
wikiutil
= <module 'MoinMoin.wikiutil' from '/home/andreas/...oads/MoinMoin/moin-desktop/MoinMoin/wikiutil.py'>
- wikiutil.getFrontPage
= <function getFrontPage at 0xb7a21a3c>
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/wikiutil.py
in getFrontPage
(request=<MoinMoin.request.RequestStandAlone object at 0x8331eac>)
- 684 @return localized page_front_page, if there is a translation
- 685 """
- 686 return getSysPage(request, request.cfg.page_front_page)
- 687
- 688
- global
getSysPage
= <function getSysPage at 0xb7a21a04>
- request
= <MoinMoin.request.RequestStandAlone object at 0x8331eac>
- request.cfg
= <wikiconfig.Config instance at 0x82a674c>
- request.cfg.page_front_page
= u'FrontPage'
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/wikiutil.py
in getSysPage
(request=<MoinMoin.request.RequestStandAlone object at 0x8331eac>, pagename=u'FrontPage')
- 653 """
- 654 from MoinMoin.Page import Page
- 655 i18n_name = request.getText(pagename, formatted=False)
- 656 pageobj = None
- 657 if i18n_name != pagename:
- i18n_name undefined
- request
= <MoinMoin.request.RequestStandAlone object at 0x8331eac>
- request.getText
= <function <lambda> at 0x833c5a4>
- pagename
= u'FrontPage'
- formatted undefined
- builtin
False
= False
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/request.py
in
(text=u'FrontPage', i18n=<module 'MoinMoin.i18n' from
'/home/andreas/Docu...MoinMoin/moin-desktop/MoinMoin/i18n/__init__.py'>,
request=<MoinMoin.request.RequestStandAlone object at 0x8331eac>,
lang='de', **kv={'formatted': False})
- 195 # but generated content like search results should use the user language.
- 196 self.content_lang = self.cfg.language_default
- 197 self.getText = lambda text, i18n=self.i18n,
request=self, lang=self.lang, **kv: i18n.getText(text, request, lang,
kv.get('formatted', True))
- 198
- 199 self.opened_logs = 0
- self undefined
- text
= u'FrontPage'
- i18n
= <module 'MoinMoin.i18n' from '/home/andreas/Docu...MoinMoin/moin-desktop/MoinMoin/i18n/__init__.py'>
- request
= <MoinMoin.request.RequestStandAlone object at 0x8331eac>
- lang
= 'de'
- kv
= {'formatted': False}
- i18n.getText
= <function getText at 0x82c410c>
- kv.get
= <built-in method get of dict object at 0x82a4b54>
- builtin
True
= True
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/i18n/__init__.py
in getText
(str=u'FrontPage', request=<MoinMoin.request.RequestStandAlone object at 0x8331eac>, lang='de', 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 at 0x82c7fb4>
- request
= <MoinMoin.request.RequestStandAlone object at 0x8331eac>
- lang
= 'de'
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/i18n/__init__.py
in loadLanguage
(request=<MoinMoin.request.RequestStandAlone object at 0x8331eac>, lang='de')
- 166 uc_texts = uc_unformatted
- 167 if debug: request.log("i18n: dumping lang %s" % lang)
- 168 cache.update(pickle.dumps((uc_texts, uc_unformatted), PICKLE_PROTOCOL))
- 169 request.clock.stop('loadLanguage')
- 170 return uc_texts, uc_unformatted
- cache
= <MoinMoin.caching.CacheEntry instance at 0x8345fec>
- cache.update
= <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance at 0x8345fec>>
- global
pickle
= <module 'cPickle' from '/usr/lib/python2.5/lib-dynload/cPickle.so'>
- pickle.dumps
= <built-in function dumps>
- uc_texts
= {u" Emphasis:: [[Verbatim('')]]''italics''[[Verbati...more help, see HelpOnEditing or SyntaxReference.\n": u'<dl><dt>Betonung</dt><dd>\'\'<em>kursiv</em>\'\'; \'\'...stent"
href="/SyntaxReferenz">SyntaxReferenz</a>.', u'# of hits':
u'Anzahl der Zugriffe', u'# of pages of this size': u'Anzahl der Seiten
in dieser Gr\xf6\xdfenklasse', u'## backup
of page "%(pagename)s" submitted %(date)s': '', u'%(chart_title)s for
%(filterpage)s': u'%(chart_title)s f\xfcr
%(filterpage)s', u'%(errortype)s processing error':
u'Verarbeitungsfehler vom Typ "%(errortype)s"', u'%(hits)d results out
of about %(pages)d pages.': u'%(hits)d Treffer in ungef\xe4hr
%(pages)d durchsuchten Seiten.', u'%(matchcount)d %(matches)s for
"%(title)s"': u'%(matchcount)d %(matches)s passen zu "%(title)s"',
u'%(mins)dm ago': u'vor %(mins)dm', u'%.2f seconds': u'%.2f Sekunden',
...}
- uc_unformatted
= {u" Emphasis:: [[Verbatim('')]]''italics''[[Verbati...more help, see HelpOnEditing or SyntaxReference.\n": u" Betonung:: [[Verbatim('')]]''kursiv''[[Verbatim...Sie unter HilfeZumEditieren oder SyntaxReferenz.\n", u'# of hits': u'Anzahl der Zugriffe', u'# of pages of this size': u'Anzahl der Seiten in dieser Gr\xf6\xdfenklasse',
u'## backup of page "%(pagename)s" submitted %(date)s': u'## Sicherung
der Seite "%(pagename)s" vom %(date)s', u'%(chart_title)s for
%(filterpage)s': u'%(chart_title)s f\xfcr
%(filterpage)s', u'%(errortype)s processing error':
u'Verarbeitungsfehler vom Typ "%(errortype)s"', u'%(hits)d results out
of about %(pages)d pages.': u'%(hits)d Treffer in ungef\xe4hr
%(pages)d durchsuchten Seiten.', u'%(matchcount)d %(matches)s for
"%(title)s"': u'%(matchcount)d %(matches)s passen zu "%(title)s"',
u'%(mins)dm ago': u'vor %(mins)dm', u'%.2f seconds': u'%.2f Sekunden',
...}
- global
PICKLE_PROTOCOL
= 2
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/caching.py
in update
(self=<MoinMoin.caching.CacheEntry instance at 0x8345fec>, content='\x80\x02}q\x01(X\x16\x00\x00\x00last modified %(time)sq\x02X\x1a\x00\x00\x00zuletzt ...Dateianhangr\x88\x05\x00\x00j\xaf\x03\x00\x00X\x0f\x00\x00\x00Editieren (GUI)r\x89\x05\x00\x00u\x86.', encode=False)
- 103 f.close()
- 104 # this is either atomic or happening with real locks set:
- 105 filesys.rename(tmpfname, fname)
- 106 finally:
- 107 self.wlock.release()
- global
filesys
= <module 'MoinMoin.util.filesys' from '/home/andr.../MoinMoin/moin-desktop/MoinMoin/util/filesys.py'>
- filesys.rename
= <function rename at 0xb7a2133c>
- tmpfname
= '/tmp/deF6Boxb'
- fname
= '/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/wiki/data/cache/i18n/de'
/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/MoinMoin/util/filesys.py
in rename
(oldname='/tmp/deF6Boxb', newname='/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/wiki/data/cache/i18n/de')
- 78 except OSError, er:
- 79 pass # let os.rename give us the error (if any)
- 80 os.rename(oldname, newname)
- 81
- 82
- global
os
= <module 'os' from '/usr/lib/python2.5/os.pyc'>
- os.rename
= <built-in function rename>
- oldname
= '/tmp/deF6Boxb'
- newname
= '/home/andreas/Documents/Downloads/MoinMoin/moin-desktop/wiki/data/cache/i18n/de'