[GRASS5] [bug #4029] (grass) error in new gis.m

this bug's URL: http://intevation.de/rt/webrt?serial_num=4029
-------------------------------------------------------------------------

Subject: error in new gis.m

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: CVS 6.1 checked out at 20060121

in the monitor of the new gis.m module, if I try to use the tools MEASURE or QUERY i got the following error :

can't read "linex2": no such variable
can't read "linex2": no such variable
    while executing
"$can($mon) create line $linex1 $liney1 $linex2 $liney2 -fill green -arrow both -width 2"
    (procedure "mapcan::measure" line 9)
    invoked from within
"mapcan::measure 1"
    (command bound to event)

and with tool PAN

can't read "to_x": no such variable
can't read "to_x": no such variable
    while executing
"scrx2mape $to_x"
    (procedure "mapcan::pan" line 11)
    invoked from within
"mapcan::pan $mon"
    (command bound to event)

this makes the whole thing quite unusable. in the next days i'm trying to stress this new module as much as possible, I think it's a good step forward a friendly GUI.

-------------------------------------------- Managed by Request Tracker

Thanks for spotting this. It apparently cropped up in a fix of another
sticky problem on Friday.

I can't put it into the CVS from home, and so won't be able to do it until
Monday. In the meantime, here is the fixed version of the offending file for
anyone who wants to try it.

Just put this into $GISBASE/etc/gm and replace the existing version.

Michael

On 1/21/06 4:31 AM, "Request Tracker" <grass-bugs@intevation.de> wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=4029
-------------------------------------------------------------------------

Subject: error in new gis.m

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: CVS 6.1 checked out at 20060121

in the monitor of the new gis.m module, if I try to use the tools MEASURE or
QUERY i got the following error :

can't read "linex2": no such variable
can't read "linex2": no such variable
    while executing
"$can($mon) create line $linex1 $liney1 $linex2 $liney2 -fill green -arrow
both -width 2"
    (procedure "mapcan::measure" line 9)
    invoked from within
"mapcan::measure 1"
    (command bound to event)

and with tool PAN

can't read "to_x": no such variable
can't read "to_x": no such variable
    while executing
"scrx2mape $to_x"
    (procedure "mapcan::pan" line 11)
    invoked from within
"mapcan::pan $mon"
    (command bound to event)

this makes the whole thing quite unusable. in the next days i'm trying to
stress this new module as much as possible, I think it's a good step forward a
friendly GUI.

-------------------------------------------- Managed by Request Tracker

___________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287

WWW - http://www.public.asu.edu/~cmbarton
Phone: 480-965-6262
Fax: 480-965-7671

(attachments)

mapcanvas.tcl (23.3 KB)