Opened 10 years ago

Closed 7 years ago

#1035 closed defect (fixed)

Querying vectors in Map DIsplay WIndow gives error

Reported by: epatton Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: wxGUI Version: svn-develbranch6
Keywords: vector, query Cc:
CPU: x86-64 Platform: Linux

Description

In the NC sample location, Load the geodetic_pts layer in the Layer Manager, and choose the 'Query vector Map (edit mode)' tool. Clicking on any point gives the following error:

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

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

qlayer = self.AddTmpVectorMapLayer(mapName, cats,
useId=False)
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1582, in AddTmpVectorMapLayer

elif parg == 'size': size = int(pval)
ValueError
:
invalid literal for int() with base 10: '8.0'

~ Eric.

Change History (1)

comment:1 Changed 7 years ago by annakrat

Resolution: fixed
Status: newclosed

Fixed in r52915, r52916, r52917.

Note: See TracTickets for help on using tickets.