[GRASS-dev] [GRASS GIS] #1035: Querying vectors in Map DIsplay WIndow gives error

GRASS GIS trac at osgeo.org
Wed Apr 14 11:21:33 EDT 2010


#1035: Querying vectors in Map DIsplay WIndow gives error
---------------------------+------------------------------------------------
 Reporter:  epatton        |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  6.5.0                    
Component:  wxGUI          |     Version:  svn-develbranch6         
 Keywords:  vector, query  |    Platform:  Linux                    
      Cpu:  x86-64         |  
---------------------------+------------------------------------------------
 In the NC sample location, Load the geodetic_pts layer in the Layer
 Manager, and choose the 'Query vector Map (edit mode)' tool. Clicking on
 any point gives the following error:

 {{{
 Traceback (most recent call last):
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp_window.py", line 1077, in MouseActions

 self.OnLeftUp(event)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp_window.py", line 1886, in OnLeftUp

 self.parent.QueryVector(self.mouse['begin'][0],
 self.mouse['begin'][1])
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp.py", line 1500, in QueryVector

 qlayer = self.AddTmpVectorMapLayer(mapName, cats,
 useId=False)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp.py", line 1582, in AddTmpVectorMapLayer

 elif parg == 'size': size = int(pval)
 ValueError
 :
 invalid literal for int() with base 10: '8.0'
 }}}

 ~ Eric.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1035>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list