[QGIS-trac] Re: [Quantum GIS] #2735: fTools: random selection issues

Quantum GIS qgis at qgis.org
Fri Jul 2 11:27:02 EDT 2010


#2735: fTools: random selection issues
-----------------------------------------------------+----------------------
        Reporter:  pcav                              |         Owner:  cfarmer      
            Type:  bug                               |        Status:  reopened     
        Priority:  major: does not work as expected  |     Milestone:  Version 1.5.0
       Component:  Python plugins and bindings       |       Version:  Trunk        
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by pcav):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Tested again on r13875, same error:

 An error has occured while executing Python code:

 Traceback (most recent call last):
   File "/usr/share/qgis/python/plugins/fTools/tools/doSubsetSelect.py",
 line 79, in accept
     self.compute(inVect, uidField, value, perc, self.progressBar)
   File "/usr/share/qgis/python/plugins/fTools/tools/doSubsetSelect.py",
 line 107, in compute
     if atMap[index] == QVariant(i):
 KeyError: 1

 Python version:
 2.6.5+ (release26-maint, Jul  1 2010, 00:00:44)
 [GCC 4.4.4]

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2735#comment:5>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list