Bug report #18750

Reclassify grid values in SAGA broken

Added by matteo ghetta about 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Processing/SAGA
Affected QGIS version:master Regression?:Yes
Operating System:linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:26637

Description

This the error in the log file:

Loading resulting layers
Algorithm 'Reclassify values (simple)' finished
Processing algorithm…
AlgorithmDialog
Input parameters:
{ 'GRID_IN' : '/tmp/processing_0d84d0cba3f64eca9243f2ba5fdb600f/aa9dc0ddfbda469795eebb092d750248/slope.tif', 'GRID_OUT' : '/tmp/processing_0d84d0cba3f64eca9243f2ba5fdb600f/7b39a3544ce4440f9a7261e954e9149b/GRID_OUT.sdat', 'LOOKUP' : [[0,15,1],[15,30,2],[30,70,3]], 'METHOD' : 2 }

Traceback (most recent call last):
File "/home/matteo/lavori/QGIS/newbuild/output/python/plugins/processing/algs/saga/SagaAlgorithm.py", line 270, in processAlgorithm
s = values[i] + '\t' + values[i + 1] + '\t' + values[i + 2] + '\n'
TypeError: can only concatenate list (not "str") to list

Execution failed after 0.06 seconds

Loading resulting layers
Algorithm 'Reclassify values (simple)' finished

Associated revisions

Revision 3dde95de
Added by Nyall Dawson almost 6 years ago

[processing][SAGA] Fix broken reclassify values algorithm

Fixes #18750

History

#1 Updated by Nyall Dawson almost 6 years ago

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

Also available in: Atom PDF