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

GRASS GIS trac at osgeo.org
Sat Feb 7 15:54:33 EST 2009


#482: wx NVIZ crashes when adding a vector map
----------------------+-----------------------------------------------------
 Reporter:  msieczka  |       Owner:  grass-dev at 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>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list