Re: Upating Tcl/Tk installation breaks Tkx?

[email protected] (Kevin Walzer) Wed, 03 Jul 2013 18:24:16 -0400
Newsgroups perl.tcltk
Organization WordTech Communications LLC
Message-ID <[email protected]>
On 7/3/13 4:58 PM, Kevin Walzer wrote:
> On 7/3/13 4:42 PM, Konovalov, Vadim (Vadim)** CTR ** wrote:

> Hmm. I thought it was Tkx returning the error, but it wasn't 100% clear.
> Do you have another suggestion as to where I should file a bug?


I think I've found the issue: a misconfigured pkgIndex.tcl in my Tk 
installation that identifies the version as 8.5.12. Changing this to 
8.5.13 alleviates the problem, and my Tkx sample app now runs.

I ran across the suggested fix here:

http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-12/msg00198.html

This is not surprising: as I do a lot of Tk core development, my working 
installation of Tk is often not 100% "clean" but instead is rebuilt 
piecemeal from incremental changes that I make and patches I commit. I 
suspect a clean, fresh build of Tk would not display these issues.

What's especially curious is that my Tcl/Tk scripts don't show this 
issue! No wonder I couldn't figure it out. Perhaps it has something to 
do with the fact that I run my Tcl/Tk scripts from the Wish application 
rather than the Tcl interpreter with a "package require Tk" invocation.

Anyway, sorry for the noise, but I thought it would be especially 
helpful to get this fix documented for posterity: I've seen a few other 
reports of the behavior in scattered forums and no other fix has ever 
been proposed. What's the big relief for me is that I can proceed with 
some Perl/Tkx apps in a production context.

Thanks to all,
Kevin


-- 
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com