ConfigurationError
ImportError: No module named wikiconfig
Check that the file is in the same directory as the server script. If
it is not, you must add the path of the directory where the file is
located to the python path in the server script. See the comments at
the top of the server script.
Check that the configuration file name is either "wikiconfig.py" or the
module name specified in the wikis list in farmconfig.py. Note that the
module name does not include the ".py" suffix.
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.
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/request.py
in __init__
(self=<MoinMoin.request.RequestCGI object>, properties={'script_name': '/qcell-wiki'})
- 1380
- 1381 self._setup_vars_from_std_env(os.environ)
- 1382 RequestBase.__init__(self, properties)
- 1383
- 1384 except Exception, err:
- global
RequestBase
= <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__
= <unbound method RequestBase.__init__>
- self
= <MoinMoin.request.RequestCGI object>
- properties
= {'script_name': '/qcell-wiki'}
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/request.py
in __init__
(self=<MoinMoin.request.RequestCGI object>, properties={'script_name': '/qcell-wiki'})
- 139 self.__dict__.update(properties)
- 140 try:
- 141 self._load_multi_cfg()
- 142 except error.NoConfigMatchedError:
- 143 self.makeForbidden(404, 'No wiki configuration matching the URL found!\r\n')
- self
= <MoinMoin.request.RequestCGI object>
- self._load_multi_cfg
= <bound method RequestCGI._load_multi_cfg of <MoinMoin.request.RequestCGI object>>
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/request.py
in _load_multi_cfg
(self=<MoinMoin.request.RequestCGI object>)
- 296 if not hasattr(self, 'cfg'):
- 297 self.clock.start('load_multi_cfg')
- 298 self.cfg = multiconfig.getConfig(self.url)
- 299 self.clock.stop('load_multi_cfg')
- 300
- self
= <MoinMoin.request.RequestCGI object>
- self.cfg undefined
- global
multiconfig
= <module 'MoinMoin.multiconfig' from '/home/group...python2.3/site-packages/MoinMoin/multiconfig.py'>
- multiconfig.getConfig
= <function getConfig>
- self.url
= 'qcell.sourceforge.net/cgi-bin/moin.cgi'
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py
in getConfig
(url='qcell.sourceforge.net/cgi-bin/moin.cgi')
- 160 config = _config_cache[configName]
- 161 except KeyError:
- 162 config = _makeConfig(configName)
- 163 config = _config_cache.setdefault(configName, config)
- 164 return config
- config undefined
- global
_makeConfig
= <function _makeConfig>
- configName
= 'wikiconfig'
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py
in _makeConfig
(name='wikiconfig')
- 113 'err': err,
- 114 }
- 115 raise error.ConfigurationError(msg)
- 116 except AttributeError, err:
- 117 msg = '''AttributeError: %(err)s
- global
error
= <module 'MoinMoin.error' from '/home/groups/q/qc...b/lib/python2.3/site-packages/MoinMoin/error.py'>
- error.ConfigurationError
= <class 'MoinMoin.error.ConfigurationError'>
- msg
= 'ImportError: No module named wikiconfig\n\nCheck t...e\nmodule name does not include the ".py" suffix.\n'
ConfigurationError
ImportError: No module named wikiconfig
Check that the file is in the same directory as the server script. If
it is not, you must add the path of the directory where the file is
located to the python path in the server script. See the comments at
the top of the server script.
Check that the configuration file name is either "wikiconfig.py" or the
module name specified in the wikis list in farmconfig.py. Note that the
module name does not include the ".py" suffix.
- args = ()
- exceptions = <bound method ConfigurationError.exceptions of ConfigurationError()>
- innerException = (<type 'exceptions.ImportError'>, ImportError('No module named wikiconfig',), <traceback object>)
- message = 'ImportError: No module named wikiconfig\n\nCheck t...e\nmodule name does not include the ".py" suffix.\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.
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py
in _makeConfig
(name='wikiconfig')
- 95 global _farmconfig_mtime
- 96 try:
- 97 module, mtime = _importConfigModule(name)
- 98 configClass = getattr(module, 'Config')
- 99 cfg = configClass(name)
- module undefined
- mtime undefined
- global
_importConfigModule
= <function _importConfigModule>
- name
= 'wikiconfig'
/home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py
in _importConfigModule
(name='wikiconfig')
- 29 # FIXME if someone calls his config module stats.py, it gets confused
- 30 # with MoinMoin.stats built-in statistics module and fails.
- 31 module = __import__(name, globals(), {})
- 32 mtime = os.path.getmtime(module.__file__)
- 33 except ImportError:
- module undefined
- builtin
__import__
= <built-in function __import__>
- name
= 'wikiconfig'
- builtin
globals
= <built-in function globals>
ImportError
No module named wikiconfig
- args = ('No module named wikiconfig',)
- message = 'No module named wikiconfig'
System Details
- Date: Thu, 28 Mar 2024 17:19:02 +0000
- Platform: Linux sfp-ioweb82-1.v30.lw.sourceforge.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
- Python: Python 2.7.5 (/bin/python)
- MoinMoin: Release 1.5.6 (release)