pccasto / rubyripper

Automatically exported from code.google.com/p/rubyripper
0 stars 0 forks source link

Crash when trying to see preferences #234

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run rubyripper 0.5.3
2. Select preferences
3. Rubyripper crashes

What is the expected output? What do you see instead?

Expect to see the preferences screen.  Instead the gui disappears, the
terminal reads:
preparing to contact freedb server
Created query string:
freedb.org?cmd=cddb+query+4d073d06+6+182+22080+40707+68902+96887+125552+1855&hel
lo=anonymous+my_secret.com+rubyripper+0.5.3&proto=6
Exception thrown: Connection refused - connect(2)
/usr/local/bin/rrip_gui:622:in `ripobjects_frame1': uninitialized constant
Gtk::LinkButton (NameError)
        from /usr/local/bin/rrip_gui:500:in `initialize'
        from /usr/local/bin/rrip_gui:147:in `new'
        from /usr/local/bin/rrip_gui:147:in `show_info'
        from /usr/local/bin/rrip_gui:143:in `initialize'
        from /usr/local/bin/rrip_gui:143:in `new'
        from /usr/local/bin/rrip_gui:143:in `show_info'
        from /usr/local/bin/rrip_gui:85:in `create_signals'
        from /usr/local/bin/rrip_gui:1117:in `call'
        from /usr/local/bin/rrip_gui:1117:in `main'
        from /usr/local/bin/rrip_gui:1117
/usr/local/bin/rrip_gui:622:in `initialize': uninitialized constant
Gtk::LinkButton
         from /usr/local/bin/rrip_gui:143:in `new'
         from /usr/local/bin/rrip_gui:143:in `show_info'
         from /usr/local/bin/rrip_gui:85:in `create_signals'
         from /usr/local/bin/rrip_gui:1117:in `call'
         from /usr/local/bin/rrip_gui:1117:in `main'
         from /usr/local/bin/rrip_gui:1117

What version of rubyripper are you using? On what operating system? Are you
using the gtk2 or the commandline interface?

0.5.3 on Debian Etch with the gtk2

Original issue reported on code.google.com by goweropo...@gmail.com on 4 Sep 2008 at 6:07

GoogleCodeExporter commented 8 years ago
Luckily I can not reproduce this. Somebody else would have reported this I 
expect if
such a grave error existed. Are you sure you've installed gtk2 correctly, 
includings
it's dependencies?

It's basically complaining that Gtk::LinkButton is not defined. Well, it should
exist:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ALinkButton

Please report if you found the cause of the problem. Anyone else having similar
problems?

Original comment by rubyripp...@gmail.com on 4 Sep 2008 at 9:21

GoogleCodeExporter commented 8 years ago
I installed the ruby-gnome2 package in Debian, and recompiled.  And I still get 
the
same error.  Any other suggestions?

Original comment by goweropo...@gmail.com on 5 Sep 2008 at 4:46

GoogleCodeExporter commented 8 years ago
I have searched google and found no similar problems. But perhaps you can show 
me
what happens if you open up a console and type:

1 -> irb
2 -> require 'gtk2'
3 -> button = Gtk::LinkButton.new('Hello World')

Original comment by rubyripp...@gmail.com on 6 Sep 2008 at 3:14

GoogleCodeExporter commented 8 years ago
irb(main):001:0> require 'gtk2'
=> true
irb(main):002:0> button = Gtk::LinkButton.new('Hello World')
NameError: uninitialized constant Gtk::LinkButton
        from (irb):2
irb(main):003:0>

Original comment by goweropo...@gmail.com on 6 Sep 2008 at 5:35

GoogleCodeExporter commented 8 years ago
Well, it should say:

irb(main):001:0> require 'gtk2'
=> true
irb(main):002:0> button = Gtk::LinkButton.new('Hello World')
=> #<Gtk::LinkButton:0x7fbb4e456710 ptr=0x101d010>
irb(main):003:0>

I'm using ruby-gtk2-0.16. Perhaps you're using an outdated version?

Original comment by rubyripp...@gmail.com on 6 Sep 2008 at 9:14

GoogleCodeExporter commented 8 years ago
That appears to be the problem.  Since I'm using Debian Etch (currently 
stable), the
version available of libgtk2-ruby is 0.15.0-1.1etch1.

The version in Lenny (which will become the official stable in the next few 
months or
so) is 0.17.0~rc1-4.  I have a chroot of Lenny, and when I run rubyripper on 
it, it
does not crash at all.

Thanks for your help in solving the problem.

Original comment by goweropo...@gmail.com on 7 Sep 2008 at 6:53

GoogleCodeExporter commented 8 years ago

Original comment by rubyripp...@gmail.com on 7 Sep 2008 at 9:32