[Moin-user] Re: [Moin-devel] RE: CGI Error-- Help!!!!!!!!!!

Florian Festi festifn at rupert.informatik.uni-stuttgart.de
Tue Dec 7 09:56:21 EST 2004


> I am still waiting for a reply. Should I use 1.3 or try 1.2.4? Will someone
> respond ?

If you are in a hurry you should use IRC insted of mail. #moin at freenode 
would be the right place.

> CGI Error
>
> The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are:
>
> C:\Moin\Lib\site-packages\MoinMoin\multiconfig.py:97: UserWarning: import of
> config "wikiconfig" failed due to "No module named wikiconfig"; default
> configuration used instead.

This is your problem! wikiconfig.py is not found. This is the 
configuration file and should be located in the same directory as your 
moin.cgi. If you want to put it somewhere else you must set the pathonpath 
to it.

>  warnings.warn(err)
>
> Traceback (most recent call last):
>
>  File "C:\moin\mywiki\moin.cgi", line 29, in ?
>
>    request.run()
>
>  File "C:\Moin\Lib\site-packages\MoinMoin\request.py", line 655, in run
>
>    self.open_logs()
>
>  File "C:\Moin\Lib\site-packages\MoinMoin\request.py", line 1052, in
> open_logs
>
>    sys.stderr = open(os.path.join(self.cfg.data_dir, 'error.log'), 'at')
>
> IOError: [Errno 2] No such file or directory: 'wiki\\data\\error.log'

Because of this the path to the data/ dir is set to a wrong default which 
results in a file not found error.


 	cu

 		FlorianFesti




More information about the Moin-user mailing list