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

#159: wxpython: Layer Manager crashes when trying to edit vector properties
--------------------------------------+-------------------------------------
Reporter: epatton | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

#159: wxpython: Layer Manager crashes when trying to edit vector properties
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: vector, display, overlay
----------------------+-----------------------------------------------------
Changes (by martinl):

  * component: Python => wxGUI

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

#159: wxpython: Layer Manager crashes when trying to edit vector properties
--------------------------+-------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: vector, display, overlay
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):

  * status: new => closed
  * platform: => Unspecified
  * resolution: => fixed
  * cpu: => Unspecified

Comment:

Fixed in trunk. Will be ported to 6.4 soon.

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