[GRASS-dev] Query vector in edit mode

Massimo Di Stefano massimodisasha at gmail.com
Sat Apr 10 05:33:43 EDT 2010


Hi All,

using grass65 svn, when i query a vector in "Edit mode" and the zoom level is not "appropriate"
(eg.: zoom too out -> mouse pick detect more than one feature, as when we have too dense points)

i have this error :


Traceback (most recent call last):
  File "/usr/local/src/gis/grass6_devel/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/mapdisp_window.py", line
1077, in MouseActions

self.OnLeftUp(event)
  File "/usr/local/src/gis/grass6_devel/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/mapdisp_window.py", line
1886, in OnLeftUp

self.parent.QueryVector(self.mouse['begin'][0],
self.mouse['begin'][1])
  File "/usr/local/src/gis/grass6_devel/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/mapdisp.py", line 1477,
in QueryVector

action="update")
  File "/usr/local/src/gis/grass6_devel/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/dbm_dialogs.py", line
106, in __init__

self.UpdateDialog(query=query, cats=cats)
  File "/usr/local/src/gis/grass6_devel/dist.x86_64-unknown-
linux-gnu/etc/wxpython/gui_modules/dbm_dialogs.py", line
343, in UpdateDialog

tfid = int(data['Id'][idx])
IndexError
:
list index out of range
 



More information about the grass-dev mailing list