Opened 17 years ago
Closed 17 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 , 17 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should be fixed now in trunk, r30833. Martin