[Qgis-developer] HTML image map problem

Paolo Cavallini cavallini at faunalia.it
Fri Oct 23 09:50:25 EDT 2009


Hi all.
I discovered that if qgis has only GRASS layers loaded, HTML image map
plugin fails:
===
Traceback (most recent call last):
File "/home/paolo/.qgis//python/plugins/imagemap_plugin/imagemapplugin.py",
line 57, in run
if not(self.provider.geometryType() == QGis.WKBPolygon or
self.provider.geometryType() == QGis.WKBMultiPolygon or
self.provider.geometryType() == QGis.WKBPoint):
AttributeError: 'NoneType' object has no attribute 'geometryType'

Versione Python:
2.5.4 (r254:67916, Sep 26 2009, 08:18:06) 
[GCC 4.3.4]

Sentiero Python:['/usr/share/qgis/python',
'/home/paolo/.qgis//python/plugins/symbology_ng',
'/home/paolo/.qgis//python/plugins/symbology_ng',
'/home/paolo/.qgis//python/plugins/symbology_ng',
'/home/paolo/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/usr/lib/pymodules/python2.5', '/usr/lib/pymodules/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode',
'/usr/share/qgis/python/plugins/fTools/tools',
'/home/paolo/.qgis/python/plugins/GdalTools/tools']
===
All the best.
-- 
http://faunalia.it/pc


More information about the Qgis-developer mailing list