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

AjayaSahoo at TDWaterhouse.com AjayaSahoo at TDWaterhouse.com
Tue Dec 7 11:04:15 EST 2004


> 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.

I have not seen any document asking me to do this for IIS(may be it has
escaped my attention!!). My moin.cgi file exists under c:\Moin\mywiki and
wikiconfig.py exists under c:\moin\share\moin\config. Should I copy this
file? Also, do I need to make any changes?

Thanks,
Ajaya

-----Original Message-----
From: Florian Festi [mailto:festifn at rupert.informatik.uni-stuttgart.de] 
Sent: Tuesday, December 07, 2004 12:55 PM
To: Sahoo, Ajaya
Cc: moin-devel at lists.sourceforge.net; moin-user at lists.sourceforge.net
Subject: Re: [Moin-devel] RE: CGI Error-- Help!!!!!!!!!!

> 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-devel mailing list