python mapscript with IIS
william paul
williampaul28 at YAHOO.COM
Fri Nov 3 06:22:02 PST 2006
Hi again to everybody:
I am trying to use the example provided with dBox, and to combine mapscript python with dbox on IIS. I have installed dBox and seems to work, but I have problems with mapscript python. These are steps which I did so far:
I have downloaded a installed on windows xp sp 2 with IIS, mapserver 4.10. I used the the binaries from MS4W, latest stable version from www.maptools.org
I have downloaded and installed Python 2.4.3
I have copied mapscript.py, mapscript.pyd and _mapscript.pyd into Python24/Lib/site-packages
I have copied make_dlegend_xml.py. make_dlegend_xml_cgi.py, make_dlegend_xml.pyc into c:/inetput/scripts/
I have modified the example.html to point the correct path
In javascript console I get the error:
Error: objDomTree.getElements("server")[0] has no properties
Yet another dlegend initialization error. Implies that dlegend.js has received some data, but not in the expected form
When I test the mapscript python installation I get the error:
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Traceback (most recent call last): File "c:\inetpub\wwwroot\mapscript_test.py", line 2, in ? import mapscript File "C:\Inetpub\wwwroot\mapscript.py", line 8, in ? map = mapscript.mapObj(map_path+map_file) AttributeError: 'module' object has no attribute 'mapObj'
I have attached the file for testing mapscript installation
Does someone already use mapscript python with IIS? or someone successfully installed dBox example on IIS?
Unfortunately I need to use IIS and not Apache, so I can't change IIS with Apache
Any help would be appreciated
William
---------------------------------
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061103/215645b7/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mapscript.py
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061103/215645b7/attachment.ksh>
More information about the MapServer-users
mailing list