[GRASS5] [bug #4356] (grass) d.m: d.rast.num fails when called from 'Add comand layer'

Request Tracker grass-bugs at intevation.de
Thu Apr 27 09:10:29 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4356
-------------------------------------------------------------------------

Subject: d.m: d.rast.num fails when called from 'Add comand layer'

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-04-12

1. Add 'd.rast.num some_layer' using 'Add comand layer'.

2. When the following warning applies to d.rast.num, printed in the terminal...

---
Current window size:
rows:    154
columns: 252

Your current window setting may be too large.
Cells displayed on your graphics window may be too
small for cell category number to be visible.

Do you wish to continue(y/n) [n]
---

...then an GUI error pops up:

child process exited abnormally
child process exited abnormally
    while executing
"exec -- d.rast.num fdrp >@ stdout 2>@ stderr"
    ("eval" body line 1)
    invoked from within
"eval exec -- $cmd >@ stdout 2>@ stderr"
    (procedure "runcmd" line 5)
    invoked from within
"runcmd $cmd"
    (procedure "DmCmd::display" line 13)
    invoked from within
"DmCmd::display $node"
    ("cmd" arm line 2)
    invoked from within
"switch $type {
        group {
            DmGroup::display $node
	}
	raster {
	    DmRaster::display $node
	}
	labels {
	    DmLabels::display $node
..."
    (procedure "Dm::display_node" line 6)
    invoked from within
"Dm::display_node $n"
    (procedure "DmGroup::display" line 11)
    invoked from within
"DmGroup::display "root" "
    (procedure "Dm::display" line 8)
    invoked from within
"Dm::display"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .mainframe.topf.tb0.bbox1.b0"
    (command bound to event)

3. Even if the region is small enough for the warning not to apply, using 'Zoom' tool in d.m results in the d.zoom GUI popping up, instead of running d.zoom per se.

Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list