toomasadam / aloxripper

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

Crash when beginning rip if CDDB not enabled #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Disable freedb
2. Hit rip CD now
3. crash

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

Please provide any additional information below.
[jebediah@manger]-(~/src/rubyripper/svn)$ ./rubyripper_gtk2.rb 
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion
`g_type_from_name (name) == 0' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED
(boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_object_class_install_property: assertion
`G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED
(boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_object_class_install_property: assertion
`G_IS_PARAM_SPEC (pspec)' failed
RubyGems is not found. Please install ruby-gettext.
./rr_lib.rb:475:in `save_response': uninitialized constant Cddb::YAML
         from ./rr_lib.rb:492:in `update_yaml'
         from ./rr_lib.rb:871:in `initialize'
         from ./rubyripper_gtk2.rb:220:in `new'
         from ./rubyripper_gtk2.rb:220:in `start_rip'
         from ./rubyripper_gtk2.rb:98:in `create_signals'
         from ./rubyripper_gtk2.rb:1034:in `call'
         from ./rubyripper_gtk2.rb:1034:in `main'
         from ./rubyripper_gtk2.rb:1034 

Original issue reported on code.google.com by mordbr...@gmail.com on 1 Aug 2007 at 4:42

GoogleCodeExporter commented 9 years ago
On further inspection this seems to be caused by one of the freedb exceptions 
(namely
that it can't connect within 10 seconds) but instead of throwing the 
exception(s)
it's crashing.  Perhaps that's the cause of some other bugs too.

Original comment by mordbr...@gmail.com on 1 Aug 2007 at 4:48

GoogleCodeExporter commented 9 years ago
Fixed in latest commit. In some cases where freedb was disabled 'yaml' wasn't 
loaded.

Original comment by rubyripp...@gmail.com on 6 Aug 2007 at 6:28