[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

bug in ruby/tk in ruby 1.8.0 ?

Alexander Neundorf

11/28/2003 7:10:00 AM

Hi,

I tried to execute the ruby/tk demos, which you can find at
http://www.havenrock.com/develope...
Several, e.g. rolodex, of them don't start, always with the following
message:

alex@linux:/usr/src/rtkdemos-en$ ruby rolodex
/usr/local/lib/ruby/1.8/tk.rb:3929:in `initialize': wrong number of
arguments(1 for
0) (ArgumentError)
from /usr/local/lib/ruby/1.8/tk.rb:3929:in `new'
from /usr/local/lib/ruby/1.8/tk.rb:3929:in `new'
from rolodex:196

tk.rb at line 3929 looks like this:

def TkRoot.new(keys=nil, &b)
unless TkCore::INTERP.tk_windows['.']
TkCore::INTERP.tk_windows['.'] =
super(:without_creating=>true, :widgetname=>'.') '## <--- this line

end


What's wrong with this ?

Bye
Alex


--
NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService

Jetzt kostenlos anmelden unter http://w...

+++ GMX - die erste Adresse f?r Mail, Message, More! +++



3 Answers

Hidetoshi NAGAI

11/28/2003 10:31:00 AM

0

ts

11/28/2003 10:35:00 AM

0

>>>>> "H" == Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> writes:

H> I cannot re-generate your trouble on my working directory for 1.8.1.

This is the method Rolodex#initialize in its version which take 0 argument

Guy Decoux




Hidetoshi NAGAI

11/28/2003 10:44:00 AM

0