Opened 14 years ago

Closed 14 years ago

#2517 closed patch (fixed)

Progressbar in Select by Location don't work

Reported by: alexbruy Owned by: cfarmer
Priority: major: does not work as expected Milestone: Version 1.5.0
Component: Python plugins and bindings Version: Trunk
Keywords: Cc: dr, gislab
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Add two layers to project and run Select by Location. After few minutes we have selection but progressbar always stay at 0%

Patch attached

Attachments (1)

doSelectByLocation.py.diff (996 bytes ) - added by alexbruy 14 years ago.
Path to fix typo

Download all attachments as: .zip

Change History (5)

comment:1 by cfarmer, 14 years ago

Resolution: fixed
Status: newclosed

Patch applied in r13024.

Thanks to alexbruy for the fix!

-Carson

comment:2 by dr, 14 years ago

Resolution: fixed
Status: closedreopened

When I try to use this tool I get an error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools\doSelectByLocation.py", line 52, in accept
    self.compute(inPoly, inPts, self.cmbModify.currentText())
  File "C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools\doSelectByLocation.py", line 70, in compute
    self.progressBar.setValue( self.progressBarValue() + 1 )
AttributeError: 'Dialog' object has no attribute 'progressBarValue'

comment:3 by alexbruy, 14 years ago

Sorry, it's my fault. There is a typo in code

by alexbruy, 14 years ago

Attachment: doSelectByLocation.py.diff added

Path to fix typo

comment:4 by cfarmer, 14 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in trunk.

-Carson

Note: See TracTickets for help on using tickets.