Opened 16 years ago

Closed 16 years ago

#113 closed enhancement (fixed)

wxgrass: should automatically open display if layer added with no open display

Reported by: mlennert Owned by: martinl
Priority: major Milestone: 6.4.0
Component: Python Version: svn-trunk
Keywords: wxgrass display layers Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

IMHO, wxgrass should open a display window automatically if none is open and a map layer is added. Currently it gives this fairly cryptic error message:

Traceback (most recent call last):

File "/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-

linux-gnu/etc/wxpython/wxgui.py", line 1145, in AddRaster

self.curr_page.maptree.AddLayer('raster')

File "/usr/lib/python2.4/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 Panel object has been deleted, attribute access no longer allowed.

Change History (2)

comment:1 by martinl, 16 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Should be fixed now in trunk, r30833. Martin

comment:2 by martinl, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.