Opened 12 years ago
Closed 12 years ago
#1854 closed defect (fixed)
d.legend kills wx monitor started with d.mon
Reported by: | huhabla | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 7.0.0 |
Component: | Display | Version: | svn-trunk |
Keywords: | wx, d.mon, d.legend | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
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'
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It works! Many thanks for the quick fix.
Please try r54714.