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

Victor Olaya volayaf at gmail.com
Wed Jul 2 05:27:40 PDT 2014


It is already fixed, See here:

https://github.com/qgis/QGIS/commit/2e858c439c09eaa6c0fe38498d5b87dce8a04077

The change is already in 2.4, so you should not see it if you are using the
latest release. Maybe you have another Processing installed that is
shadowing the core version (although it shouldn't)?


2014-07-02 13:38 GMT+02:00 Luis Miguel Royo Pérez <
luis.miguel.royo at gmail.com>:

>  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!!
>
> --
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140702/0c8ad624/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/0c8ad624/attachment.png>


More information about the Qgis-user mailing list