You are not logged in.

#1 2010-03-30 11:55:28

pedro-kun
Member
From: Portugal
Registered: 2007-07-20
Posts: 30

[SOLVED] wxruby does not work

Hello there... I recently installed wxruby and everytime I require "wx" I get the following:

/usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: [BUG] unknown type 0x22 (0xc given)
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]

-- control frame ----------
c:0008 p:-39397622 s:0021 b:0021 l:000020 d:000020 TOP   
c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC  :require
c:0006 p:0011 s:0015 b:0015 l:000014 d:000014 TOP    /usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :require
c:0003 p:0011 s:0006 b:0006 l:001c24 d:001ef4 EVAL   lalalala.rb:3
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001c24 d:001c24 TOP   
---------------------------
-- Ruby level backtrace information-----------------------------------------
/usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12:in `require'
/usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12:in `<top (required)>'
lalalala.rb:3:in `require'
lalalala.rb:3:in `<main>'

-- C level backtrace information -------------------------------------------
0xb78211b0 /usr/lib/libruby.so.1.9(rb_vm_bugreport+0x60) [0xb78211b0]
0xb773dc61 /usr/lib/libruby.so.1.9(+0x45c61) [0xb773dc61]
0xb773dcfa /usr/lib/libruby.so.1.9(rb_bug+0x3a) [0xb773dcfa]
0xb773e14c /usr/lib/libruby.so.1.9(rb_check_type+0xbc) [0xb773e14c]
0xb6bb2cdc /usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so(Init_wxAboutDialogInfo+0x8c) [0xb6bb2cdc]
0xb6fea1fb /usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so(InitializeOtherModules+0xb) [0xb6fea1fb]
0xb6feb109 /usr/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so(Init_wxruby2+0x339) [0xb6feb109]
0xb7715095 /usr/lib/libruby.so.1.9(dln_load+0xe5) [0xb7715095]
0xb7741d08 /usr/lib/libruby.so.1.9(+0x49d08) [0xb7741d08]
0xb780d54c /usr/lib/libruby.so.1.9(rb_vm_call_cfunc+0xac) [0xb780d54c]
0xb7742ce7 /usr/lib/libruby.so.1.9(rb_require_safe+0x5d7) [0xb7742ce7]
0xb7743016 /usr/lib/libruby.so.1.9(rb_f_require+0x26) [0xb7743016]
0xb780ebe3 /usr/lib/libruby.so.1.9(+0x116be3) [0xb780ebe3]
0xb780ef44 /usr/lib/libruby.so.1.9(+0x116f44) [0xb780ef44]
0xb781b43e /usr/lib/libruby.so.1.9(+0x12343e) [0xb781b43e]
0xb7814a9e /usr/lib/libruby.so.1.9(+0x11ca9e) [0xb7814a9e]
0xb7817f13 /usr/lib/libruby.so.1.9(+0x11ff13) [0xb7817f13]
0xb78182c7 /usr/lib/libruby.so.1.9(rb_iseq_eval+0x117) [0xb78182c7]
0xb7741ead /usr/lib/libruby.so.1.9(rb_load+0x18d) [0xb7741ead]
0xb7742d28 /usr/lib/libruby.so.1.9(rb_require_safe+0x618) [0xb7742d28]
0xb7743016 /usr/lib/libruby.so.1.9(rb_f_require+0x26) [0xb7743016]
0xb780ebe3 /usr/lib/libruby.so.1.9(+0x116be3) [0xb780ebe3]
0xb780ef44 /usr/lib/libruby.so.1.9(+0x116f44) [0xb780ef44]
0xb781b43e /usr/lib/libruby.so.1.9(+0x12343e) [0xb781b43e]
0xb7814a9e /usr/lib/libruby.so.1.9(+0x11ca9e) [0xb7814a9e]
0xb7817f13 /usr/lib/libruby.so.1.9(+0x11ff13) [0xb7817f13]
0xb781818b /usr/lib/libruby.so.1.9(rb_iseq_eval_main+0xab) [0xb781818b]
0xb773fe77 /usr/lib/libruby.so.1.9(ruby_exec_node+0xb7) [0xb773fe77]
0xb7741496 /usr/lib/libruby.so.1.9(ruby_run_node+0x56) [0xb7741496]
0x80486a8 ruby(main+0x68) [0x80486a8]
0xb759ab86 /lib/libc.so.6(__libc_start_main+0xe6) [0xb759ab86]
0x80485a1 ruby() [0x80485a1]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Can anyone help me?

Last edited by pedro-kun (2010-03-30 11:58:25)

Offline

#2 2010-03-30 11:59:34

pedro-kun
Member
From: Portugal
Registered: 2007-07-20
Posts: 30

Re: [SOLVED] wxruby does not work

Apparently, rubygems was downloading the 1.8 version of wxruby... I removed that one and manually downloaded the correct version for ruby 1.9 and it all worked.

I'll keep the topic here for future reference (maybe some other people have the same problem as I did)

Offline

Board footer

Powered by FluxBB