[Moin-user] Problem with building the xapian index

kuhnolive at fh-bingen.de kuhnolive at fh-bingen.de
Mon Jan 14 11:00:19 EST 2008


Hi again.

I posted this message a while before with no reaction, so, maybe I didn't add
enough information (see below).

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.


I checked the given advise:
My wikiconfig.py is not in the same directory as the server script, but the
moin.cgi has got the line
   sys.path.insert(0, '/usr/share/moin/biwiki').
My wikiconfig.py is in /usr/share/moin/biwiki.
So what's the problem with it? I have no idea, where to look at now.
What script does look where for the wikiconfig.py module?

Can anybody please help me with that?


greets
Oliver


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


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Moin-user mailing list
Moin-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

----- End forwarded message -----




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





More information about the Moin-user mailing list