[GRASS-user] error running digitzing tool wxpython

Joop Goedbloed jlgoedbloed at hetnet.nl
Thu Nov 20 15:20:22 EST 2008


Hello Grass Usersgroup

Running on linux open suse 10.3  have download 
grass-6.4.svn_src_snapshot_2008_11_15.tar.gz
en install some additional libraries (wxwidget, wxpyton ,swig etc)  and 
compiled the source-code  include the pyton
digitizing tool v.digit.

Running the digitize tool I've the following error masseges:

if len(self.vdigitMove['id']) > 0:
TypeError
:
tuple indices must be integers
Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1125, in MouseActions

self.OnMouseMoving(event)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2011, in OnMouseMoving

if len(self.vdigitMove['id']) > 0:
TypeError
:
tuple indices must be integers
Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1125, in MouseActions

self.OnMouseMoving(event)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2011, in OnMouseMoving

if len(self.vdigitMove['id']) > 0:
TypeError
:
tuple indices must be integers
Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1125, in MouseActions

self.OnMouseMoving(event)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2011, in OnMouseMoving

if len(self.vdigitMove['id']) > 0:
TypeError
:
tuple indices must be integers


What is wrong?
The vectormap contains floating point coordinates, and reading the 
report of Martin Landa  (Perugia, 21-22 Feb 2008)
wxPython-based GUI for GRASS GIS

"the general display architecture needs to bee improved to support 
floating-point coordinates"
Is here the problem



thanks for help

Joop Goedbloed



More information about the grass-user mailing list