Bug report #12001

Processing "Keep n biggest parts" tool fails if n>=2

Added by Giovanni Manghi about 9 years ago. Updated about 9 years ago.

Assignee:Victor Olaya
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:20205


Python error is

Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 234, in execute
File "/usr/share/qgis/python/plugins/processing/script/ScriptAlgorithm.py", line 264, in processAlgorithm
exec(script) in ns
File "<string>", line 37, in <module>
TypeError: 'int' object is not iterable

Associated revisions

Revision cd556e65
Added by Alexander Bruy about 9 years ago

Merge pull request #1850 from SrNetoChan/Bug_12001

fix Processing Keep n biggest parts algorithm (fix #12001)


#1 Updated by Alexandre Neto about 9 years ago

I have created a patch for this, please check the following pull request:


#2 Updated by Alexander Bruy about 9 years ago

  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi about 9 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF