Details Ticket 5192


Comment | Reply | Take | Open


Serial Number 5192
Subject tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl
Area grass6
Queue grass
Requestors muratasenel@gmail.com
Owner none
Status resolved
Last User Contact Wed May 9 21:24:29 2007 (1 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Wed May 9 21:24:29 2007 (1 yr ago)
Created Sat Oct 7 17:19:36 2006 (2 yr ago)

Transaction History Ticket 5192


Sat, Oct 7 2006 17:19:36    Request created by guest  
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)
Sun, Oct 8 2006 10:27:17    Mail sent by msieczka  
guest wrote (Sat, Oct 7 2006 17:19:36):

> I packaged GRASS 6.2.0RC2 for Pardus -Linux.

Great! Thanks.

> When I start GRASS, I get this error below.
> 
> And tcl version is 8.5_alpha3...

Can you reproduce that with tcl 8.3 or 8.4? Main gis.m developer is using 8.4
I believe.

Maciek
Sun, Oct 8 2006 12:19:21    Mail sent by muratasenel@gmail.com  
Return-Path <muratasenel@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=JCvnuN1Wm/fbaft3tTkibLsb+04T4nRJeKw6J7Yizzwce0elUOg2jM7ouIpEn3RKCoT7C5UGmuSB+wEsTE++k71S4jFeAJiF2WGQ0lWAPWi0teE+ZvyjZOG+zAsKMw0ysTBRY61BcjvUeeaWf3PXTAvSsXQlc2fAy65onaPPbMU=
From Murat =?utf-8?q?=C5=9Eenel?= <muratasenel@gmail.com>
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Subject Re: [bug #5192] (grass) tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl
Date Sun, 8 Oct 2006 13:19:27 +0300
User-Agent KMail/1.9.4
References <20061008082717.9D33E1005A8@lists.intevation.de>
In-Reply-To <20061008082717.9D33E1005A8@lists.intevation.de>
MIME-Version 1.0
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
Message-Id <200610081319.28206.muratasenel@gmail.com>
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.933 tagged_above=-999 required=3 tests=[BAYES_00=-5, RCVD_BY_IP=0.067]
X-Spam-Level
08 Eki 2006 Paz 11:27 tarihinde, Maciek Sieczka via RT =C5=9Funlar=C4=B1 ya=
zm=C4=B1=C5=9Ft=C4=B1:=20

> Can you reproduce that with tcl 8.3 or 8.4? Main gis.m developer is using
> 8.4

I tried it with tcl 8.4 and got something different. The GUI couldn't be=20
started and it gives this:
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
Start the graphical user interface with: gis.m &
When ready to quit enter:                exit
GRASS 6.2.0RC2 (samples):~/Desktop/grass > gis.m &
[1] 16887
GRASS 6.2.0RC2 (samples):~/Desktop/grass > /opt/grass-6.2.0RC2/scripts/gis.=
m:=20
line 16: exec: wish: not found

Another thing is with tcl8.5 alfa when I remove these two lines at the end=
=20
of /opt/grass-6.2.0RC2/etc/gm/gm.tcl file=20
main $argc $argv
wm geom . [wm geom .]
the window appears like here :=20
But then when I press the button "run gui"(or something like that 'cause it=
's=20
in Turkish) it gives this error:=20
http://img206.imageshack.us/my.php?image=3Dasdin8.png

couldn't execute "": no such file or directory
couldn't execute "": no such file or directory
    while executing
"exec -- $program --tcltk"
    (procedure "run_ui" line 11)
    invoked from within
"run_ui [string trim [.gronsole.win.text get 1.0 end]]"
    invoked from within
".gronsole.command.runui invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 22)
    invoked from within
"tk::ButtonUp .gronsole.command.runui"
    (command bound to event)

This might be because of that I don't have xterm and also I know that with=
=20
this version of GRASS, I can use konsole by giving the parameter=20
export GRASS_XTERM=3Dkonsole
but it doesn't work. Anyway, I can post another thread for this If you want=
=2E=20
But tcl error is more critical for now...

Thanks in advance


Sun, Oct 8 2006 20:25:27    Mail sent by michael.barton@asu.edu  
Return-Path <michael.barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.5.060620
Date Sun, 08 Oct 2006 11:25:20 -0700
Subject Re: [GRASS-dev] [bug #5192] (grass) tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl
From Michael Barton <michael.barton@asu.edu>
To Paolo Cavallini via RT <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
Message-ID <C14E90A0.F804%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #5192] (grass) tclsh error in /grass-6.2.0RC2/etc/gm/gm.tcl
Thread-Index AcbrBxxgWyo8CFb6EduMDgAKlXAweg==
In-Reply-To <20061007151936.EC3A810015B@lists.intevation.de>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-3.752 tagged_above=-999 required=3 tests=[BAYES_00=-5, RCVD_NUMERIC_HELO=1.248]
X-Spam-Level
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
> 
> 


Mon, Feb 5 2007 22:14:14    Mail sent by mneteler  
Hi,

does the problem persist?

Markus
Wed, May 9 2007 21:24:29    Status changed to resolved by mneteler  
Wed, May 9 2007 21:24:29    Mail sent by mneteler  
No answer, so I assume that the problem is solved. Feel free to reopen.

Markus
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request