[GRASSLIST:2785] Re: Error in startup script

Eric G. Miller egm2 at jps.net
Sun Dec 16 05:21:24 EST 2001


On Sun, 16 Dec 2001 08:55:34 +0100 (MET), bouffy <bouffy at free.fr> wrote:

> Hi,
> 
> I've got a problem when I run the tcltkgrass command.
> The following message appears :
> 
> -------------
>  Error in startup script: unmatched open brace in list
>        while executing
>  "llenght $line"
>        invoked from within
>  "if ![catch {open ~/.tcltkgrass r} stream] {
>        while {[gets $stream line] >= 0} {
>           if {[llenght $line] != 2 || \
>               [set i [scan [lin..."
>        (file "/usr/local/grass5/tcltkgrass/main/gui.tcl" line 1840)
>        invoked from within
>  "source $env(TCLTKGRASSBASE)/main/gui.tcl"
>        (file "/usr/local/grass5/bin/tcltkgrass" line 17)
> -------------

Looks like somehow you got a typo in there.  "llenght" should be "llength". I
couldn't find the typo in my sources...

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list