--> -->

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.

  1. /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'})

    1. 1380
    2. 1381 self._setup_vars_from_std_env(os.environ)
    3. 1382 RequestBase.__init__(self, properties)
    4. 1383
    5. 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'}
  2. /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'})

    1. 139 self.__dict__.update(properties)
    2. 140 try:
    3. 141 self._load_multi_cfg()
    4. 142 except error.NoConfigMatchedError:
    5. 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>>
  3. /home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/request.py in _load_multi_cfg (self=<MoinMoin.request.RequestCGI object>)

    1. 296 if not hasattr(self, 'cfg'):
    2. 297 self.clock.start('load_multi_cfg')
    3. 298 self.cfg = multiconfig.getConfig(self.url)
    4. 299 self.clock.stop('load_multi_cfg')
    5. 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'
  4. /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')

    1. 160 config = _config_cache[configName]
    2. 161 except KeyError:
    3. 162 config = _makeConfig(configName)
    4. 163 config = _config_cache.setdefault(configName, config)
    5. 164 return config
    • config undefined
    • global _makeConfig = <function _makeConfig>
    • configName = 'wikiconfig'
  5. /home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py in _makeConfig (name='wikiconfig')

    1. 113 'err': err,
    2. 114 }
    3. 115 raise error.ConfigurationError(msg)
    4. 116 except AttributeError, err:
    5. 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.

  1. /home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py in _makeConfig (name='wikiconfig')

    1. 95 global _farmconfig_mtime
    2. 96 try:
    3. 97 module, mtime = _importConfigModule(name)
    4. 98 configClass = getattr(module, 'Config')
    5. 99 cfg = configClass(name)
    • module undefined
    • mtime undefined
    • global _importConfigModule = <function _importConfigModule>
    • name = 'wikiconfig'
  2. /home/groups/q/qc/qcell/moin-lib/lib/python2.3/site-packages/MoinMoin/multiconfig.py in _importConfigModule (name='wikiconfig')

    1. 29 # FIXME if someone calls his config module stats.py, it gets confused
    2. 30 # with MoinMoin.stats built-in statistics module and fails.
    3. 31 module = __import__(name, globals(), {})
    4. 32 mtime = os.path.getmtime(module.__file__)
    5. 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