[GRASS5] 5.1: tcl error in parser

Markus Neteler neteler at itc.it
Tue Apr 15 06:11:52 EDT 2003


Hi,

while the module's GUIs in 5.1 run well on Redhat,
I face a problem on Mandrake 9.1 (tcl/tk 8.3.3):

When starting e.g. d.vect, selecting a map and
clicking on "Run", the following error appears:

can't read "opttype(1)": no such element in array
    while executing
"if { $opttype($i) == "multi" } {
            set domulti 0
            for {set j 1} {$j <= $nmulti($i) } {incr j} {
                if { $optval($i,$..."
    (procedure "mkcmd" line 5)
    invoked from within
"mkcmd "
    invoked from within
".run invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tkButtonUp" line 7)
    invoked from within
"tkButtonUp .run
"
    (command bound to event)


The definition is in
lib/gis/parser.c
row 1236

I don't know what's wrong. Any hint/fix is welcome!

 Markus




More information about the grass-dev mailing list