Description

The jabberbot does not find the config.py script.

Component selection

Details

MoinMoin Version

1.7/1.8/1.9

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

You have to add sys.path() with the path of the config.py for the bot.

Discussion

Isn't that expected behaviour? Like for moin, it needs to find config and code somehow and it is done by adapting sys.path.

sure it is but it should be documented and may be moved to a differnt place. the jabberbot config is in e.g. moin-1.8/jabberbot or if installed at ...site-packages/jabberbot.

You have also to modify bot.py if you want it to import from somewhere else.

from jabberbot.config import BotConfig

(!) For consistency (we have wikiconfig), we maybe should rename it to jabberbotconfig.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/JabberBotDoesNotFindConfig (last edited 2009-04-07 17:02:38 by ThomasWaldmann)