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

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 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.