<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi all<br>I'm gonna use dBox, start using dbox0.9a1 example which is based on python2.4, although mapscript is built with python2.5 in latest version of MS4W.&nbsp; for legend, i just see one node at top with no layer(dBox uses yahoo treeview). <br>this is error i get from firebug:<br><br>Traceback (most recent call last):<br>&nbsp; File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml_cgi.py", line 36, in &amp;lt;module&amp;gt;<br>&nbsp;&nbsp;&nbsp; make_dlegend_xml.write_xml(mapfile, server)<br>&nbsp; File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml.py", line 278, in write_xml<br>&nbsp;&nbsp;&nbsp; (minscale, maxscale) = get_group_minscale_and_maxscale(mapp, layer_indexes)<br>&nbsp; File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml.py", line 204, in get_group_minscale_and_maxscale<br>&nbsp;&nbsp;&nbsp; if
 layer.minscale == -1:<br>&nbsp; File "D:\ms4w\Apache\cgi-bin\mapscript.py", line 1006, in &amp;lt;lambda&amp;gt;<br>&nbsp;&nbsp;&nbsp; __getattr__ = lambda self, name: _swig_getattr(self, layerObj, name)<br>&nbsp; File "D:\ms4w\Apache\cgi-bin\mapscript.py", line 34, in _swig_getattr<br>&nbsp;&nbsp;&nbsp; raise AttributeError,name<br>AttributeError: minscale<br><br>anyone has idea about this?<br>Isn't is because minscale (&amp; maxscale) is deprecated (replaced with minsclaedenom)?<br><br></div></div><br>



      </body></html>