Description
Install Desktop edition on Windows XP Professional machine. Use wikiserverconfig.py to try and change default interface away from localhost or default port away from 8080. Wiki starts up OK but fails to serve any pages. Instead it throws an exception per GET request.
Steps to reproduce
- Install Desktop edition.
In the same directory as moin.exe, create the following wikiserverconfig.py file:
C:\DOCUME~1\ggraha\Desktop\STAGIN~1\MMDE>more wikiserverconfig.py from __main__ import DefaultConfig class Config(DefaultConfig): port = 7777 interface = "localhost"
- run moin.exe
From MSIE 6.0, access page at http://localhost:7777
- MSIE browser displays "Page cannot be displayed" and exception appears in the moin server window.
Details
I got the following output from the server and traceback:
C:\DOCUME~1\ggraha\Desktop\STAGIN~1\MMDE>moin Loading ... MoinMoin - 1.3.4 [patch-723; DesktopEdition Release 1.3.4-2] Just close this window to shutdown MoinMoin DesktopEdition. Serving on localhost:7777, documents in 'C:\DOCUME~1\ggraha\Desktop\STAGIN~1\MMD E\wiki\htdocs' ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 3237) Traceback (most recent call last): File "SocketServer.pyo", line 463, in process_request_thread File "SocketServer.pyo", line 254, in finish_request File "MoinMoin\server\standalone.pyo", line 102, in __init__ File "SocketServer.pyo", line 521, in __init__ File "BaseHTTPServer.pyo", line 314, in handle File "BaseHTTPServer.pyo", line 308, in handle_one_request File "MoinMoin\server\standalone.pyo", line 131, in do_GET File "MoinMoin\server\standalone.pyo", line 165, in serveMoin File "MoinMoin\request.pyo", line 1582, in __init__ File "MoinMoin\request.pyo", line 93, in __init__ File "MoinMoin\request.pyo", line 162, in _load_multi_cfg File "MoinMoin\multiconfig.pyo", line 33, in getConfig TypeError: __init__() takes exactly 1 argument (2 given) ----------------------------------------
MoinMoin Version |
1.3.4-2 Desktop |
OS and Version |
Windows XP Professional |
Python Version |
N/A |
Server Setup |
See above |
Server Details |
Desktop edition |
Workaround
There is no workaround.
Discussion
Can I see the contents of your wikiconfig.py file?
Plan
- Priority:
- Assigned to:
- Status: User confused both config file formats