Attachment 'configtraceback.html'
Download--> -->
ConfigurationError
Could not find required "Config" class in "stats.py". This might happen if you are trying to use a pre 1.3 configuration file, or made a syntax or spelling error.
System path is /usr/local/var/moin /var/www/cgi-bin /usr/local/lib/python24.zip /usr/local/lib/python2.4 /usr/local/lib/python2.4/plat-linux2 /usr/local/lib/python2.4/lib-tk /usr/local/lib/python2.4/lib-dynload /usr/local/lib/python2.4/site-packages.
Please check your configuration file. As an example for correct syntax, use the wikiconfig.py file from the distribution.
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.
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestCGI object>, properties={})
- 1374
- 1375 self._setup_vars_from_std_env(os.environ)
- 1376 RequestBase.__init__(self, properties)
- 1377
- 1378 except Exception, err:
- global RequestBase = <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__ = <unbound method RequestBase.__init__>
- self = <MoinMoin.request.RequestCGI object>
- properties = {}
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestCGI object>, properties={})
- 111 # order is important here!
- 112 self.__dict__.update(properties)
- 113 self._load_multi_cfg()
- 114
- 115 self.isSpiderAgent = self.check_spider()
- self = <MoinMoin.request.RequestCGI object>
- self._load_multi_cfg = <bound method RequestCGI._load_multi_cfg of <MoinMoin.request.RequestCGI object>>
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in _load_multi_cfg (self=<MoinMoin.request.RequestCGI object>)
- 259 if not hasattr(self, 'cfg'):
- 260 from MoinMoin import multiconfig
- 261 self.cfg = multiconfig.getConfig(self.url)
- 262
- 263 def setAcceptedCharsets(self, accept_charset):
- self = <MoinMoin.request.RequestCGI object>
- self.cfg undefined
- multiconfig = <module 'MoinMoin.multiconfig' from '/usr/local/...python2.4/site-packages/MoinMoin/multiconfig.py'>
- multiconfig.getConfig = <function getConfig>
- self.url = 'imaging/stats'
/usr/local/lib/python2.4/site-packages/MoinMoin/multiconfig.py in getConfig (url='imaging/stats')
- 154 config = _config_cache[configName]
- 155 except KeyError:
- 156 config = _makeConfig(configName)
- 157 config = _config_cache.setdefault(configName, config)
- 158 return config
- config undefined
- global _makeConfig = <function _makeConfig>
- configName = 'stats'
/usr/local/lib/python2.4/site-packages/MoinMoin/multiconfig.py in _makeConfig (name='stats')
- 119 use the wikiconfig.py file from the distribution.
- 120 ''' % {'name': name, 'ppath': "\n".join(sys.path)}
- 121 raise error.ConfigurationError(msg)
- 122 return cfg
- 123
- global error = <module 'MoinMoin.error' from '/usr/local/lib/python2.4/site-packages/MoinMoin/error.pyc'>
- error.ConfigurationError = <class MoinMoin.error.ConfigurationError>
- msg = '\nCould not find required "Config" class in "stat...se the wikiconfig.py file from the distribution.\n'
ConfigurationError
Could not find required "Config" class in "stats.py". This might happen if you are trying to use a pre 1.3 configuration file, or made a syntax or spelling error.
System path is /usr/local/var/moin /var/www/cgi-bin /usr/local/lib/python24.zip /usr/local/lib/python2.4 /usr/local/lib/python2.4/plat-linux2 /usr/local/lib/python2.4/lib-tk /usr/local/lib/python2.4/lib-dynload /usr/local/lib/python2.4/site-packages.
Please check your configuration file. As an example for correct syntax, use the wikiconfig.py file from the distribution.
- exceptions = <bound method ConfigurationError.exceptions of <MoinMoin.error.ConfigurationError instance>>
- innerException = (<class exceptions.AttributeError>, <exceptions.AttributeError instance>, <traceback object>)
- message = '\nCould not find required "Config" class in "stat...se the wikiconfig.py file from the distribution.\n'
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.
/usr/local/lib/python2.4/site-packages/MoinMoin/multiconfig.py in _makeConfig (name='stats')
- 92 try:
- 93 module, mtime = _importConfigModule(name)
- 94 configClass = getattr(module, 'Config')
- 95 cfg = configClass(name)
- 96 cfg.cfg_mtime = max(mtime, _farmconfig_mtime)
- configClass undefined
- builtin getattr = <built-in function getattr>
- module = <module 'MoinMoin.stats' from '/usr/local/lib/python2.4/site-packages/MoinMoin/stats/__init__.pyc'>
AttributeError
'module' object has no attribute 'Config'
- args = ("'module' object has no attribute 'Config'",)
System Details
- Date: Fri, 30 Jun 2006 11:14:49 +0000
- Platform: Linux menkar 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686
- Python: Python 2.4.2 (/usr/local/bin/python2.4)
- MoinMoin: Release 1.5.3 (release)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.