Re: RE: CGI Error-- Help!!!!!!!!!!

Florian Festi <[email protected]> Tue, 7 Dec 2004 18:55:28 +0100 (MET)
Newsgroups gmane.comp.web.wiki.moin.devel,gmane.comp.web.wiki.moin.general
Message-ID <Pine.GHP.4.61.0412071851320.29983@rupert.informatik.uni-stuttgart.de>
> 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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/