Bug report #12001

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

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

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/QGIS
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

Description

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
self.processAlgorithm(progress)
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 over 9 years ago

Merge pull request #1850 from SrNetoChan/Bug_12001

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

History

#1 Updated by Alexandre Neto over 9 years ago

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

https://github.com/qgis/QGIS/pull/1850

#2 Updated by Alexander Bruy over 9 years ago

  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi over 9 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF