[GRASS-dev] [GRASS GIS] #921: Error querying vector map in wxpython Map Display window

#921: Error querying vector map in wxpython Map Display window
---------------------+------------------------------------------------------
Reporter: epatton | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------
I get the following error after clicking on a vector in the Map Display
window using the 'Query raster/vector map(s)' button:

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

self.OnLeftUp(event)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
pdisp_window.py", line 1881, 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 1473, in QueryVector

action="update")
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/db
m_dialogs.py", line 106, in __init__

self.UpdateDialog(query=query, cats=cats)
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/db
m_dialogs.py", line 415, in UpdateDialog

for idx in range(len(columns[key]['values'])):
KeyError
:
'cat'

}}}

Raster querying using the same tool works ok, though. I'm not sure if this
is related to the other bug I just posted today about not being able to
query my vector databases.

~ Eric.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/921&gt;
GRASS GIS <http://grass.osgeo.org>

#921: Error querying vector map in wxpython Map Display window
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: invalid | Keywords:
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by epatton):

  * status: new => closed
  * resolution: => invalid

Comment:

This error was caused by an incorrect database connection parameter;
closing ticket.

~ Eric.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/921#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>