[GRASS-dev] [bug #5192] (grass) tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl

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

Subject: tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources

Hello,

I packaged GRASS 6.2.0RC2 for Pardus -Linux. When I start GRASS, I get this error below.

And tcl version is 8.5_alpha3...

murat@pardus grass $ grass
Cleaning up temporary files.....
Starting GRASS ...

Welcome to GRASS 6.2.0RC2 (2006)
GRASS homepage: http://grass.itc.it/
This version running thru: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the graphical user interface with: gis.m &
When ready to quit enter: exit
GRASS 6.2.0RC2 (samples):~/Desktop/grass > Error in startup script: bad variable name "coords(1)": upvar won't create a scalar variable that looks like an array element
    while executing
"global coords($mon)"
    (procedure "MapCanvas::pointer" line 5)
    invoked from within
"MapCanvas::pointer $mon"
    (procedure "MapCanvas::create" line 226)
    invoked from within
"MapCanvas::create"
    (procedure "Gm::startmon" line 11)
    invoked from within
"Gm::startmon"
    (procedure "Gm::create" line 69)
    invoked from within
"Gm::create"
    (procedure "main" line 30)
    invoked from within
"main $argc $argv"
    (file "/var/tmp/pisi/grass-6.2.0_rc2-3/install/opt/grass-6.2.0RC2/etc/gm/gm.tcl" line 521)

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

We use TclTk 8.4.x. You are using 8.5 alpha.

I don't know if this is indeed the problem, but it is the first place I'd
start checking given the error you have.

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

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

From: Request Tracker <grass-bugs@intevation.de>
Reply-To: Request Tracker <grass-bugs@intevation.de>
Date: Sat, 7 Oct 2006 17:19:36 +0200 (CEST)
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] [bug #5192] (grass) tclsh error in
/grass-6.2.0RC2/etc/gm/gm.tcl

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

Subject: tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources

Hello,

I packaged GRASS 6.2.0RC2 for Pardus -Linux. When I start GRASS, I get this
error below.

And tcl version is 8.5_alpha3...

murat@pardus grass $ grass
Cleaning up temporary files.....
Starting GRASS ...

Welcome to GRASS 6.2.0RC2 (2006)
GRASS homepage: http://grass.itc.it/
This version running thru: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the graphical user interface with: gis.m &
When ready to quit enter: exit
GRASS 6.2.0RC2 (samples):~/Desktop/grass > Error in startup script: bad
variable name "coords(1)": upvar won't create a scalar variable that looks
like an array element
    while executing
"global coords($mon)"
    (procedure "MapCanvas::pointer" line 5)
    invoked from within
"MapCanvas::pointer $mon"
    (procedure "MapCanvas::create" line 226)
    invoked from within
"MapCanvas::create"
    (procedure "Gm::startmon" line 11)
    invoked from within
"Gm::startmon"
    (procedure "Gm::create" line 69)
    invoked from within
"Gm::create"
    (procedure "main" line 30)
    invoked from within
"main $argc $argv"
    (file
"/var/tmp/pisi/grass-6.2.0_rc2-3/install/opt/grass-6.2.0RC2/etc/gm/gm.tcl"
line 521)

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