[GRASS5] Re:

Markus Neteler neteler at geog.uni-hannover.de
Fri Mar 2 04:40:07 EST 2001


On Fri, Mar 02, 2001 at 03:54:15PM +0700, Justin Hickey wrote:
> Hi Markus
> 
> Markus Neteler wrote:
> > Aha, I see. So no (easy!) way to distinct between the version error
> > and other tcl/tk errors?
> 
> We could use the error code, but if the script fails due to a system
> error we don't know what that error code is. Thus, it is difficult to
> guarantee a unique error code.
>  
> > Well, the version message is quite useful. In this case we should
> > keep the message as is (perhaps adding "libraries" to be very clear
> > here for newcomers).
> 
> I changed the message to read as follows:
> 
>  Sorry your version of the Tcl/Tk libraries is 7.6 and is too
>  old for GRASS which requires a Tcl/Tk library version of 8.0 or later.
>  Reverting default settings back to GRASS text mode interface.
>  Error in Tcl/Tk startup. If necessary, please
>  Report this error to the Grass developers.
>  Switching to text mode now.
>  Hit RETURN to continue...
> 
> If there is any other error the output is
> 
>  Error in Tcl/Tk startup. If necessary, please
>  Report this error to the Grass developers.
>  Switching to text mode now.
>  Hit RETURN to continue...
> 
> Is this OK?
Yes, perfect!

Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list