[mapserver-users] dBox problem (with Python mapscript)?

Saka Royban srph124 at yahoo.com
Wed Feb 25 02:09:45 PST 2009


Hi all
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.  for legend, i just see one node at top with no layer(dBox uses yahoo treeview). 
this is error i get from firebug:

Traceback (most recent call last):
  File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml_cgi.py", line 36, in <module>
    make_dlegend_xml.write_xml(mapfile, server)
  File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml.py", line 278, in write_xml
    (minscale, maxscale) = get_group_minscale_and_maxscale(mapp, layer_indexes)
  File "D:\ms4w\Apache\cgi-bin\make_dlegend_xml.py", line 204, in get_group_minscale_and_maxscale
    if layer.minscale == -1:
  File "D:\ms4w\Apache\cgi-bin\mapscript.py", line 1006, in <lambda>
    __getattr__ = lambda self, name: _swig_getattr(self, layerObj, name)
  File "D:\ms4w\Apache\cgi-bin\mapscript.py", line 34, in _swig_getattr
    raise AttributeError,name
AttributeError: minscale

anyone has idea about this?
Isn't is because minscale (& maxscale) is deprecated (replaced with minsclaedenom)?


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


More information about the MapServer-users mailing list