[GRASS-dev] [GRASS GIS] #1854: d.legend kills wx monitor started with d.mon

GRASS GIS trac at osgeo.org
Sat Jan 19 09:06:51 PST 2013


#1854: d.legend kills wx monitor started with d.mon
---------------------------------+------------------------------------------
 Reporter:  huhabla              |       Owner:  grass-dev@…              
     Type:  defect               |      Status:  new                      
 Priority:  major                |   Milestone:  7.0.0                    
Component:  Display              |     Version:  svn-trunk                
 Keywords:  wx, d.mon, d.legend  |    Platform:  Linux                    
      Cpu:  x86-64               |  
---------------------------------+------------------------------------------
 After calling d.legend the wx0 monitor is blocked.

 GRASS 7.0.svn (utm43wgs84):~/grassdata > d.mon wx0
 GRASS 7.0.svn (utm43wgs84):~/grassdata > d.rast h
 GRASS 7.0.svn (utm43wgs84):~/grassdata > d.legend h
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py",
 line 1358, in Notify
     self.notify()
   File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapdisp/main.py", line 289, in watcher
     self.mapFrm.GetMap().GetLayersFromCmdFile()
   File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapdisp/main.py", line 101, in GetLayersFromCmdFile
     self.AddLayer(ltype = ltype, command = cmd, active = False, name =
 name)
   File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/core/render.py", line 1040, in AddLayer
     active = active, hidden = hidden, opacity = opacity)
   File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/core/render.py", line 345, in __init__
     active, hidden, opacity)
   File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/core/render.py", line 87, in __init__
     self.SetType(ltype)
   File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/core/render.py", line 265, in SetType
     raise GException(_("Unsupported map layer type '%s'") % ltype)
 core.gcmd.GException: Unsupported map layer type 'None'

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1854>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list