[GRASS-dev] Re: [GRASS-CVS] michael: grass6/gui/tcltk/gis.m mapcanvas.tcl, 1.52, 1.53

Michael Barton michael.barton at asu.edu
Wed Nov 29 16:31:58 EST 2006

On 11/29/06 1:45 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> Even so, Tcl may defer reporting such errors to the corresponding
> "close" for simplicity (you only need to catch exceptions in one place
> rather than two). The open(n) manpage says:

Yes. I was able to trap the gdal error with a catch on the close command.
However, the catch on the open command is needed to trap an error caused by
a problem with g.region--maybe because it only reports one line of text????

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 

More information about the grass-dev mailing list