[Qgis-developer] r.report fails in Processing

Victor Olaya volayaf at gmail.com
Tue Oct 13 11:04:35 PDT 2015


Matteo,

I just pushed a fix for that

Could you please test?

Thanks

2015-10-13 16:14 GMT+02:00 matteo <matteo.ghetta at gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi guys,
> keeping on testing the dev version.. I have some trouble with
> ``r.reports`` of GRASS 7. Just choosing a grid file and run the algorith
> m:
>
> An error has occured while executing Python code:
>
> TypeError: getObject() takes exactly 1 argument (2 given)
> Traceback (most recent call last):
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/gui/AlgorithmDialog.py",
> line
> 168, in accept
>     self.setParamValues()
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/gui/AlgorithmDialog.py",
> line
> 106, in setParamValues
>     param, self.mainWidget.valueItems[param.name]):
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/gui/AlgorithmDialog.py",
> line
> 152, in setParamValue
>     return param.setValue(widget.getValue())
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/gui/ExtentSelectionPanel.
> py",
> line 185, in getValue
>     return self.getMinCoveringExtent()
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/gui/ExtentSelectionPanel.
> py",
> line 120, in getMinCoveringExtent
>     layer = dataobjects.getObject(layername, first)
> TypeError: getObject() takes exactly 1 argument (2 given)
>
> I've tried different settings and layers but always the same error...
>
> Thanks!
>
> Matteo
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJWHRHdAAoJEBy7UYf0gaEOduAH/1zqOnjGP1OAvErwax1TyNLD
> eKPGENYqCd/zBo9DmU5UEhYAGvW/BWt2mHsm4qNyS9b/sTkPSY9MK8ZCqiU7R9bk
> ivNFowCBxcKXoVA/GLjFBBqz5rp4iPYqvQIxfTiJpU0sOXUmSGP9QWVWjKvwdRpW
> 2S+nyXhbOoVAV7y4bNgyENDNEYRcIYTbePwsFaDH+WbVQQHc8gUJh78W0TQw6H5w
> 2EUo4vORzDeq2TqmHUmWY3Fnr7GFGUD1Yn2f4ZUhuO0swTXhGh/psmXsC0gTvDNo
> 3tbmXKms/4TBZLSrdMA7qQDa6FXG3dXiRK8iiap110JXR2o7e9easpZ7v+4po18=
> =rZqu
> -----END PGP SIGNATURE-----
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list