Bug 25920 - Accessing ldtp.freedesktop.org throws ConfigurationError
Summary: Accessing ldtp.freedesktop.org throws ConfigurationError
Status: RESOLVED FIXED
Alias: None
Product: freedesktop.org
Classification: Unclassified
Component: Wiki (show other bugs)
Version: unspecified
Hardware: Other All
: highest blocker
Assignee: fd.o Admin Massive
QA Contact: Nagappan Alagappan
URL: http://ldtp.freedesktop.org/wiki/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 12:12 UTC by Nagappan Alagappan
Modified: 2010-01-07 13:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Nagappan Alagappan 2010-01-06 12:12:16 UTC
On Accessing http://ldtp.freedesktop.org/wiki/ I get the following error message on the browser.


 --> -->
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.

Error in your configuration file "/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py" around line 38.

    * Show debugging information
    * Visit MoinMoin wiki

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.

      /var/lib/python-support/python2.5/MoinMoin/request/request_modpython.py in __init__ (self=<MoinMoin.request.request_modpython.Request object at 0x13d4f50>, req=<mp_request object at 0x1060410>, properties={})
         1. 34 env = req.subprocess_env
         2. 35 self._setup_vars_from_std_env(env)
         3. 36 RequestBase.__init__(self, properties)
         4. 37
         5. 38 except Exception, err:
          * global RequestBase = <class 'MoinMoin.request.RequestBase'>
          * RequestBase.__init__ = <unbound method RequestBase.__init__>
          * self = <MoinMoin.request.request_modpython.Request object at 0x13d4f50>
          * properties = {}
   2.

      /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_modpython.Request object at 0x13d4f50>, properties={})
         1. 214 self.__dict__.update(properties)
         2. 215 try:
         3. 216 self._load_multi_cfg()
         4. 217 except error.NoConfigMatchedError:
         5. 218 self.makeForbidden(404, 'No wiki configuration matching the URL found!\r\n')
          * self = <MoinMoin.request.request_modpython.Request object at 0x13d4f50>
          * self._load_multi_cfg = <bound method Request._load_multi_cfg of <MoinMo...t.request_modpython.Request object at 0x13d4f50>>
   3.

      /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in _load_multi_cfg (self=<MoinMoin.request.request_modpython.Request object at 0x13d4f50>)
         1. 379 if not hasattr(self, 'cfg'):
         2. 380 self.clock.start('load_multi_cfg')
         3. 381 self.cfg = multiconfig.getConfig(self.url)
         4. 382 self.clock.stop('load_multi_cfg')
         5. 383
          * self = <MoinMoin.request.request_modpython.Request object at 0x13d4f50>
          * self.cfg undefined
          * global multiconfig = <module 'MoinMoin.config.multiconfig' from '/var...pport/python2.5/MoinMoin/config/multiconfig.pyc'>
          * multiconfig.getConfig = <function getConfig at 0x13ddb90>
          * self.url = 'ldtp.freedesktop.org/wiki/'
   4.

      /var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py in getConfig (url='ldtp.freedesktop.org/wiki/')
         1. 168 cfg = _config_cache[cfgName]
         2. 169 except KeyError:
         3. 170 cfg = _makeConfig(cfgName)
         4. 171 cfg = _config_cache.setdefault(cfgName, cfg)
         5. 172 return cfg
          * cfg undefined
          * global _makeConfig = <function _makeConfig at 0x13dbde8>
          * cfgName = 'wikiconfig'
   5.

      /var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py in _makeConfig (name='wikiconfig')
         1. 120 'err': err,
         2. 121 }
         3. 122 raise error.ConfigurationError(msg)
         4. 123 except AttributeError, err:
         5. 124 msg = '''AttributeError: %(err)s
          * global error = <module 'MoinMoin.error' from '/var/lib/python-support/python2.5/MoinMoin/error.pyc'>
          * 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 at 0x13df878>)
    * 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.

      /var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py in _makeConfig (name='wikiconfig')
         1. 102 global _farmconfig_mtime
         2. 103 try:
         3. 104 module, mtime = _importConfigModule(name)
         4. 105 configClass = getattr(module, 'Config')
         5. 106 cfg = configClass(name)
          * module undefined
          * mtime undefined
          * global _importConfigModule = <function _importConfigModule at 0x1367e60>
          * name = 'wikiconfig'
   2.

      /var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py in _importConfigModule (name='wikiconfig')
         1. 36 """
         2. 37 try:
         3. 38 module = __import__(name, globals(), {})
         4. 39 mtime = os.path.getmtime(module.__file__)
         5. 40 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: Wed, 06 Jan 2010 20:06:29 +0000
    * Platform: Linux annarchy 2.6.24.1-g67d76f2a #1 SMP Sun Feb 10 17:20:21 PST 2008 x86_64
    * Python: Python 2.5.2 (/usr/bin/python)
    * MoinMoin: Release 1.6.3 (release)
Comment 1 Nagappan Alagappan 2010-01-07 13:47:39 UTC
This seems to be working today. Let me mark it as Resolved Fixed.

Thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.