version upgrade needed to 8.4.14

Bug #68555 reported by Tony Austin
4
Affects Status Importance Assigned to Milestone
tk8.4 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: tk8.4

Versions for tcl and tk in Ubuntu 6.06 are 8.4.12, latest version is 8.4.14.

Trying to run Ruby with tk interface and get the following error, which prevents tk being used at all:-

irb(main):001:0> require 'tk'
RuntimeError: tcltklib: fail to Tk_Init(). this isn't a Tk
applicationunknown color name "Black"
        from /usr/lib/ruby/1.8/tk.rb:1102:in `initialize'
        from /usr/lib/ruby/1.8/tk.rb:1102
        from (irb):1
irb(main):002:0>

Advice from the tcl/tk team is as follows:-

I know nothing about Ruby, but that Tk message usually means you've "upgraded" your X server to one that doesn't understand standard color names. As I recall, "Xorg" was a common offender?

If you install a recent enough version of Tk, it includes a workaround for these broken X servers.

Do you have 8.4.14 ? That's the latest.

First to contain the workaround was 8.4.13, I think.

Revision history for this message
Tony Austin (gigaday) wrote :

Further research confirms that Tk does not work _at_all_, which supports the view that an upgraded version of Tk is needed to work with Xorg.

The Tk interpreter is called "wish". Trying to run wish produces the following:-

tony@ubuntu:~/tcltk$ wish
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
% tony@ubuntu:~/tcltk$

Another way to invoke Tk is via the tcl interpreter, thus:-

tony@ubuntu:~/tcltk$ tclsh
% package require Tk
this isn't a Tk applicationunknown color name "Black"
%

which does not work either.

Ergo, I believe Tk does not work at all in the Dapper 6.06 release.

Revision history for this message
Tony Austin (gigaday) wrote :

On 2nd November 2006 there was a upgrade to ruby and libtcltk-ruby1.8, this did not solve the bugs described in this bug report.

Revision history for this message
Andreas Moog (ampelbein) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in tk8.4:
status: New → Incomplete
Revision history for this message
Tony Austin (gigaday) wrote : Re: [Bug 68555] Re: version upgrade needed to 8.4.14

Thanks for the info, I will try the upgrade when convenient.

Tony

2008/8/13 Andreas Moog <email address hidden>

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. You reported this bug a while ago and there hasn't been
> any activity in it recently. We were wondering is this still an issue
> for you? Can you try with latest Ubuntu release? Thanks in advance.
>
> ** Changed in: tk8.4 (Ubuntu)
> Status: New => Incomplete
>
> --
> version upgrade needed to 8.4.14
> https://bugs.launchpad.net/bugs/68555
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Andreas Moog (ampelbein) wrote :

8.4.19 is now in intrepid.

Changed in tk8.4:
importance: Undecided → Wishlist
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.