Opened 11 years ago

Closed 11 years ago

#1854 closed defect (fixed)

d.legend kills wx monitor started with d.mon

Reported by: huhabla Owned by: grass-dev@…
Priority: major Milestone: 7.0.0
Component: Display Version: svn-trunk
Keywords: wx, d.mon, d.legend Cc:
CPU: x86-64 Platform: Linux


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/", line 1358, in Notify


File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/mapdisp/", line 289, in watcher


File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/mapdisp/", 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/", 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/", 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/", line 87, in init


File "/home/soeren/src/grass7.0/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/core/", 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 annakrat, 11 years ago

Please try r54714.

comment:2 by huhabla, 11 years ago

Resolution: fixed
Status: newclosed

It works! Many thanks for the quick fix.

Note: See TracTickets for help on using tickets.