← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 821398] [NEW] Loco Directory site can't be used, error reported

 

Public bug reported:

I was about to enter a new event and tried going to
http://loco.ubuntu.com. It fails with this error:

LoCo Directory has encountered an Error!
Please try your request again.
If you continue to experience problems with LoCo Team Directory, please Report it!

Trying the equivalent https://loco.ubuntu.com thrwos an SSL exception:

loco.ubuntu.com uses an invalid security certificate.

The certificate is not trusted because it is self-signed.
The certificate is only valid for cranberry.canonical.com
The certificate expired on 09/14/2008 12:05 AM. The current time is 08/05/2011 06:38 AM.

(Error code: sec_error_expired_issuer_certificate)

Once I've added the certificate (which in itself should not be required
and is another security problem), I get this error:

data_dir "/srv/testcases.qa.ubuntu.com/www/data" does not exists, or has
incorrect ownership or permissions.

Make sure the directory and the subdirectory pages are owned by the web
server and are readable, writable and executable by the web server user
and group.

It is recommended to use absolute paths and not relative paths. Check
also the spelling of the directory name.

Error in your configuration file
"/usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py" around
line 188.

    Show debugging information
    Visit MoinMoin wiki

Clicking on debugging info throws this:

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/lib/pymodules/python2.6/MoinMoin/request/request_fcgi.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object>, fcgRequest=<MoinMoin.support.thfcgi.Request instance>, env={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utma=27501688.1337280502.1312512531.1312512531...1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'HTTP_HOST': 'testcases.qa.ubuntu.com', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0', ...}, form=FieldStorage(None, None, []), properties={'script_name': '/'})
        26 self.fcgform = form
        27 self._setup_vars_from_std_env(env)
        28 RequestBase.__init__(self, properties)
        29
        30 except Exception, err:
        global RequestBase = <class 'MoinMoin.request.RequestBase'>
        RequestBase.__init__ = <unbound method RequestBase.__init__>
        self = <MoinMoin.request.request_fcgi.Request object>
        properties = {'script_name': '/'}

    /usr/lib/pymodules/python2.6/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object>, properties={'script_name': '/'})
        156 self.__dict__.update(properties)
        157 try:
        158 self._load_multi_cfg()
        159 except error.NoConfigMatchedError:
        160 self.makeForbidden(404, 'No wiki configuration matching the URL found!\r\n')
        self = <MoinMoin.request.request_fcgi.Request object>
        self._load_multi_cfg = <bound method Request._load_multi_cfg of <MoinMoin.request.request_fcgi.Request object>>

    /usr/lib/pymodules/python2.6/MoinMoin/request/__init__.py in _load_multi_cfg (self=<MoinMoin.request.request_fcgi.Request object>)
        343 if not hasattr(self, 'cfg'):
        344 self.clock.start('load_multi_cfg')
        345 self.cfg = multiconfig.getConfig(self.url)
        346 self.clock.stop('load_multi_cfg')
        347
        self = <MoinMoin.request.request_fcgi.Request object>
        self.cfg undefined
        global multiconfig = <module 'MoinMoin.config.multiconfig' from '/usr...dules/python2.6/MoinMoin/config/multiconfig.pyc'>
        multiconfig.getConfig = <function getConfig>
        self.url = 'testcases.qa.ubuntu.com/'

    /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in getConfig (url='testcases.qa.ubuntu.com/')
        188 cfg = _config_cache[cfgName]
        189 except KeyError:
        190 cfg = _makeConfig(cfgName)
        191 cfg = _config_cache.setdefault(cfgName, cfg)
        192 return cfg
        cfg undefined
        global _makeConfig = <function _makeConfig>
        cfgName = 'wikiconfig'

    /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in _makeConfig (name='wikiconfig')
        105 module, mtime = _importConfigModule(name)
        106 configClass = getattr(module, 'Config')
        107 cfg = configClass(name)
        108 cfg.cfg_mtime = max(mtime, _farmconfig_mtime)
        109 except ImportError, err:
        cfg undefined
        configClass = <class wikiconfig.Config>
        name = 'wikiconfig'

    /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in __init__ (self=<wikiconfig.Config instance>, siteid='wikiconfig')
        732 self.cache.ua_spiders = self.ua_spiders and re.compile(self.ua_spiders, re.I)
        733
        734 self._check_directories()
        735
        736 if not isinstance(self.superuser, list):
        self = <wikiconfig.Config instance>
        self._check_directories = <bound method Config._check_directories of <wikiconfig.Config instance>>

    /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in _check_directories (self=<wikiconfig.Config instance>)
        944 also the spelling of the directory name.
        945 ''' % {'attr': attr, 'path': path, }
        946 raise error.ConfigurationError(msg)
        947
        948 def _loadPluginModule(self):
        global error = <module 'MoinMoin.error' from '/usr/lib/pymodules/python2.6/MoinMoin/error.pyc'>
        error.ConfigurationError = <class 'MoinMoin.error.ConfigurationError'>
        msg = '\ndata_dir "/srv/testcases.qa.ubuntu.com/www/data.... Check\nalso the spelling of the directory name.\n'

ConfigurationError

data_dir "/srv/testcases.qa.ubuntu.com/www/data" does not exists, or has
incorrect ownership or permissions.

Make sure the directory and the subdirectory pages are owned by the web
server and are readable, writable and executable by the web server user
and group.

It is recommended to use absolute paths and not relative paths. Check
also the spelling of the directory name.

    args = ()
    exceptions = <bound method ConfigurationError.exceptions of ConfigurationError()>
    innerException = (<type 'exceptions.KeyError'>, KeyError('wikiconfig',), <traceback object>)
    message = '\ndata_dir "/srv/testcases.qa.ubuntu.com/www/data.... Check\nalso the spelling of the directory name.\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/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in getConfig (url='testcases.qa.ubuntu.com/')
        186 cfgName = _getConfigName(url)
        187 try:
        188 cfg = _config_cache[cfgName]
        189 except KeyError:
        190 cfg = _makeConfig(cfgName)
        cfg undefined
        global _config_cache = {}
        cfgName = 'wikiconfig'

KeyError

'wikiconfig'

    args = ('wikiconfig',)
    message = 'wikiconfig'

System Details

    Date: Fri, 05 Aug 2011 10:39:08 +0000
    Platform: Linux cranberry 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64
    Python: Python 2.6.5 (/usr/bin/python)
    MoinMoin: Release 1.6.3 (release)

** Affects: loco-directory
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to LoCo Team Directory.
https://bugs.launchpad.net/bugs/821398

Title:
  Loco Directory site can't be used, error reported

Status in LoCo Team Directory:
  New

Bug description:
  I was about to enter a new event and tried going to
  http://loco.ubuntu.com. It fails with this error:

  LoCo Directory has encountered an Error!
  Please try your request again.
  If you continue to experience problems with LoCo Team Directory, please Report it!

  Trying the equivalent https://loco.ubuntu.com thrwos an SSL exception:

  loco.ubuntu.com uses an invalid security certificate.

  The certificate is not trusted because it is self-signed.
  The certificate is only valid for cranberry.canonical.com
  The certificate expired on 09/14/2008 12:05 AM. The current time is 08/05/2011 06:38 AM.

  (Error code: sec_error_expired_issuer_certificate)

  Once I've added the certificate (which in itself should not be
  required and is another security problem), I get this error:

  data_dir "/srv/testcases.qa.ubuntu.com/www/data" does not exists, or
  has incorrect ownership or permissions.

  Make sure the directory and the subdirectory pages are owned by the
  web server and are readable, writable and executable by the web server
  user and group.

  It is recommended to use absolute paths and not relative paths. Check
  also the spelling of the directory name.

  Error in your configuration file
  "/usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py" around
  line 188.

      Show debugging information
      Visit MoinMoin wiki

  Clicking on debugging info throws this:

  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/lib/pymodules/python2.6/MoinMoin/request/request_fcgi.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object>, fcgRequest=<MoinMoin.support.thfcgi.Request instance>, env={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utma=27501688.1337280502.1312512531.1312512531...1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'HTTP_HOST': 'testcases.qa.ubuntu.com', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0', ...}, form=FieldStorage(None, None, []), properties={'script_name': '/'})
          26 self.fcgform = form
          27 self._setup_vars_from_std_env(env)
          28 RequestBase.__init__(self, properties)
          29
          30 except Exception, err:
          global RequestBase = <class 'MoinMoin.request.RequestBase'>
          RequestBase.__init__ = <unbound method RequestBase.__init__>
          self = <MoinMoin.request.request_fcgi.Request object>
          properties = {'script_name': '/'}

      /usr/lib/pymodules/python2.6/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object>, properties={'script_name': '/'})
          156 self.__dict__.update(properties)
          157 try:
          158 self._load_multi_cfg()
          159 except error.NoConfigMatchedError:
          160 self.makeForbidden(404, 'No wiki configuration matching the URL found!\r\n')
          self = <MoinMoin.request.request_fcgi.Request object>
          self._load_multi_cfg = <bound method Request._load_multi_cfg of <MoinMoin.request.request_fcgi.Request object>>

      /usr/lib/pymodules/python2.6/MoinMoin/request/__init__.py in _load_multi_cfg (self=<MoinMoin.request.request_fcgi.Request object>)
          343 if not hasattr(self, 'cfg'):
          344 self.clock.start('load_multi_cfg')
          345 self.cfg = multiconfig.getConfig(self.url)
          346 self.clock.stop('load_multi_cfg')
          347
          self = <MoinMoin.request.request_fcgi.Request object>
          self.cfg undefined
          global multiconfig = <module 'MoinMoin.config.multiconfig' from '/usr...dules/python2.6/MoinMoin/config/multiconfig.pyc'>
          multiconfig.getConfig = <function getConfig>
          self.url = 'testcases.qa.ubuntu.com/'

      /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in getConfig (url='testcases.qa.ubuntu.com/')
          188 cfg = _config_cache[cfgName]
          189 except KeyError:
          190 cfg = _makeConfig(cfgName)
          191 cfg = _config_cache.setdefault(cfgName, cfg)
          192 return cfg
          cfg undefined
          global _makeConfig = <function _makeConfig>
          cfgName = 'wikiconfig'

      /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in _makeConfig (name='wikiconfig')
          105 module, mtime = _importConfigModule(name)
          106 configClass = getattr(module, 'Config')
          107 cfg = configClass(name)
          108 cfg.cfg_mtime = max(mtime, _farmconfig_mtime)
          109 except ImportError, err:
          cfg undefined
          configClass = <class wikiconfig.Config>
          name = 'wikiconfig'

      /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in __init__ (self=<wikiconfig.Config instance>, siteid='wikiconfig')
          732 self.cache.ua_spiders = self.ua_spiders and re.compile(self.ua_spiders, re.I)
          733
          734 self._check_directories()
          735
          736 if not isinstance(self.superuser, list):
          self = <wikiconfig.Config instance>
          self._check_directories = <bound method Config._check_directories of <wikiconfig.Config instance>>

      /usr/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in _check_directories (self=<wikiconfig.Config instance>)
          944 also the spelling of the directory name.
          945 ''' % {'attr': attr, 'path': path, }
          946 raise error.ConfigurationError(msg)
          947
          948 def _loadPluginModule(self):
          global error = <module 'MoinMoin.error' from '/usr/lib/pymodules/python2.6/MoinMoin/error.pyc'>
          error.ConfigurationError = <class 'MoinMoin.error.ConfigurationError'>
          msg = '\ndata_dir "/srv/testcases.qa.ubuntu.com/www/data.... Check\nalso the spelling of the directory name.\n'

  ConfigurationError

  data_dir "/srv/testcases.qa.ubuntu.com/www/data" does not exists, or
  has incorrect ownership or permissions.

  Make sure the directory and the subdirectory pages are owned by the
  web server and are readable, writable and executable by the web server
  user and group.

  It is recommended to use absolute paths and not relative paths. Check
  also the spelling of the directory name.

      args = ()
      exceptions = <bound method ConfigurationError.exceptions of ConfigurationError()>
      innerException = (<type 'exceptions.KeyError'>, KeyError('wikiconfig',), <traceback object>)
      message = '\ndata_dir "/srv/testcases.qa.ubuntu.com/www/data.... Check\nalso the spelling of the directory name.\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/lib/pymodules/python2.6/MoinMoin/config/multiconfig.py in getConfig (url='testcases.qa.ubuntu.com/')
          186 cfgName = _getConfigName(url)
          187 try:
          188 cfg = _config_cache[cfgName]
          189 except KeyError:
          190 cfg = _makeConfig(cfgName)
          cfg undefined
          global _config_cache = {}
          cfgName = 'wikiconfig'

  KeyError

  'wikiconfig'

      args = ('wikiconfig',)
      message = 'wikiconfig'

  System Details

      Date: Fri, 05 Aug 2011 10:39:08 +0000
      Platform: Linux cranberry 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64
      Python: Python 2.6.5 (/usr/bin/python)
      MoinMoin: Release 1.6.3 (release)

To manage notifications about this bug go to:
https://bugs.launchpad.net/loco-directory/+bug/821398/+subscriptions


Follow ups

References