tk error

J

Joel VanderWerf

$ ruby widget
/usr/local/lib/ruby/site_ruby/1.8/tk.rb:3339:in `_symbolkey2str': hash
modified (RuntimeError)
from /usr/local/lib/ruby/site_ruby/1.8/tk.rb:3339:in `initialize'
from /usr/local/lib/ruby/site_ruby/1.8/tk/root.rb:36:in `new'
from widget:27

the "widget" is from ext/tk/sample/demos-en. This is ruby 1.8.4, linux.

What have I messed up??
 
H

Hidetoshi NAGAI

From: Joel VanderWerf <[email protected]>
Subject: tk error
Date: Fri, 13 Jan 2006 10:35:55 +0900
Message-ID: said:
What have I messed up??

Probably, there are libraries based on ruby-1.8.2 in
"/usr/local/lib/ruby/site_ruby".
tkutil.so is not compatible between ruby-1.8.2 and 1.8.4.
If ruby-1.8.4 loads ruby-1.8.2's tkutil.so, such error is
produced.
 
J

Joel VanderWerf

Hidetoshi said:
From: Joel VanderWerf <[email protected]>
Subject: tk error
Date: Fri, 13 Jan 2006 10:35:55 +0900



Probably, there are libraries based on ruby-1.8.2 in
"/usr/local/lib/ruby/site_ruby".
tkutil.so is not compatible between ruby-1.8.2 and 1.8.4.
If ruby-1.8.4 loads ruby-1.8.2's tkutil.so, such error is
produced.

That was it. Thanks! I cleared all the tk and tcl files from my site_ruby.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,808
Messages
2,569,684
Members
45,446
Latest member
TeddyScull

Latest Threads

Top