= Description = The jabberbot does not find the config.py script. == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * general == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## [[attachment:traceback.html]] ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!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 = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBug