Opened 14 years ago

Closed 14 years ago

#482 closed defect (fixed)

wx NVIZ crashes when adding a vector map

Reported by: msieczka Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc: grass-dev@…
CPU: x86-64 Platform: Linux


  1. add a raster map, zoom to it, switch to 3d view
  1. try to add a vector map in the GIS manager main window - error:
Traceback (most recent call last):
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/me", line 763, in OnOK

cmd = self.OnApply(event)
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/me", line 775, in OnApply

  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/wx", line 1300, in GetOptData

  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv", line 594, in LoadVector

layer = self.tree.GetPyData(item)[0]['maplayer']
  File "/usr/lib/python2.5/site-
packages/wx-2.8-gtk2-unicode/wx/lib/", line
2373, in GetPyData

return item.GetData()
'MapLayer' object has no attribute 'GetData'

Maybe related to #427?

Change History (2)

comment:1 by martinl, 14 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Fixed in trunk (r35809), devbr6 (r35810) and relbr64 (r35811).

comment:2 by martinl, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.