Public bug reported:

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.

** Affects: tk8.4 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
version upgrade needed to 8.4.14
https://launchpad.net/bugs/68555

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to