Bug report #16920

SAGA Cluster Analysis : AttributeError: 'module' object has no attribute 'TYPE_RASTER'

Added by Odysseas Vl over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
Assignee:Giovanni Manghi
Category:Processing/SAGA
Affected QGIS version:2.18.10 Regression?:Yes
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24819

Description

An error has occurred while executing Python code:

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'

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Resolution set to fixed/implemented
  • Assignee changed from Victor Olaya to Giovanni Manghi
  • Status changed from Open to Closed

#2 Updated by Mario Reyes over 7 years ago

Giovanni Manghi wrote:

Fixed here https://github.com/qgis/QGIS/pull/4915

The problem remains in QGIS 2.18.11 using Windows 10 32 bits. I tried to apply manually the changes and didn't work.

#3 Updated by Giovanni Manghi over 7 years ago

Mario Reyes wrote:

Giovanni Manghi wrote:

Fixed here https://github.com/qgis/QGIS/pull/4915

The problem remains in QGIS 2.18.11 using Windows 10 32 bits. I tried to apply manually the changes and didn't work.

there are other fixes needed for this to work that did not made the cut for 2.18.11

Also available in: Atom PDF