[Qgis-developer] Mmqgis error making a buffer

Andre Joost andre+joost at nurfuerspam.de
Fri Jan 17 07:27:29 PST 2014


Am 17.01.2014 07:28, schrieb Geodrinx:
> Hello All,
>
> with QGis 2.01-7 MacOSX  and  mmqgis plugin, making a buffer, I had an error:
>
> Traceback (most recent call last):
>    File "/Users/hacked-crew/.qgis2/python/plugins/mmqgis/mmqgis_dialogs.py", line 385, in run
>      message = mmqgis_buffers(self.iface, layername, mmqgis_buffers_radius, unit, shape, savename, True)
>    File "/Users/hacked-crew/.qgis2/python/plugins/mmqgis/mmqgis_library.py", line 930, in mmqgis_buffers
>      field_index = layer.fieldNameIndex(radius)
> TypeError: QgsVectorLayer.fieldNameIndex(QString): argument 1 has unexpected type 'int'
>

What did you input as radius?

Greetings,
André Joost


More information about the Qgis-developer mailing list