I tried sending this a day or two ago but I didn''t see it appear. I''ve just tried the wxRuby 0.36 release but appear to get the following error (I got it from bigdemo.rb too). C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal Our Initialize was called Their Initialize returned 1 C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in `is_maximized'': Swig director pure virtual method called wxTopLevelWindow::IsMaximized (RuntimeError) from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in `on_create_status_bar'' from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in `create_status_bar'' from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in `initialize'' from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:70:in `new'' from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:70:in `on_init'' from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:90:in `main_loop'' from C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:90 I have to admit that I''m a Ruby novice and was trying out wxRuby but the error "smelt" suspicious. ___________________________________________________________ Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.yahoo.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Mike, Please gem uninstall the gem and try re-installing it. The first version posted had a problem. You shouldn''t see that problem with the updated gem. Roy Mike Kyle wrote:> I tried sending this a day or two ago but I didn''t see it appear. > > I''ve just tried the wxRuby 0.36 release but appear to get the > following error (I got it from bigdemo.rb too). > > C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal > Our Initialize was called > Their Initialize returned 1 > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in > `is_maximized'': Swig director pure virtual method called > wxTopLevelWindow::IsMaximized (RuntimeError) > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in > `on_create_status_bar'' > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in > `create_status_bar'' > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in > `initialize'' > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:70:in > `new'' > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:70:in > `on_init'' > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:90:in > `main_loop'' > from > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:90 > > > I have to admit that I''m a Ruby novice and was trying out wxRuby but > the error "smelt" suspicious. > > ------------------------------------------------------------------------ > All new Yahoo! Mail > <http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/pc_mag/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html> > "The new Interface is stunning in its simplicity and ease of use." - > PC Magazine > ------------------------------------------------------------------------ > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
Hi Thanks for the report: Mike Kyle wrote:> I''ve just tried the wxRuby 0.36 release but appear to get the > following error (I got it from bigdemo.rb too). > > C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal > Our Initialize was called > Their Initialize returned 1 > C:/opt/ruby/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.36-i386-mswin32/samples/minimal/minimal.rb:35:in > `is_maximized'': Swig director pure virtual method called > wxTopLevelWindow::IsMaximized (RuntimeError) > fromI think you were unlucky and got an early Windows build which had some errors. A new version was uploaded a couple of days ago a few hours after the problem emerged. I had the same problem on Tuesday but reinstalling should get you the right version now. If not there may be a problem with rubyforge syncing to mirrors - if so please let us know. cheers alex