[GRASS-dev] [GRASS GIS] #482: wx NVIZ crashes when adding a vector map

#482: wx NVIZ crashes when adding a vector map
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
1. add a raster map, zoom to it, switch to 3d view

2. 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?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/482&gt;
GRASS GIS <http://grass.osgeo.org>

#482: wx NVIZ crashes when adding a vector map
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/482#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#482: wx NVIZ crashes when adding a vector map
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/482#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>