Friday, 30 November 2018

qgis - Add raster value to features AttributeError: 'module' object has no attribute 'TYPE_RASTER'?


When I try to run the "add raster value to features" (available into SAGA Tools), I get this error:


Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 249, in accept
msg = self.alg._checkParameterValuesBeforeExecuting()

File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 239, in _checkParameterValuesBeforeExecuting
return self.checkParameterValuesBeforeExecuting()
File "/usr/share/qgis/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 343, in checkParameterValuesBeforeExecuting
param.datatype == dataobjects.TYPE_RASTER):
AttributeError: 'module' object has no attribute 'TYPE_RASTER'

I'm using QGIS 2.18.10 and Python 2.7.12 on Ubuntu 16.04


I don't have any clue to solve this error.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...