[GRASS-dev] [GRASS GIS] #113: wxgrass: should automatically open display if layer added with no open display

GRASS GIS trac at osgeo.org
Tue Apr 1 04:39:13 EDT 2008


#113: wxgrass: should automatically open display if layer added with no open
display
------------------------------------+---------------------------------------
 Reporter:  mlennert                |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement             |      Status:  new                      
 Priority:  major                   |   Milestone:  6.4.0                    
Component:  Python                  |     Version:  svn-trunk                
 Keywords:  wxgrass display layers  |  
------------------------------------+---------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/113>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list