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.4/site-packages/MoinMoin/request.py
in __init__
(self=<MoinMoin.request.RequestModPy object>, req=<mp_request object>)
- 1863 env=req.subprocess_env
- 1864 self._setup_vars_from_std_env(env)
- 1865 RequestBase.__init__(self)
- 1866
- 1867 except Exception, err:
- global
RequestBase
= <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__
= <unbound method RequestBase.__init__>
- self
= <MoinMoin.request.RequestModPy object>
/usr/lib/python2.4/site-packages/MoinMoin/request.py
in __init__
(self=<MoinMoin.request.RequestModPy object>, properties={})
- 111 # order is important here!
- 112 self.__dict__.update(properties)
- 113 self._load_multi_cfg()
- 114
- 115 # Set decode charsets. Input from the user is always in
- self
= <MoinMoin.request.RequestModPy object>
- self._load_multi_cfg
= <bound method RequestModPy._load_multi_cfg of <MoinMoin.request.RequestModPy object>>
/usr/lib/python2.4/site-packages/MoinMoin/request.py
in _load_multi_cfg
(self=<MoinMoin.request.RequestModPy object>)
- 240 if not hasattr(self, 'cfg'):
- 241 from MoinMoin import multiconfig
- 242 self.cfg = multiconfig.getConfig(self.url)
- 243
- 244 def setAcceptedCharsets(self, accept_charset):
- self
= <MoinMoin.request.RequestModPy object>
- self.cfg undefined
- multiconfig
= <module 'MoinMoin.multiconfig' from '/usr/lib/python2.4/site-packages/MoinMoin/multiconfig.pyc'>
- multiconfig.getConfig
= <function getConfig>
- self.url
= '192.168.254.79/mywiki/'
/usr/lib/python2.4/site-packages/MoinMoin/multiconfig.py
in getConfig
(url='192.168.254.79/mywiki/')
- 147 @return: config object for specific wiki
- 148 """
- 149 configName = _getConfigName(url)
- 150 try:
- 151 config = _config_cache[configName]
- configName undefined
- global
_getConfigName
= <function _getConfigName>
- url
= '192.168.254.79/mywiki/'
/usr/lib/python2.4/site-packages/MoinMoin/multiconfig.py
in _getConfigName
(url='192.168.254.79/mywiki/')
- 122 def _getConfigName(url):
- 123 """ Return config name for url or raise """
- 124 match = _url_re().match(url)
- 125 if not (match and match.groups()):
- 126 msg = '''
- match undefined
- global
_url_re
= <function _url_re>
- ).match undefined
- url
= '192.168.254.79/mywiki/'
/usr/lib/python2.4/site-packages/MoinMoin/multiconfig.py
in _url_re
()
- 66 pattern = '|'.join([r'(?P<%s>%s)' % (name, regex)
- 67 for name, regex in farmconfig.wikis])
- 68 _url_re_cache = re.compile(pattern)
- 69 except AttributeError:
- 70 msg = """
- global
_url_re_cache
= None
- global
re
= <module 're' from '/usr/lib/python2.4/re.pyc'>
- re.compile
= <function compile>
- pattern
= '(?P<mywiki>?.*$)'
/usr/lib/python2.4/sre.py
in compile
(pattern='(?P<mywiki>?.*$)', flags=0)
- 178 def compile(pattern, flags=0):
- 179 "Compile a regular expression pattern, returning a pattern object."
- 180 return _compile(pattern, flags)
- 181
- 182 def purge():
- global
_compile
= <function _compile>
- pattern
= '(?P<mywiki>?.*$)'
- flags
= 0
/usr/lib/python2.4/sre.py
in _compile
(*key=('(?P<mywiki>?.*$)', 0))
- 225 p = sre_compile.compile(pattern, flags)
- 226 except error, v:
- 227 raise error, v # invalid expression
- 228 if len(_cache) >= _MAXCACHE:
- 229 _cache.clear()
- global
error
= <class sre_constants.error>
- v
= <sre_constants.error instance>