> 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?
From: Florian Festi [mailto:festifn@...]
Sent: Tuesday, December 07, 2004 12:55 PM
To: Sahoo, Ajaya
Cc: moin-devel@...; moin-user@...
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
> 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
> HTTP headers. The headers it did return are:
> C:\Moin\Lib\site-packages\MoinMoin\multiconfig.py:97: UserWarning: import
> 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
> Traceback (most recent call last):
> File "C:\moin\mywiki\moin.cgi", line 29, in ?
> File "C:\Moin\Lib\site-packages\MoinMoin\request.py", line 655, in run
> File "C:\Moin\Lib\site-packages\MoinMoin\request.py", line 1052, in
> 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.
Get latest updates about Open Source Projects, Conferences and News.