[GRASS-dev] [bug #4619] (grass) gis.m: Error in startup script: missing close-brace

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Sun Jun 18 06:23:59 EDT 2006


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

Maciek Sieczka via RT wrote:
> 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
> 
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
> 
> 

-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: menu.tcl
Type: text/x-tcl
Size: 38883 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060618/c5489322/menu.bin


More information about the grass-dev mailing list