Bug report #16786

SAGA raster calculator not working in QGIS 2.18.10

Added by Mario Reyes over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
Assignee:Victor Olaya
Category:Processing/SAGA
Affected QGIS version:2.18.10 Regression?:Yes
Operating System:Windows 64 bits Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24685

Description

When I try to use the SAGA raster calculator through the processing toolbox and click the Run button nothing happens. It works in QGIS 2.18.9.

Associated revisions

Revision 74042a2d
Added by Victor Olaya over 7 years ago

[processing] Correctly call TYPE_RASTER constant

Fixes #16786

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Regression? changed from No to Yes
  • Priority changed from Normal to High
Version:1.0 StartHTML:0000000105 EndHTML:0000001614 StartFragment:0000000538 EndFragment:0000001576

AttributeError: 'module' object has no attribute 'TYPE_RASTER'

Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing\gui\AlgorithmDialog.py", line 249, in accept
    msg = self.alg._checkParameterValuesBeforeExecuting()
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 239, in _checkParameterValuesBeforeExecuting
    return self.checkParameterValuesBeforeExecuting()
  File "C:/PROGRA~1/QGIS2~1.18/apps/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'

#2 Updated by Victor Olaya over 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF