= Wikiserverconfig.py is required but not installed = I installed version 1.7.0 and attempted to use moin in standalone mode. I created a new blank wiki (just containing the data and underlay folders and the wikiconfig.py from the /usr/share/moin installation as per http://moinmo.in/HelpOnInstalling/WikiInstanceCreation) then I entered its directory and used {{{ moin server standalone --start }}} this gives me the following error {{{ File "/usr/lib64/python2.5/site-packages/MoinMoin/script/server/standalone.py", line 100, in mainloop from wikiserverconfig import Config ImportError: No module named wikiserverconfig }}} I have discovered that the wikiserverconfig.py file does not actually get installed, though it is present in the toplevel of the source tarball. So I then copied that file to my wiki dir and tried again. I got the same error, I realised that this was due to the present dir is not used by default for the config-dir option (despite moin claiming otherwise), ie {{{ --config-dir=DIR Path to the directory containing the wiki configuration files. [default: current directory] }}} is not actually correct (I confirmed this by browsing the source, MoinMoin/script/server/standalone.py line 98). So to get it to work in the end I had to explicitly specify the config dir and copy over the wikiserverconfig.py from source. {{{ TO GET WORKING cp unpacked-source-folder/wikiserverconfig.py yourwiki-dir moin --config-dir=your-wikidir server standalone --start }}} So the bugs I see are that a) wikiserverconfig.py is required but not supplied b) the current working dir is not added to path for config-dir if not specified. To solve a) perhaps standalone.py should be changed to handle it not being found, after all it is only needed if you want to change the defaults I think. Or else it should be installed by default to the same dir as wikiconfig.py (/usr/share/moin/config) and included in the files to be copied to create a standalone wiki. == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * standalone server (bug present in MoinMoin/script/server/standalone.py) == 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.0 || || '''OS and Version''' || opensuse 11.0 || || '''Python Version''' || 2.5.2 || || '''Server Setup''' || standalone || || '''Server Details''' || || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || || == Workaround == * Either see solution above. * Or just do not "install" moin using setup.py (just unpack it and then run ./wikiserver.py). = Discussion = = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: fixed (uses builtin default config now instead of complaining about wikiserverconfig.py), also added wikiserverconfig.py to wiki/server/ directory. ---- ## 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. CategoryMoinMoinBugFixed