Description
Starting the standalone server does not honour farmconfig.py or wikiconfig.py files in config-dir.
Steps to reproduce
Started moin.py command with non server command (e.g. export dump)
--config-dir parameter honoured, farmconfig.py read
Started moin.py command with standalone server command
--config-dir NOT parameter honoured, farmconfig.py not read
same happens with wikiserver.py
Example 1
Command:
C:\wiki\upa>python.exe C:\Python\Lib\site-packages\MoinMoin\script\moin.py --config-dir=c:\wiki\upa server standalone --port=8000
Output:
2011年03月11日 09:25:48,707 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! 2011年03月11日 09:25:49,614 INFO werkzeug:106 * Running on http://localhost:8000/
Example 2
Command:
C:\wiki\upa>python.exe C:\Python\Lib\site-packages\MoinMoin\script\moin.py --wiki-url=http://eq.qam-insight:8000/ export dump --page=TestPa ge --target-dir=c:\wiki\upa\dump
Output:
2011年03月11日 09:26:26,361 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! 2011年03月11日 09:26:26,954 INFO MoinMoin.config.multiconfig:93 using farm config: C:\wiki\upa\farmconfig.py 2011年03月11日 09:26:27,032 INFO MoinMoin.config.multiconfig:127 using wiki config: C:\wiki\upa\eq.pyc
Component selection
Details
MoinMoin Version
1.9.3 with patch for python 2.7
OS and Version
Windows XP
Python Version
2.7.1
Server Setup
Standalone
Server Details
Language you are using the wiki in (set in the browser/UserPreferences)
en
Workaround
Discussion
(!) config-dir option in example2 is missing
Plan
- Priority:
- Assigned to:
- Status: