Bug report #16962
SAGA raster calculator not working in QGIS 2.18.11
| Status: | Closed | ||
|---|---|---|---|
| Priority: | High | ||
| Assignee: | |||
| Category: | Processing/SAGA | ||
| Affected QGIS version: | 2.18.11 | Regression?: | No |
| Operating System: | Windows 32 bits | Easy fix?: | No |
| Pull Request or Patch supplied: | No | Resolution: | duplicate |
| Crashes QGIS or corrupts data: | No | Copied to github as #: | 24861 |
Description
The SAGA raster calculator doesn't work if two raster are used. I select the base layer, then I select the additional layer and write the expression "a+b". I get the error below:
Uncaught error while executing algorithm
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing\algs\saga\SagaAlgorithm.py", line 171, in processAlgorithm
if param.datatype == dataobjects.TYPE_RASTER:
AttributeError: 'module' object has no attribute 'TYPE_RASTER'
The calculator works with operations with single rasters.
History
#1
Updated by Giovanni Manghi over 8 years ago
- Resolution set to duplicate
- Status changed from Open to Closed
This has already been fixed, you must wait for the next point release.