[GRASS-dev] [GRASS GIS] #897: WinGrass: error with "Query vector
map (edit mode)"
GRASS GIS
trac at osgeo.org
Sat Jan 30 15:02:34 EST 2010
#897: WinGrass: error with "Query vector map (edit mode)"
-----------------------------------+----------------------------------------
Reporter: hellik | Owner: grass-dev at lists.osgeo.org
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 |
-----------------------------------+----------------------------------------
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'
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/897>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list