[GRASS-dev] Re: [GRASS GIS] #227: various error messges during
digitizing
GRASS GIS
trac at osgeo.org
Sat Jul 19 11:27:52 EDT 2008
#227: various error messges during digitizing
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: attributes, key column
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by msieczka):
The r32166/r32167 fix is cool itself, but it does not fix the given issue.
I'm attaching a sample location to reproduce the error.
1. enter the location, mapset test
2. add vector map "testit" to the list
3. start editing it, digitize a point - error is printed:
{{{
Traceback (most recent call last):
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 972, in MouseActions
self.OnRightUp(event)
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1681, in OnRightUp
action="add")
File
"/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/dbm.py",
line 2738, in __init__
self.UpdateDialog(query, cats, line)
File
"/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/dbm.py",
line 2973, in UpdateDialog
if len(columns[key]['values']) == 0: # no cats
KeyError
:
'cat'
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/227#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list