[GRASS5] [bug #4355] (grass) GUI: r.terraflow: the window does not pop up, error printed to terminal

Glynn Clements glynn at gclements.plus.com
Fri Apr 28 12:32:18 EDT 2006


Hamish wrote:

> > this bug's URL: http://intevation.de/rt/webrt?serial_num=4355
> > ---------------------------------------------------------------------
> > 
> > Subject: GUI: r.terraflow: the window does not pop up, error printed
> > to terminal
> ..
> 
> 
> Changing "spawn" to "term" in gui/tcltk/d.m/menu.tcl helps it start, but
> probably isn't the correct solution.
> 
> Changing to "execute" gives a tcl error (maybe informative as to the
> problem)

r.terraflow doesn't follow the correct startup sequence; it does some
stuff (e.g. G_get_set_window(), printing the region to stderr) before
G_parser() is called.

This will likely cause features such as --tcltk to break (Tcl's
exec/open functions will throw an exception if the process writes
anything to stderr).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list