1

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.

3
  • which version of saga is installed?
    – johanvdw
    Commented Jul 3, 2017 at 11:22
  • I came across the same problem. Same QGIS version, same Ubuntu and I have saga 2.3.1
    – Gugaci
    Commented Jul 4, 2017 at 13:25
  • @johanvdw I have installed saga 2.3.1
    – Jc Cabrera
    Commented Jul 4, 2017 at 16:19

1 Answer 1

1

It looks like this is a known issue in QGIS: https://issues.qgis.org/issues/16920

1
  • Should be fixed now.
    – underdark
    Commented Nov 11, 2017 at 10:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.