[Moin-user] Next Problem
David LeBlanc
whisper at oz.net
Sat Jun 15 10:13:04 EDT 2002
Ok, I have set http_docs in moin_config.py, but it still won't run
stand-alone. I get the following traceback:
H:\Moin\Lib\site-packages\MoinMoin>httpdmain
Serving on localhost:8080, documents in 'h:\moin\share\moin\htdocs'
lion - - [15/Jun/2002 10:02:28] "GET / HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 1349)
Traceback (most recent call last):
File "J:\Python22\lib\SocketServer.py", line 221, in handle_request
self.process_request(request, client_address)
File "J:\Python22\lib\SocketServer.py", line 240, in process_request
self.finish_request(request, client_address)
File "J:\Python22\lib\SocketServer.py", line 253, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "H:\Moin\Lib\site-packages\MoinMoin\httpdmain.py", line 61, in
__init__
SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request,
client_address, server)
File "J:\Python22\lib\SocketServer.py", line 514, in __init__
self.handle()
File "J:\Python22\lib\BaseHTTPServer.py", line 266, in handle
method()
File "H:\Moin\Lib\site-packages\MoinMoin\httpdmain.py", line 75, in do_GET
self.doRequest()
File "H:\Moin\Lib\site-packages\MoinMoin\httpdmain.py", line 166, in
doRequest
request = cgimain.run(properties={'standalone': 1})
File "h:\Moin\Lib\site-packages\MoinMoin\cgimain.py", line 103, in run
sys.stderr = open(os.path.join(config.data_dir, 'err_log'), 'at')
IOError: [Errno 2] No such file or directory: 'data\\err_log'
----------------------------------------
I tried just commenting out the open of the err_log, but then it complains
the event.log is missing.
"err_log" is at h:\moin\wiki\data, which is my wiki instance data directory.
If I set config.data_dir to h:\moin\wiki\data, then FrontPage comes up, but
all the images and styling are missing.
Is there some other setting(s) I need to set or modify?
This is all being done, as directed, by invoking httpdmain from
h:/moin/lib/site-packages/moinmoin.
David LeBlanc
Seattle, WA USA
More information about the Moin-user
mailing list