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

[email protected] Tue, 7 Dec 2004 14:02:57 -0500
Newsgroups gmane.comp.web.wiki.moin.devel,gmane.comp.web.wiki.moin.general
Message-ID <03CB0D78C4AF01429A5C04F1EFD29885079AB81A@usnjc01wmx002.tdwaterhouse.com>
> 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:[email protected]] 
Sent: Tuesday, December 07, 2004 12:55 PM
To: Sahoo, Ajaya
Cc: [email protected]; [email protected]
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


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