You are not logged in.

#1 2009-10-01 07:29:29

Godofgrunts
Member
Registered: 2008-11-14
Posts: 43

Ruby Ripper not working.

So I installed ruby and rubyripper and I went to run rrip_gui and recieved this output.

/usr/bin/rrip_gui:45: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
....join(dir, 'rubyripper.png')) : @gtk_window.icon = Gdk::Pixb...
...                               ^
/usr/bin/rrip_gui:45: syntax error, unexpected keyword_end, expecting '}'
...k::Pixbuf.new(file) ; break end }
...                               ^
/usr/bin/rrip_gui:59: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:123: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
                if value == "false" : value = false # replace the ...
                                     ^
/usr/bin/rrip_gui:124: syntax error, unexpected keyword_elsif, expecting keyword_end
                elsif value == "true" : value = tr...
                     ^
/usr/bin/rrip_gui:124: syntax error, unexpected ':', expecting keyword_end
                elsif value == "true" : value = true  # replace the ...
                                       ^
/usr/bin/rrip_gui:125: syntax error, unexpected keyword_elsif, expecting keyword_end
                elsif value == "''" : value = '' #...
                     ^
/usr/bin/rrip_gui:125: syntax error, unexpected ':', expecting keyword_end
                elsif value == "''" : value = '' #replace a string...
                                     ^
/usr/bin/rrip_gui:126: syntax error, unexpected keyword_elsif, expecting keyword_end
                elsif value[0,1] == "#" : next #na...
                     ^
/usr/bin/rrip_gui:126: syntax error, unexpected ':', expecting keyword_end
                elsif value[0,1] == "#" : next #name of previous insta...
                                         ^
/usr/bin/rrip_gui:127: syntax error, unexpected ':', expecting keyword_end
                elsif value.to_i > 0 || value == '0' : value = value.to_i
                                                      ^
/usr/bin/rrip_gui:129: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
                if @settings.key?(key) : @settings[key] = value end
                                        ^
/usr/bin/rrip_gui:132: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:134: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
        if @settings['debug'] : Thread.abort_on_exception = true end
                               ^
/usr/bin/rrip_gui:134: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:148: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...ess @instances['Preferences'] : @instances['Preferences'] = ...
...                               ^
/usr/bin/rrip_gui:151: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
... if @instances['GtkMetadata'] : @buttons[3].sensitive = true...
...                               ^
/usr/bin/rrip_gui:152: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif @instances['GtkMetadata']
                 ^
/usr/bin/rrip_gui:157: warning: else without rescue is useless
/usr/bin/rrip_gui:158: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:175: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
                if @settings['freedb'] : @settings['cd'].md.freedb(@s...
                                        ^
/usr/bin/rrip_gui:177: syntax error, unexpected keyword_else, expecting keyword_end
/usr/bin/rrip_gui:184: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:210: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
... if @instances['GtkMetadata'] : @buttons[3].sensitive = true...
...                               ^
/usr/bin/rrip_gui:213: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:231: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...tances['RipStatus'] ==  false : @instances['RipStatus'] = Ri...
...                               ^
/usr/bin/rrip_gui:231: syntax error, unexpected keyword_else, expecting keyword_end
...Status'] = RipStatus.new() else @instances['RipStatus'].rese...
...                               ^
/usr/bin/rrip_gui:235: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:255: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...ent_instance != 'GtkMetadata' : change_display(@instances['G...
...                               ^
/usr/bin/rrip_gui:256: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif modus == "cddb_hit" && value
                 ^
/usr/bin/rrip_gui:259: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif modus == "ripping_progress"
                 ^
/usr/bin/rrip_gui:261: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif modus == "encoding_progress"
                 ^
/usr/bin/rrip_gui:263: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif modus == "log_change"
                 ^
/usr/bin/rrip_gui:268: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif modus == "dir_exists"
                 ^
/usr/bin/rrip_gui:271: syntax error, unexpected keyword_elsif, expecting keyword_end
            elsif modus == "finished"
                 ^
/usr/bin/rrip_gui:277: syntax error, unexpected keyword_else, expecting keyword_end
/usr/bin/rrip_gui:282: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:296: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:298: class definition in method body
/usr/bin/rrip_gui:330: class definition in method body
/usr/bin/rrip_gui:431: syntax error, unexpected ':'
        if not @cd.md.varArtists.empty? : @var_checkbox.active = true end
                                         ^
/usr/bin/rrip_gui:435: syntax error, unexpected ':'
        unless @cd.md.varArtists.empty? : set_var_artist_in_table() end
                                         ^
/usr/bin/rrip_gui:436: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:439: syntax error, unexpected tLABEL
...@cd.md.varArtists[time] == nil:  @cd.md.varArtists[time] = _...
...                               ^
/usr/bin/rrip_gui:439: syntax error, unexpected keyword_end, expecting '}'
...rtists[time] = _('Unknown') end} #Fill with unknown if the a...
...                               ^
/usr/bin/rrip_gui:440: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...n.include?(@var_artist_label) : @table20.remove(@var_artist_...
...                               ^
/usr/bin/rrip_gui:440: syntax error, unexpected keyword_end, expecting '}'
...t| @table20.remove(object)} end #remove the previous 
...                               ^
/usr/bin/rrip_gui:449: syntax error, unexpected keyword_do_block, expecting '}'
        @cd.audiotracks.times do |index|
                                ^
/usr/bin/rrip_gui:452: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:454: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:465: syntax error, unexpected keyword_do_block, expecting keyword_end
        @cd.audiotracks.times do |index|
                                ^
/usr/bin/rrip_gui:470: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:483: syntax error, unexpected keyword_do_block, expecting keyword_end
            @cd.audiotracks.times do |index|
                                    ^
/usr/bin/rrip_gui:485: syntax error, unexpected ':'
...ck_track_array[index].active? : @tracks_to_rip << index + 1 ...
...                               ^
/usr/bin/rrip_gui:487: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:492: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:495: class definition in method body
/usr/bin/rrip_gui:539: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...ettings['normalize'] == false : 0 elsif @settings['normalize...
...                               ^
/usr/bin/rrip_gui:539: syntax error, unexpected ':', expecting keyword_end
...['normalize'] == "replaygain" : 1 else 2 end
...                               ^
/usr/bin/rrip_gui:539: warning: else without rescue is useless
/usr/bin/rrip_gui:540: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
        @modus.active = if @settings['gain'] == "album" : 0 else 1 end
                                                         ^
/usr/bin/rrip_gui:540: warning: else without rescue is useless
/usr/bin/rrip_gui:556: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:582: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...] = if @normalize.active == 0 : false elsif @normalize.activ...
...                               ^
/usr/bin/rrip_gui:582: syntax error, unexpected ':', expecting keyword_end
... elsif @normalize.active == 1 : "replaygain" else "normalize...
...                               ^
/usr/bin/rrip_gui:582: warning: else without rescue is useless
/usr/bin/rrip_gui:583: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
        @settings['gain'] = if @modus.active ==0 : "album" else "track" end
                                                  ^
/usr/bin/rrip_gui:583: syntax error, unexpected keyword_else, expecting '}'
        @settings['gain'] = if @modus.active ==0 : "album" else "track" end
                                                               ^
/usr/bin/rrip_gui:583: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:599: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
        if @settings['debug'] : Thread.abort_on_exception = true end
                               ^
/usr/bin/rrip_gui:599: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:601: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:604: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...(ENV['HOME'], '.rubyripper')) : Dir.mkdir(dirname) end
...                               ^
/usr/bin/rrip_gui:606: syntax error, unexpected keyword_do_block, expecting '}'
        @settings.each do |key, value|
                         ^
/usr/bin/rrip_gui:606: syntax error, unexpected '|', expecting '='
/usr/bin/rrip_gui:608: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:610: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:666: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...alue < @all_chunks_spin.value : @err_chunks_spin.value = @al...
...                               ^
/usr/bin/rrip_gui:666: syntax error, unexpected keyword_end, expecting '}'
...ue = @all_chunks_spin.value end ; @err_chunks_spin.set_range...
...                               ^
/usr/bin/rrip_gui:779: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...") {if @normalize.active == 0 : @modus.sensitive = false els...
...                               ^
/usr/bin/rrip_gui:779: syntax error, unexpected keyword_else, expecting '}'
...: @modus.sensitive = false else @modus.sensitive = true end}
...                               ^
/usr/bin/rrip_gui:779: syntax error, unexpected keyword_end, expecting '}'
...lse @modus.sensitive = true end}
...                               ^
/usr/bin/rrip_gui:793: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:926: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...ge"){|a, b, page| if page == 3: @example_label.text = get_ex...
...                               ^
/usr/bin/rrip_gui:926: syntax error, unexpected keyword_end, expecting '}'
... @naming_normal_entry.text) end}
...                               ^
/usr/bin/rrip_gui:928: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:931: class definition in method body
/usr/bin/rrip_gui:983: class definition in method body
/usr/bin/rrip_gui:1001: syntax error, unexpected keyword_do_block, expecting keyword_end
        3.times do |index|
                  ^
/usr/bin/rrip_gui:1021: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:1023: class definition in method body
/usr/bin/rrip_gui:1055: syntax error, unexpected keyword_do_block, expecting keyword_end
/usr/bin/rrip_gui:1056: syntax error, unexpected keyword_do_block, expecting keyword_end
/usr/bin/rrip_gui:1058: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...                if @combobox.active == -1 : cd.md.freedbChoice(0) else c...
...                                           ^
/usr/bin/rrip_gui:1058: warning: else without rescue is useless
/usr/bin/rrip_gui:1060: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/rrip_gui:1064: class definition in method body
/usr/bin/rrip_gui:1089: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
... installed(editor.split()[0]) : `#{editor} "#{directory + '/...
...                               ^
/usr/bin/rrip_gui:1089: syntax error, unexpected keyword_else, expecting '}'
...ectory + '/ripping.log'}"` else puts _("%s is not found on y...
...                               ^
/usr/bin/rrip_gui:1089: syntax error, unexpected keyword_end, expecting '}'
...em!") % [editor.split()[0]] end}}
...                               ^
/usr/bin/rrip_gui:1097: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
...alled(filemanager.split()[0]) : `#{filemanager} "#{directory...
...                               ^
/usr/bin/rrip_gui:1097: syntax error, unexpected keyword_else, expecting '}'
...lemanager} "#{directory}"` else puts _("%s is not found on y...
...                               ^
/usr/bin/rrip_gui:1097: syntax error, unexpected keyword_end, expecting '}'
... % [filemanager.split()[0]] end}}
...                               ^
/usr/bin/rrip_gui:1112: syntax error, unexpected keyword_end, expecting '}'
    end    
       ^
/usr/bin/rrip_gui:1119: syntax error, unexpected $end, expecting '}'

Its almost as if the source is corrupted. But I reinstalled several times to no avail.

Offline

#2 2009-10-01 13:45:07

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: Ruby Ripper not working.

The source isn't corrupted, just outdated -- ruby ripper does no longer work with ruby 1.9. This has been fixed in the latest git version. Use rubyripper-git from the AUR for now:

http://aur.archlinux.org/packages.php?ID=28864

The community package seems to be orphaned and is already flagged out of date. Anyways the changes for ruby 1.9 don't seem to have been added to the latest stable release, so you should use rubyripper-git in any case.

Offline

#3 2009-10-07 04:29:06

Godofgrunts
Member
Registered: 2008-11-14
Posts: 43

Re: Ruby Ripper not working.

Ah thank you! Although since then I've moved on to a different CD ripper.

Offline

#4 2009-10-07 10:34:23

Chokkan
Member
Registered: 2009-04-06
Posts: 129

Re: Ruby Ripper not working.

Thanks for the tip. I was beginning to think I'd have to find another app. Also for the sake of others, Godofgrunts, how about telling us which ripper you are now using?


< Daenyth> tomkx: my girlfriend is linux
< Daenyth> srsly
< Daenyth> she loves the way I «make install»
< Daenyth> all her /dev entries are mode 7 for me

Offline

#5 2009-10-09 06:39:54

Godofgrunts
Member
Registered: 2008-11-14
Posts: 43

Re: Ruby Ripper not working.

I'm using GRip at the moment.

Offline

Board footer

Powered by FluxBB