Opened 12 years ago

Closed 11 years ago

#159 closed defect (fixed)

wxpython: Layer Manager crashes when trying to edit vector properties

Reported by: epatton Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-trunk
Keywords: vector, display, overlay Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (2)

comment:1 Changed 11 years ago by martinl

Component: PythonwxGUI

comment:2 Changed 11 years ago by cmbarton

CPU: Unspecified
Platform: Unspecified
Resolution: fixed
Status: newclosed

Fixed in trunk. Will be ported to 6.4 soon.

Note: See TracTickets for help on using tickets.