[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

tk error

Joel VanderWerf

1/13/2006 1:36:00 AM

$ 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??

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407


2 Answers

Hidetoshi NAGAI

1/13/2006 3:41:00 AM

0

Joel VanderWerf

1/13/2006 6:00:00 AM

0

Hidetoshi NAGAI wrote:
> From: Joel VanderWerf <vjoel@path.berkeley.edu>
> Subject: tk error
> Date: Fri, 13 Jan 2006 10:35:55 +0900
> Message-ID: <43C703E9.30703@path.berkeley.edu>
>
>>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.

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

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407