From: "H.Yamamoto" Date: 2005-04-26T12:44:25+09:00 Subject: Re: tk_optionMenu bug in 1.8.2 >>This is a kind of autoload trouble on Tcl/Tk. >>On some commands, TclTkIp._invoke fails to autoload. >> >># In your case, fails to autoload 'bgerror' also. >> >>TclTkIp._eval doesn't fail to autoload. >>Probably, the following can hide the trouble. > >Maybe do you have the script code causing this error? I want to see it. > ># I'm curious about why _eval succeeds but _invoke fails. Sorry, I had to try before asking you. /////////////////////// require 'tk' p TkCore::INTERP._eval('tk_optionMenu .om OM "Option 1" "Option 2" "Option 3" "Option 4"') E:\>ruby d.rb ".om.menu" /////////////////////// require 'tk' p TkCore::INTERP._invoke('tk_optionMenu', '.om', 'OM', '"Option 1" "Option 2" "Option 3" "Option 4"') E:\>ruby d.rb e:/ruby/lib/ruby/1.8/tk.rb:2020:in `__invoke': invalid command name `tk_optionMe nu' (NameError) from e:/ruby/lib/ruby/1.8/tk.rb:2020:in `_invoke' from d.rb:5 ///////////////////////