[Moin-user] xapian index build error

kuhnolive at fh-bingen.de kuhnolive at fh-bingen.de
Wed Jan 9 18:11:55 EST 2008


Hi. I'm trying to build a xapian index with

  xapian index build --mode=add

and get the following error

Traceback (most recent call last):
  File "/usr/bin/moin", line 6, in ?
    run()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/moin.py", line 15, in
run
    MoinScript().run(showtime=0)
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 138,
in run
    self.mainloop()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 245,
in mainloop
    plugin_class(args[2:], self.options).run() # all starts again there
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 138,
in run
    self.mainloop()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/index/build.py", line
29, in mainloop
    self.init_request()
  File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 180,
in init_request
    self.request = request_cli.Request(pagename=self.options.page)
  File "/usr/lib/python2.4/site-packages/MoinMoin/request/request_cli.py", line
31, in __init__
    RequestBase.__init__(self, properties)
  File "/usr/lib/python2.4/site-packages/MoinMoin/request/__init__.py", line
216, in __init__
    self._load_multi_cfg()
  File "/usr/lib/python2.4/site-packages/MoinMoin/request/__init__.py", line
381, in _load_multi_cfg
    self.cfg = multiconfig.getConfig(self.url)
  File "/usr/lib/python2.4/site-packages/MoinMoin/config/multiconfig.py", line
170, in getConfig
    cfg = _makeConfig(cfgName)
  File "/usr/lib/python2.4/site-packages/MoinMoin/config/multiconfig.py", line
122, in _makeConfig
    raise error.ConfigurationError(msg)
MoinMoin.error.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.


Does anybody know why this is?

greets
Oliver


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Moin-user mailing list