Opened 16 years ago

Closed 16 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

Description

  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
nuform.py", line 763, in OnOK

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

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

mapWin.LoadVector(mapLayer)
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", 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/customtreectrl.py", line
2373, in GetPyData

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

Maybe related to #427?

Change History (2)

comment:1 by martinl, 16 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, 16 years ago

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