[Qgis-user] Error executing r.drain in Processor

Luis Miguel Royo Pérez luis.miguel.royo at gmail.com
Wed Jul 2 04:38:02 PDT 2014


Hi everyone,

I have problems to run r.drain in QGIS. The error is this:

Ha ocurrido un error mientras se ejecutaba el código de Python:

Traceback (most recent call last):
   File "/home/luismi/.qgis2/python/plugins/processing/gui/AlgorithmExecutionDialog.py", line 225, in accept
     self.setParamValues()
   File "/home/luismi/.qgis2/python/plugins/processing/gui/AlgorithmExecutionDialog.py", line 151, in setParamValues
     self.paramTable.valueItems[param.name]):
   File "/home/luismi/.qgis2/python/plugins/processing/gui/AlgorithmExecutionDialog.py", line 207, in setParamValue
     return param.setValue([options[i] for i in widget.selectedoptions])
   File "/home/luismi/.qgis2/python/plugins/processing/parameters/ParameterMultipleInput.py", line 74, in setValue
     s += self.getAsString(layer)
   File "/home/luismi/.qgis2/python/plugins/processing/parameters/ParameterMultipleInput.py", line 152, in getAsString
     layers = dataobjects.getVectorLayers(self.datatype)
   File "/home/luismi/.qgis2/python/plugins/processing/tools/dataobjects.py", line 83, in getVectorLayers
     if shapetype == ALL_TYPES or layer.geometryType() in shapetype:
TypeError: argument of type 'float' is not iterable


Versión de Python:
2.7.3 (default, Feb 27 2014, 20:11:37)
[GCC 4.6.3]


Versión de QGIS:
2.4.0-Chugiak Chugiak, exported


My Operative System is *Lubuntu 12.04 *with this kernel 
*3.2.0-65-generic-pae*

Anyone knows how to solve this? Do you any additional information?

Thanks per advance!!

-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140702/e25c6788/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firmacorreo2.png
Type: image/png
Size: 62237 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140702/e25c6788/attachment.png>


More information about the Qgis-user mailing list