[pycsw-devel] Running on Windows 2008 Server IIS7

Godfrey, Bruce bgodfrey at uidaho.edu
Tue Mar 13 19:05:28 EDT 2012


I'm close I believe.  But, I'm getting this error:

 

Traceback (most recent call last):

  File "C:\criticalApplications\console\pycsw\pycsw-1.0.0\csw.py", line
40, in <module>

    CSW.dispatch()

  File
"C:\criticalApplications\console\pycsw\pycsw-1.0.0\server\server.py",
line 161, in dispatch

    (os.environ['HTTP_HOST'], os.environ['REQUEST_URI'])

  File "C:\Python27\lib\os.py", line 423, in __getitem__

    return self.data[key.upper()]

KeyError: 'HTTP_HOST'

>>> 

 

Anyone have any insight on where to look to solve this error?

 

Thanks,

-Bruce

 

 

From: Godfrey, Bruce [mailto:bgodfrey at uidaho.edu] 
Sent: Monday, March 12, 2012 7:44 PM
To: pycsw-devel at lists.sourceforge.net
Subject: [pycsw-devel] Running on Windows 2008 Server IIS7

 

Hello,

 

I'm attempting to get pycsw running on a Windows 2008 box with IIS7.  I
have all the supporting libraries installed and I have SQLite3.  I'll
preface this by saying I have pretty limited experience with python.  

 

I've changed the first line of csw.py to: #!/Python27/python -u

 

At this point I need edit default.cfg, correct?

 

What is the correct syntax for:  home=/var/www/pycsw on Windows?  Is it
like: c:\path\to\defaul.cfg?

 

Thank you for any assistance in getting this running on my Windows box.
I really appreciate it.  

 

-Bruce

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20120313/1c3b376b/attachment.html


More information about the Pycsw-devel mailing list