[GRASS-dev] Re: [GRASS GIS] #897: WinGrass: error with "Query vector map (edit mode)"

GRASS GIS trac at osgeo.org
Mon Jul 19 17:13:09 EDT 2010


#897: WinGrass: error with "Query vector map (edit mode)"
-----------------------------------+----------------------------------------
 Reporter:  hellik                 |       Owner:  grass-dev@…              
     Type:  defect                 |      Status:  new                      
 Priority:  normal                 |   Milestone:  6.4.0                    
Component:  wxGUI                  |     Version:  svn-releasebranch64      
 Keywords:  wingrass, GUI, vector  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                 |  
-----------------------------------+----------------------------------------

Comment(by hellik):

 Replying to [ticket:897 hellik]:
 > if querying a vector in edit mode, there is following error message
 (tested with self compiled grass64svn living in the osgeo4w-stack and with
 a self build WinGrass-Installation living in c:\Program
 Files\GRASS-64-SVN)
 >
 > C:\Program Files\GRASS-64-SVN:
 > {{{
 > Traceback (most recent call last):
 >   File "C:\Program
 > Files\GRASS-64-SVN\etc\wxpython\gui_modules\mapdisp.py",
 > line 1092, in MouseActions
 >
 > self.OnLeftUp(event)
 >   File "C:\Program
 > Files\GRASS-64-SVN\etc\wxpython\gui_modules\mapdisp.py",
 > line 1474, in OnLeftUp
 >
 > self.parent.QueryVector(self.mouse['begin'][0],
 > self.mouse['begin'][1])
 >   File "C:\Program
 > Files\GRASS-64-SVN\etc\wxpython\gui_modules\mapdisp.py",
 > line 3636, in QueryVector
 >
 > action="update")
 >   File "C:\Program
 > Files\GRASS-64-SVN\etc\wxpython\gui_modules\dbm.py", line
 > 2964, in __init__
 >
 > self.UpdateDialog(query=query, cats=cats)
 >   File "C:\Program
 > Files\GRASS-64-SVN\etc\wxpython\gui_modules\dbm.py", line
 > 3206, in UpdateDialog
 >
 > cat = int(data['Category'][idx])
 > KeyError
 > :
 > 'Category'
 > }}}
 >
 > c:\OSGeo4W\apps\grass\grass-6.4.0svn
 > {{{
 > Traceback (most recent call last):
 >   File "c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 > i_modules\mapdisp.py", line 1092, in MouseActions
 >
 > self.OnLeftUp(event)
 >   File "c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 > i_modules\mapdisp.py", line 1474, in OnLeftUp
 >
 > self.parent.QueryVector(self.mouse['begin'][0],
 > self.mouse['begin'][1])
 >   File "c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 > i_modules\mapdisp.py", line 3636, in QueryVector
 >
 > action="update")
 >   File "c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 > i_modules\dbm.py", line 2964, in __init__
 >
 > self.UpdateDialog(query=query, cats=cats)
 >   File "c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gu
 > i_modules\dbm.py", line 3206, in UpdateDialog
 >
 > cat = int(data['Category'][idx])
 > KeyError
 > :
 > 'Category'
 > }}}
 >

 tested with WinGRASS-6.4.SVN-r42833-1-Setup.exe in a WinVista32-box.

 the wxgui is freezing with "Query vector map (edit mode)".

 Helmut

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/897#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list