For Programmers: Free Programming Magazines  


Home > Archive > Tcl > January 2006 > tkauxlib download?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author tkauxlib download?
JohanvanderMeer@gmail.com

2006-01-25, 7:57 am

Heya,

I've downloaded and installed fsl (an mri analysis programme) for
(ubuntu) debian. Now I try to push some buttons, and i get an error
message:

Error in startup script: invalid command name "collapsible"
while executing
"collapsible frame $w.f.opts -title "Advanced Options" "
(procedure "flirt" line 167)
invoked from within
"flirt .rename"
(file "/usr/share/fsl/tcl/flirt.tcl" line 652)
invoked from within
"source ${FSLDIR}/tcl/${origname}.tcl"
(file "/usr/share/fsl/bin/Flirt" line 19)

It seems that the tcl interpreter hasn't head of the command
collapsible. So after some searching i saw something about a tkauxlib
script-only extension for tcl, and the past half hour i've been trying
to get my hands on it. Only I can't find a single site that works and
has these scripts :-( (Inlcuding www.scriptics.com).

So my questions are: Is my conclusion about what is going wrong
correct? Is tkauxlib the answer? And is tkauxlib not already installed
when you do sudo apt-get install tcl8.4-dev? And what would be a good
link to actually get tkauxlib?

Many thanks in advance, kind regards,

Johan van der Meer

Arjen Markus

2006-01-25, 7:15 pm

>From the references that I could turn up by Google it seems that
tkauxlib is an old solution to a problem. Is there no update of FSL
substantially newer than 1994 (the year of most references)?

But maybe the author, Kevin Kenny, still has the source for that (its
features are now part of Tk proper ... see: http://wiki.tcl.tk/934)

Regards,

Arjen

JohanvanderMeer@gmail.com

2006-01-25, 7:15 pm

Is there something I can do to activate or download somthing so that
tcl understands the collapsible command? Is it part of the original tcl
package, or am I missing something here?

I've tried to apt-get install all the dev and runtime tcl and tk (and
tix) packages, but so far it doesn't seem to work.

Regards,
Johan

Kevin Kenny

2006-01-29, 7:00 pm

JohanvanderMeer@gmail.com wrote:
> I've downloaded and installed fsl (an mri analysis programme) for
> (ubuntu) debian. Now I try to push some buttons, and i get an error
> message:
>
> Error in startup script: invalid command name "collapsible"
> while executing
> "collapsible frame $w.f.opts -title "Advanced Options" "

[...]
>
> It seems that the tcl interpreter hasn't head of the command
> collapsible. So after some searching i saw something about a tkauxlib
> script-only extension for tcl, and the past half hour i've been trying
> to get my hands on it. Only I can't find a single site that works and
> has these scripts :-( (Inlcuding www.scriptics.com).


Wow, someone still uses that stuff? I haven't maintained it in
about 12 years. I wrote that library primarily to get around
limitations of the event system in Tcl 6.7/Tk 3.0 (actually,
the library got started around the Tcl 6.2/Tk 1.4 timeframe,
but was actively maintained only until Tk 4.0 shipped).

The code is still available, I find, from

ftp://ftp.procplace.com/pub/tcl/alc...xlib-2.0.tar.gz

I tried installing it, and [collapsible], mirabile dictu, seems
to still work. So perhaps you can pick and choose the bits you
need; I'm certain that there has to be code in there that will
*not* work in 8.0 and beyond, and a larger body of code that
depends on deprecated features such as [case] and the ancient
[pack append] syntax. (And you surely don't want most of it,
since it duplicates changes that Tk itself made in 4.0 and 8.0.)

www.scriptics.com, by the way, is dead. Get it out of your
bookmarks, since at this point it works half by accident. The
main Tcl/Tk site is at an easy-to-remember address:

http://www.tcl.tk/

--
73 de ke9tv/2, Kevin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com