[GRASS-dev] [GRASS GIS] #159: wxpython: Layer Manager crashes when trying to edit vector properties

GRASS GIS trac at osgeo.org
Fri May 9 11:37:34 EDT 2008


#159: wxpython: Layer Manager crashes when trying to edit vector properties
--------------------------------------+-------------------------------------
 Reporter:  epatton                   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                    |      Status:  new                      
 Priority:  major                     |   Milestone:  6.4.0                    
Component:  Python                    |     Version:  svn-trunk                
 Keywords:  vector, display, overlay  |  
--------------------------------------+-------------------------------------
 I can't seem to consistently get vector maps to properly overlay a
 background raster. No matter which order they vector/raster maps appear in
 the Layer Manager, the vector fails to draw on top of the raster, even
 when doing a full re-render of the map display window. I have ensured that
 the raster properties are set to 'overlay' in my Layer Manager
 preferences. When I try to double-click on the vector map to edit
 properties to investigate the problem, I receive the following error:

 {{{
 Settings saved to file '/home/epatton/Projects/.grasswx'.
 Traceback (most recent call last):
   File "/usr/local/grass-7.0.svn/etc/wxpython/gui_modules/wx
 gui_utils.py", line 721, in OnActivateLayer

 self.PropertiesDialog (layer)
   File "/usr/local/grass-7.0.svn/etc/wxpython/gui_modules/wx
 gui_utils.py", line 645, in PropertiesDialog

 if self.GetPyData(layer)[0]['propwin'].IsShown():
   File "/usr/lib/python2.5/site-
 packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14314, in
 __getattr__

 raise PyDeadObjectError(self.attrStr % self._name)
 wx._core
 .
 PyDeadObjectError
 :
 The C++ part of the mainFrame object has been deleted,
 attribute access no longer allowed.

 }}}

 ~ Eric.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/159>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list