Bug report #7785

random selection broken in master

Added by Giovanni Manghi over 11 years ago. Updated over 7 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:vinayan Parameswaran
Category:Processing/QGIS
Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16680

Description

both ftools random selection tools are not working in master.

The normal one does nothing, the other (within subsets) resturns

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/fTools/tools/doSubsetSelect.py", line 77, in accept
self.compute(inVect, uidField, value, perc, self.progressBar)
File "/usr/share/qgis/python/plugins/fTools/tools/doSubsetSelect.py", line 84, in compute
mlayer.removeSelection(True)
TypeError: QgsVectorLayer.removeSelection(): too many arguments

Associated revisions

Revision adb26534
Added by vinayan Parameswaran over 11 years ago

Merge pull request #585 from vinayan/randomsel

[Fix #7785] - ftools-random selection broken in master

History

#1 Updated by vinayan Parameswaran over 11 years ago

  • Assignee set to vinayan Parameswaran

Hi Giovanni,
Vector -> Research Tools -> Random selection is working fine for me
Only Random selection within subsets has this issue..right?

#2 Updated by vinayan Parameswaran over 11 years ago

  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi over 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF