Ticket #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@… |
| Platform: | CPU: |
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.
