[GRASS-user] Re: [GRASS-dev] [bug #5161] v.digit: no toolbox if Grass 6.3 built with tcl/tk 8.3

Michael Barton michael.barton at asu.edu
Thu Sep 28 11:09:10 EDT 2006


I believe that other things will break if you try to run gism with TclTk
8.3. I know that the georectifier uses a labelframe, and I'm pretty sure
that there are other items scattered here and there. Like I noted before,
8.4 has been out for many years, is widely available, and is near to being
replaced by 8.5. So I only have lukewarm concern for things that don't run
in 8.3. Life is too short and the GRASS team salaries aren't all that great
;-). If you want to track them down and find an old way to achieve this, I
guess that's OK. But I'm not sure it's worth it.

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: Hamish <hamish_nospam at yahoo.com>
> Date: Thu, 28 Sep 2006 21:41:48 +1200
> To: Michael Barton <michael.barton at asu.edu>
> Cc: <grass-dev at grass.itc.it>, <grassuser at grass.itc.it>, <temiz at deprem.gov.tr>,
> <grass-bugs at lists.intevation.de>, <tutey at o2.pl>
> Subject: Re: [GRASS-dev] [bug #5161] v.digit: no toolbox if Grass 6.3 built
> with tcl/tk 8.3
> 
> Maciej Sieczka wrote:
>> There has been a bug just reported about this:
>> http://intevation.de/rt/webrt?serial_num=5161
> 
> Hi, just built 6.2.0rc1 with TclTk 8.3.
> 
> This is a problem in GRASS 6.2 as well.
> 
> 
> G62> v.digit -n tmp_digit
> New empty map created.
> ERROR: Cannot open toolbox:
> 
> 
> by adding some 'puts "got this far"' statements we can track it down..
> 
> it breaks in toolbox.tcl line 223:
> 
> labelframe .bpf -text [G_msg "mouse button actions (left, right, center)"] \
>     -labelanchor n
> 
> 
> that was added between rev 1.19 and 1.20:
> 
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.digit/toolbox.tcl.diff?
> r1=1.19&r2=1.20
> 
> 
> LabelFrame was added for 8.4, and thus won't work with 8.3.
> 
> Here's a work-around:
>   http://wiki.tcl.tk/labelframe
> 
> 
> or is there a simpler way to get rid of it?
> 
> 
> grepping through the source, there's lableframe.tcl about:
> 
> $ grep -rI labelframe * | cut -f1 -d:
> lib/gtcltk/options.tcl
> lib/external/bwidget/pkgIndex.tcl
> lib/external/bwidget/labelframe.tcl
> lib/external/bwidget/labelframe.tcl
> vector/v.digit/toolbox.tcl
> 
> 
> Hamish




More information about the grass-user mailing list