Details Ticket 4619


Comment | Reply | Take | Open


Serial Number 4619
Subject gis.m: Error in startup script: missing close-brace
Area wish6
Queue grass
Requestors jmockus@gmail.com,soerengebbert@gmx.de,stefan.paulick@urbeli.com
Owner none
Status resolved
Last User Contact Fri Jun 23 22:35:27 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Jun 27 06:28:01 2006 (2 yr ago)
Created Thu Jun 15 22:44:10 2006 (2 yr ago)

Transaction History Ticket 4619


Thu, Jun 15 2006 22:44:10    Request created by guest (as #4612)  
Subject: gis.m startup broken

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: latest 6.1 cvs 20060615

While starting gis.m this error occures:


Error in startup script: missing close-brace
    while executing
"proc GuiMenu::tree {} {

        # Tear off menus (yes / no)
        global tmenu
        # Key to use for control (for menu accelerators)
        global keyctrl
        # The environme..."
    (file "/usr/local/grass-6.1.cvs/etc/gui/menus/menu.tcl" line 26)
    invoked from within
"source "$env(GISBASE)/etc/gui/menus/menu.tcl""
    (file "/usr/local/grass-6.1.cvs/etc/gm/gmmenu.tcl" line 13)
    invoked from within
"source $gmpath/gmmenu.tcl"
    (procedure "Gm::create" line 25)
    invoked from within
"Gm::create"
    (procedure "main" line 29)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.1.cvs/etc/gm/gm.tcl" line 518)
Sat, Jun 17 2006 07:44:14    Request created by guest (as #4617)  
Subject: Error in startup script: missing close-brace

Platform: GNU/Linux/x86 - Ubuntu 6
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: CVS today

After updating out of cvs, the startup script failed as attached. 

Welcome to GRASS 6.1.cvs (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
Error in startup script: missing close-brace
    while executing
"proc GuiMenu::tree {} {

        # Tear off menus (yes / no)
        global tmenu
        # Key to use for control (for menu accelerators)
        global keyctrl
        # The environme..."
    (file "/usr/local/grass-6.1.cvs/etc/gui/menus/menu.tcl" line 26)
    invoked from within
"source "$env(GISBASE)/etc/gui/menus/menu.tcl""
    (file "/usr/local/grass-6.1.cvs/etc/gm/gmmenu.tcl" line 13)
    invoked from within
"source $gmpath/gmmenu.tcl"
    (procedure "Gm::create" line 25)
    invoked from within
"Gm::create"
    (procedure "main" line 29)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.1.cvs/etc/gm/gm.tcl" line 518)
bash: setenv: command not found
GRASS 6.1.cvs (k200):/gd >

Sat, Jun 17 2006 10:57:16    Request created by guest  
Subject: Error while executin

Platform: GNU/Linux/x86_64
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass6.1.cvs-x86_64-unknown-linux-gnu-17

Please enter your name and error description here. Don't write general statements
such as "this could be better" - please explain in
details how a certain problem can be solved or a feature be added/improved. Send
different report for different problems. Thanks!
GRASS 6.1.cvs (d2122):~ > Error in startup script: missing close-brace
    while executing
"proc GuiMenu::tree {} {

        # Tear off menus (yes / no)
        global tmenu
        # Key to use for control (for menu accelerators)
        global keyctrl
        # The environme..."
    (file "/usr/local/grass6.1.cvs-x86_64-unknown-linux-gnu-17_06_2006/etc/gui/m
enus/menu.tcl" line 26)
    invoked from within
"source "$env(GISBASE)/etc/gui/menus/menu.tcl""
    (file "/usr/local/grass6.1.cvs-x86_64-unknown-linux-gnu-17_06_2006/etc/gm/gm
menu.tcl" line 13)
    invoked from within
"source $gmpath/gmmenu.tcl"
    (procedure "Gm::create" line 25)
    invoked from within
"Gm::create"
    (procedure "main" line 29)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass6.1.cvs-x86_64-unknown-linux-gnu-17_06_2006/etc/gm/gm
.tcl" line 518)
GRASS 6.1.cvs (d2122):~ >
Sat, Jun 17 2006 11:39:48    Subject changed to gis.m: Error in startup script: missing close-brace by msieczka  
Sat, Jun 17 2006 11:40:35    Request 4617 merged into 4619 by msieczka (as #4617)  
Sat, Jun 17 2006 11:42:13    Request 4612 merged into 4619 by msieczka (as #4612)  
Sat, Jun 17 2006 15:09:37    Mail sent by neteler@itc.it (as #4617)  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Sat, 17 Jun 2006 15:09:35 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4617] (grass) Error in startup script: missing close-brace
Message-ID <20060617130935.GD22608@bartok.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass-dev@grass.itc.it
References <20060617054414.104F91005B0@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20060617054414.104F91005B0@lists.intevation.de>
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
User-Agent Mutt/1.5.11
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Sat, Jun 17, 2006 at 07:44:14AM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4617
> -------------------------------------------------------------------------
> 
> Subject: Error in startup script: missing close-brace
...
> bash: setenv: command not found

...this doesn't look good to me...

Markus


Sun, Jun 18 2006 11:02:04    Mail sent by msieczka  
I will add that this bug is present in d.m too, not only gis.m:

GRASS 6.1.cvs (caves_utm33):~ > d.m
GRASS 6.1.cvs (caves_utm33):~ > Error in startup script: missing close-brace
while executing
"proc GuiMenu::tree {} {

        # Tear off menus (yes / no)
        global tmenu
        # Key to use for control (for menu accelerators)
        global keyctrl
        # The environme..."
    (file "/usr/local/grass-6.1.cvs/etc/gui/menus/menu.tcl" line 26)
    invoked from within
"source "$env(GISBASE)/etc/gui/menus/menu.tcl""
    (file "/usr/local/grass-6.1.cvs/etc/dm//menu.tcl" line 9)
    invoked from within
"source $dmpath/menu.tcl"
    (procedure "Dm::create" line 23)
    invoked from within
"Dm::create"
    (procedure "main" line 33)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl" line 1636)

Maciek
Sun, Jun 18 2006 12:48:00    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 18 Jun 2006 12:47:57 +0200
From Markus Neteler <neteler@itc.it>
To Benjamin Ducke <benjamin.ducke@ufg.uni-kiel.de>
Cc Maciek Sieczka via RT <grass-bugs@intevation.de>, GRASS devel <grass-dev@grass.itc.it>
Subject Re: [GRASS-dev] [bug #4619] (grass) gis.m: Error in startup script: missing close-brace
Message-ID <20060618104757.GA4270@bartok.itc.it>
Mail-Followup-To Benjamin Ducke <benjamin.ducke@ufg.uni-kiel.de>, Maciek Sieczka via RT <grass-bugs@intevation.de>, GRASS devel <grass-dev@grass.itc.it>
References <20060618090204.88EF51005B0@lists.intevation.de> <449529BF.4050000@ufg.uni-kiel.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <449529BF.4050000@ufg.uni-kiel.de>
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
User-Agent Mutt/1.5.11
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Sun, Jun 18, 2006 at 12:23:59PM +0200, Benjamin Ducke wrote:
> That bug touches both gis.m and d.m because it is in menu.tcl
> which is sourced by both frontends.
> I have fixed the problem. It's just a few missing tokens on
> the v.lrs.segment menu line.
> 
> I currently do not have working CVS write access so I am
> attaching a fixed version of menu.tcl for someone else
> to commit.
> It needs to go into
> 
> grass6/gui/tcltk/menus
> 
> and will install to
> 
> $GISBASE/etc/gui/menus
> 
> The version I have attached also fixes a problem with
> more than one extension not registering correctly in the
> GUI when installed with GEM.
> 
> Best,
> 
> Benjamin

Thanks, fix applied to CVS.
Now both gis.m and d.m are functional again.

Markus

PS: please consider to send CVS diffs only:
    cvs diff -u menu.tcl > menu.diff


Mon, Jun 19 2006 16:31:12    Status changed to resolved by mneteler  
Fri, Jun 23 2006 22:35: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.3.060209
Date Fri, 23 Jun 2006 13:35:20 -0700
Subject Re: [GRASS-dev] [bug #4619] (grass) gis.m: Error in startup script: missing close-brace
From Michael Barton <michael.barton@asu.edu>
To Benjamin Ducke <benjamin.ducke@ufg.uni-kiel.de>, Paolo Cavallini via RT <grass-bugs@intevation.de>, GRASS devel <grass-dev@grass.itc.it>
Message-ID <C0C19E98.BE23%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4619] (grass) gis.m: Error in startup script: missing close-brace
Thread-Index AcaXBItWycNM4AL3Edu3UAAKlXAweg==
In-Reply-To <449529BF.4050000@ufg.uni-kiel.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=-2.179 tagged_above=-999 required=4 tests=[AWL=1.473, BAYES_00=-5, RCVD_NUMERIC_HELO=1.348]
X-Spam-Level
Can someone else update the CVS with this? I'm just back from out of town
and won't have cvs access until Monday.

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: Benjamin Ducke <benjamin.ducke@ufg.uni-kiel.de>
> Date: Sun, 18 Jun 2006 12:23:59 +0200
> To: Maciek Sieczka via RT <grass-bugs@intevation.de>, GRASS devel
> <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4619] (grass) gis.m: Error in startup script:
> missing close-brace
> 
> That bug touches both gis.m and d.m because it is in menu.tcl
> which is sourced by both frontends.
> I have fixed the problem. It's just a few missing tokens on
> the v.lrs.segment menu line.
> 
> I currently do not have working CVS write access so I am
> attaching a fixed version of menu.tcl for someone else
> to commit.
> It needs to go into
> 
> grass6/gui/tcltk/menus
> 
> and will install to
> 
> $GISBASE/etc/gui/menus
> 
> The version I have attached also fixes a problem with
> more than one extension not registering correctly in the
> GUI when installed with GEM.
> 


Fri, Jun 23 2006 22:35:27    Status changed to open by _rt_system  
Tue, Jun 27 2006 06:28:01    Status changed to resolved by hbowman  
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