wxdlabs / rubyripper

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

RubyRipper crashes when encoding to MP3 #588

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1) Please describe the steps to reproduce the situation:
a.Launch RubyRipper (rrip_gui or rrip_cli).
b.Check "MP3" under Codecs in Preferences.
c.Attempt to rip a CD

2) What is the expected output? What do you see instead?
I expect all selected tracks on the CD to be ripped and converted to MP3. 
Instead, RR trial rips the first selected track twice, generates an MD5 sum, 
then crashes with the following error:

/usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': 
cannot load such file -- iconv (LoadError)
    from /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /usr/lib64/ruby/site_ruby/2.0.0/rr_lib.rb:2464:in `mp3'
    from /usr/lib64/ruby/site_ruby/2.0.0/rr_lib.rb:2336:in `doMp3'
    from /usr/lib64/ruby/site_ruby/2.0.0/rr_lib.rb:2233:in `encodeTrack'
    from /usr/lib64/ruby/site_ruby/2.0.0/rr_lib.rb:2195:in `block (2 levels) in startEncoding'

3) What version of rubyripper are you using? On what operating system? The
gtk2 of commandline interface?

Version 0.6.2 on Linux (OpenSuse 13.1 Gnome), using either gtk or cli interface.

4) Is this not already fixed with the latest & greatest code? See for
instructions the Source tab above.

Unknown

5) Does the problem happen with all discs? If not, please attach
the output of cdparanoia -Q with a disc that gives trouble.

This problem happens with all discs I've tried.

6) Please explain why this change is important for you. Also, how many
users would benefit from this change?

This change is important for being able to add music to my MP3 collection. As 
it is now, I have to rip to flac (which does work), then use a separate 
converter to convert the flacs to MP3s.

Please provide any additional information below. The more usefull
information provided, the sooner the issue will be fixed.

Note that ruby versions older than 1.9 are no longer supported. You are
advised to upgrade instead.

Original issue reported on code.google.com by briand...@gmail.com on 1 Dec 2013 at 5:33

GoogleCodeExporter commented 8 years ago
According to the information provided in 
http://stackoverflow.com/questions/7829886/in-require-no-such-file-to-load-iconv
-loaderror I used the command

gem install iconv

As it is mentioned this a deprecated module. Therefore with no maintainer of 
rubyripper I guess the tool will soon become obsolete.

Original comment by AndFl...@googlemail.com on 5 Apr 2014 at 5:37

GoogleCodeExporter commented 8 years ago
Following the on hint above, and other related hints, I did the following two 
things in Fedora 21 on May 27, 2015:
yum install ruby-devel
gem install iconv

The yum command ensures header files and libraries for Ruby get installed.
The gem command installs the 1.04 iconv Ruby gem, and configures it to work 
just fine.
After these 2 commands, RubyRipper worked exactly as it always has, with no 
issues.

Original comment by indianfo...@gmail.com on 28 May 2015 at 1:01