Hello,

I have followed the instructions at
   http://master18.moinmo.in/MoinMoin/InstallDocs

Today when I go to
   http://ws0.robinlea.com/moinmoin

I get :

<quote>
  --> -->
ConfigurationError

data_dir "data" does not exist, 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/python2.5/site-packages/MoinMoin/config/multiconfig.py" around 
line 189.

     * Show debugging information

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.

       /usr/lib/python2.5/site-packages/MoinMoin/request/request_cgi.py 
in __init__ (self=<MoinMoin.request.request_cgi.Request object at 
0xb7e7bbcc>, properties={})
          1. 27
          2. 28 self._setup_vars_from_std_env(os.environ)
          3. 29 RequestBase.__init__(self, properties)
          4. 30
          5. 31 except Exception, err:
           * global RequestBase = <class 'MoinMoin.request.RequestBase'>
           * RequestBase.__init__ = <unbound method RequestBase.__init__>
           * self = <MoinMoin.request.request_cgi.Request object at 
0xb7e7bbcc>
           * properties = {}
    2.

       /usr/lib/python2.5/site-packages/MoinMoin/request/__init__.py in 
__init__ (self=<MoinMoin.request.request_cgi.Request object at 
0xb7e7bbcc>, properties={}, given_config=None)
          1. 164 self.__dict__.update(properties)
          2. 165 try:
          3. 166 self._load_multi_cfg(given_config)
          4. 167 except error.NoConfigMatchedError:
          5. 168 self.makeForbidden(404, 'No wiki configuration matching 
the URL found!\r\n')
           * self = <MoinMoin.request.request_cgi.Request object at 
0xb7e7bbcc>
           * self._load_multi_cfg = <bound method 
Request._load_multi_cfg of <MoinMo...equest.request_cgi.Request object 
at 0xb7e7bbcc>>
           * given_config = None
    3.

       /usr/lib/python2.5/site-packages/MoinMoin/request/__init__.py in 
_load_multi_cfg (self=<MoinMoin.request.request_cgi.Request object at 
0xb7e7bbcc>, given_config=None)
          1. 360 if given_config is None:
          2. 361 self.clock.start('load_multi_cfg')
          3. 362 self.cfg = multiconfig.getConfig(self.url)
          4. 363 self.clock.stop('load_multi_cfg')
          5. 364 else:
           * self = <MoinMoin.request.request_cgi.Request object at 
0xb7e7bbcc>
           * self.cfg undefined
           * global multiconfig = <module 'MoinMoin.config.multiconfig' 
from '/usr...5/site-packages/MoinMoin/config/multiconfig.pyc'>
           * multiconfig.getConfig = <function getConfig at 0x9c29f7c>
           * self.url = 'ws0.robinlea.com/moinmoin'
    4.

       /usr/lib/python2.5/site-packages/MoinMoin/config/multiconfig.py 
in getConfig (url='ws0.robinlea.com/moinmoin')
          1. 189 cfg = _config_cache[cfgName]
          2. 190 except KeyError:
          3. 191 cfg = _makeConfig(cfgName)
          4. 192 cfg = _config_cache.setdefault(cfgName, cfg)
          5. 193 return cfg
           * cfg undefined
           * global _makeConfig = <function _makeConfig at 0x9c29f0c>
           * cfgName = 'wikiconfig'
    5.

       /usr/lib/python2.5/site-packages/MoinMoin/config/multiconfig.py 
in _makeConfig (name='wikiconfig')
          1. 121 module, mtime = _importConfigModule(name)
          2. 122 configClass = getattr(module, 'Config')
          3. 123 cfg = configClass(name)
          4. 124 cfg.cfg_mtime = max(mtime, _farmconfig_mtime)
          5. 125 logging.info("using wiki config: %s" % 
os.path.abspath(module.__file__))
           * cfg undefined
           * configClass = <class 'wikiconfig.Config'>
           * name = 'wikiconfig'
    6.

       /usr/lib/python2.5/site-packages/MoinMoin/config/multiconfig.py 
in __init__ (self=<wikiconfig.Config object at 0x9c27f0c>, 
siteid='wikiconfig')
          1. 268 self.cache.ua_spiders = self.ua_spiders and 
re.compile(self.ua_spiders, re.IGNORECASE)
          2. 269
          3. 270 self._check_directories()
          4. 271
          5. 272 if not isinstance(self.superuser, list):
           * self = <wikiconfig.Config object at 0x9c27f0c>
           * self._check_directories = <bound method 
Config._check_directories of <wikiconfig.Config object at 0x9c27f0c>>
    7.

       /usr/lib/python2.5/site-packages/MoinMoin/config/multiconfig.py 
in _check_directories (self=<wikiconfig.Config object at 0x9c27f0c>)
          1. 557 also the spelling of the directory name.
          2. 558 """ % {'attr': attr, 'path': path, }
          3. 559 raise error.ConfigurationError(msg)
          4. 560
          5. 561 def _loadPluginModule(self):
           * global error = <module 'MoinMoin.error' from 
'/usr/lib/python2.5/site-packages/MoinMoin/error.pyc'>
           * error.ConfigurationError = <class 
'MoinMoin.error.ConfigurationError'>
           * msg = '\ndata_dir "data" does not exist, or has 
incorrec.... Check\nalso the spelling of the directory name.\n'

ConfigurationError

data_dir "data" does not exist, 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 at 0x9c2efa4>)
     * message = '\ndata_dir "data" does not exist, or has incorrec.... 
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.

    1.

       /usr/lib/python2.5/site-packages/MoinMoin/config/multiconfig.py 
in getConfig (url='ws0.robinlea.com/moinmoin')
          1. 187 cfgName = _getConfigName(url)
          2. 188 try:
          3. 189 cfg = _config_cache[cfgName]
          4. 190 except KeyError:
          5. 191 cfg = _makeConfig(cfgName)
           * cfg undefined
           * global _config_cache = {}
           * cfgName = 'wikiconfig'

KeyError

'wikiconfig'

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

System Details

     * Date: Sun, 01 Mar 2009 09:21:18 +0000
     * Platform: Linux ws0 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 
UTC 2009 i686
     * Python: Python 2.5.2 (/usr/bin/python)
     * MoinMoin: Release 1.8.2 (release)
</quote>


But the permissions on the 'data_dir' data look ok to me:

j...@ws0:~/www/robinlea.com$ grep www /etc/passwd /etc/group
/etc/passwd:www-data:x:33:33:www-data:/var/www:/bin/sh
/etc/group:www-data:x:33:

f...@ws0:~/www/robinlea.com$ ls -ld moinmoin/
drwxrwxr-x 5 www-data www-data 4096 2009-03-01 16:15 moinmoin/

j...@ws0:~/www/robinlea.com$ ls -l moinmoin/
total 24
drwxr-x--- 2 www-data www-data 4096 2009-02-28 18:36 cgi-bin
drwxrwx--- 7 www-data www-data 4096 2009-02-28 16:24 data
drwxrwx--- 3 www-data www-data 4096 2009-02-28 16:24 underlay
-rw-rw---- 1 www-data www-data 6765 2009-02-28 17:19 wikiconfig.py
-rw-rw---- 1 www-data www-data 2167 2009-03-01 16:07 wikiconfig.pyc

j...@ws0:~/www/robinlea.com$ sudo ls -l moinmoin/data/
total 32
drwxrwx---  2 www-data www-data 4096 2009-02-28 16:24 cache
drwxrwx---  2 www-data www-data 4096 2009-02-28 16:24 dict
-rw-rw----  1 www-data www-data    0 2009-02-28 16:24 edit-log
-rw-rw----  1 www-data www-data    0 2009-02-28 16:24 event-log
-rw-rw----  1 www-data www-data 6145 2009-02-28 16:24 intermap.txt
-rw-rw----  1 www-data www-data   31 2009-02-28 16:24 meta
drwxrwx---  3 www-data www-data 4096 2009-02-28 16:24 pages
drwxrwx--- 12 www-data www-data 4096 2009-02-28 16:24 plugin
drwxrwx---  2 www-data www-data 4096 2009-02-28 16:24 user

j...@ws0:~/www/robinlea.com$ sudo ls -l moinmoin/data/pages
total 4
drwxrwx--- 3 www-data www-data 4096 2009-02-28 16:24 BadContent


And now, in fact, my browser has reverted to delivering just the 
directory listing of ~/www/robinlea.com/moinmoin!

Any help given sincerely appreciated.

-- 
"This message may have been intercepted and read by U.S. government 
agencies including the FBI, CIA, and NSA or by the Thai Ministry of 
Justice without notice or warrant or knowledge of sender or recipient."

John Francis Lee
1025/37 Thanon Jet Yod
T.Wiang A.Mueang J.Chiangrai 57000
Thailand

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to