Ticket #113 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

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.

Change History

Changed 4 years ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

Should be fixed now in trunk, r30833. Martin

Changed 4 years ago by martinl

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.