[OSGeo Africa] Need help with python codes

Latchman Anand ablatchman at yahoo.com
Tue Apr 24 12:39:05 EDT 2012


Hi All

 
 
I am new with qgis. Need Help with An error has occured while executing Python code
 
 
Traceback (most recent call last):  File "C:/.qgis/python/plugins\gmap_overview_plugin\gmap_gui.py", line 116, in onChangeExtent
    html = html.replace('{scale}',str(self.getZoomScale()))
  File "C:/.qgis/python/plugins\gmap_overview_plugin\gmap_gui.py", line 134, in getZoomScale
    zoom = np.abs((np.array(zooms) - scale)/scale)

AttributeError: 'NoneType' object has no attribute 'abs'

Python version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]

how can i solve this problem
 
 
Thank you 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/africa/attachments/20120424/359aa4c1/attachment-0001.html


More information about the Africa mailing list