[GRASS-user] Re: [GRASS-dev] [bug #5161] v.digit: no toolbox if
Grass 6.3 built with tcl/tk 8.3
Hamish
hamish_nospam at yahoo.com
Thu Sep 28 05:41:48 EDT 2006
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