[mapserver-users] dbox make_dlegend_xml_cgi.py XML error

Richard Polk Richard.Polk at state.tn.us
Fri Jan 23 08:16:48 PST 2009


Hi Steve,
The mapserver version is the same in all three environments.  I upgraded to 5.x as soon as it came out and did take into account the changes I needed to make in my map file.  This was done in my development environment and I basically cloned the web root and cgi-bin to the test and production environment.
 
At this point, I am expecting the error is not due to the dBox interface or the Mapserver software failing.  Perhaps it is a permissions issue that is restricting the make_dlegend_xml_cgi script from creating the XML content.  
 
Could my error just be a reaction to missing XML content instead of fouled but complete XML content?  I am going to try and run the make_dlegend_xml_cgi script from a Python shell and see what I get.
 

>>> "Steve Lime" <Steve.Lime at dnr.state.mn.us> 1/23/2009 >>>
Hi Richard: Any chance you're running different versions of MapServer in the different environments? There
was a syntax change between 4.x and 5.x (minscale => minscaledenom) that is exposed by that script. If view
the source is any more information revealed? The server logs?

Steve

>>> "Richard Polk" <Richard.Polk at state.tn.us> 01/22/09 4:43 PM >>>


Can anyone assist with the below error?  I am getting it when trying to generate my application legend with dBox.  


The same make_dlegend_xml_cgi.py script works on my development and test servers but fails in production.

My OS is Window Server 2003 with IIS 6.



The XML page cannot be displayed 

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 
End tag 'font' does not match the start tag 'body'. Error processing resource 'http://production/cgi-bin/make_dlegend_xml_cg...</font> </font> </font> </scr --> </obj --> </blockquote> </pre>----------^

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090123/9ea27915/attachment.htm>


More information about the MapServer-users mailing list