A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/usr/lib/python2.6/site-packages/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestModPy object>)
- 1109 # parse request data
- 1110 try:
- 1111 self.initTheme()
- 1112
- 1113 action = self.form.get('action', [None])[0]
- self
= <MoinMoin.request.RequestModPy object>
- self.initTheme
= <bound method RequestModPy.initTheme of <MoinMoin.request.RequestModPy object>>
/usr/lib/python2.6/site-packages/MoinMoin/request.py
in initTheme
(self=<MoinMoin.request.RequestModPy object>)
- 1084 else:
- 1085 theme_name = self.user.theme_name
- 1086 self.loadTheme(theme_name)
- 1087
- 1088 def run(self):
- self
= <MoinMoin.request.RequestModPy object>
- self.loadTheme
= <bound method RequestModPy.loadTheme of <MoinMoin.request.RequestModPy object>>
- theme_name
= 'monobook'
/usr/lib/python2.6/site-packages/MoinMoin/request.py
in loadTheme
(self=<MoinMoin.request.RequestModPy object>, theme_name='monobook')
- 620
- 621 try:
- 622 Theme = wikiutil.importPlugin(self.cfg, 'theme', theme_name, 'Theme')
- 623 except wikiutil.PluginMissingError:
- 624 fallback = 1
- Theme undefined
- global
wikiutil
= <module 'MoinMoin.wikiutil' from '/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.pyc'>
- wikiutil.importPlugin
= <function importPlugin>
- self
= <MoinMoin.request.RequestModPy object>
- self.cfg
= <wikiconfig.Config instance>
- theme_name
= 'monobook'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py
in importPlugin
(cfg=<wikiconfig.Config instance>, kind='theme', name='monobook', function='Theme')
- 802 """
- 803 try:
- 804 return importWikiPlugin(cfg, kind, name, function)
- 805 except PluginMissingError:
- 806 return importBuiltinPlugin(kind, name, function)
- global
importWikiPlugin
= <function importWikiPlugin>
- cfg
= <wikiconfig.Config instance>
- kind
= 'theme'
- name
= 'monobook'
- function
= 'Theme'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py
in importWikiPlugin
(cfg=<wikiconfig.Config instance>, kind='theme', name='monobook', function='Theme')
- 812 See importPlugin docstring.
- 813 """
- 814 if not name in wikiPlugins(kind, cfg):
- 815 raise PluginMissingError
- 816 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
- name
= 'monobook'
- global
wikiPlugins
= <function wikiPlugins>
- kind
= 'theme'
- cfg
= <wikiconfig.Config instance>
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py
in wikiPlugins
(kind='theme', cfg=<wikiconfig.Config instance>)
- 864 # Wiki plugins are located in wikiconfig.plugin module
- 865 modulename = '%s.plugin.%s' % (cfg.siteid, kind)
- 866 return pysupport.importName(modulename, "modules")
- 867
- 868
- global
pysupport
= <module 'MoinMoin.util.pysupport' from '/usr/lib...hon2.6/site-packages/MoinMoin/util/pysupport.py'>
- pysupport.importName
= <function importName>
- modulename
= 'wikiconfig.plugin.theme'
/usr/lib/python2.6/site-packages/MoinMoin/util/pysupport.py
in importName
(modulename='wikiconfig.plugin.theme', name='modules')
- 66 @return: name from module
- 67 """
- 68 module = __import__(modulename, globals(), {}, [name])
- 69 return getattr(module, name)
- 70
- module undefined
- builtin
__import__
= <built-in function __import__>
- modulename
= 'wikiconfig.plugin.theme'
- builtin
globals
= <built-in function globals>
- name
= 'modules'