[Qgis-developer] Mmqgis error making a buffer

Geodrinx geodrinx at gmail.com
Thu Jan 16 22:28:23 PST 2014


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'

Versione Python:
2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]


Versione di QGIS:
2.0.1-Dufour Dufour, f738351

Someone can help me to understand what is the problem ?

Thank you

Roberto





More information about the Qgis-developer mailing list