LCacheux68224 / ProportionalCircles

5 stars 2 forks source link

Is there a bug, or am I missing something ? #8

Open NathalieLatil opened 8 years ago

NathalieLatil commented 8 years ago

Looks like a bug in this super plug-in (new fresh QGis install) Any idea ? Anyway, thanks. When it works, it's quite useful !

> Une erreur est apparue lors de l'exécution du code Python :
> 
> 
> Traceback (most recent call last):
>   File "/home/nath/.qgis2/python/plugins/ProportionalCircles/proportionalcircles.py", line 103, in run
>     self.dlg.populateLayers()
>   File "/home/nath/.qgis2/python/plugins/ProportionalCircles/proportionalcirclesdialog.py", line 140, in populateLayers
>     myListContours = [layer.name() for layer in qgis.QgsMapLayerRegistry.instance().mapLayers().values() if layer.geometryType() == qgis.QGis.Polygon ]
> AttributeError: 'TileLayer' object has no attribute 'geometryType'
> 
> Version de Python :
> 2.7.11+ (default, Apr 17 2016, 14:00:29) 
> [GCC 5.3.1 20160413]
> 
> Version de QGIS :
> 2.8.6-Wien Wien, exported