rlishtaba / rubyripper

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

origin/stable: rubyripper/rr_lib.rb:1931:in `>': comparison of String with 0 failed (ArgumentError) #526

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With latest commit from branch stable

    e084feb5a4dc16a380e0a9eb5a4d8015960cd0bc

I got the following error with rubyripper’s GTK user interface. There are 
only 19 tracks on that CD.

/opt/src/rubyripper/rr_lib.rb:1931:in `>': comparison of String with 0 failed 
(ArgumentError)
    from /opt/src/rubyripper/rr_lib.rb:1931:in `testFileSize'
    from /opt/src/rubyripper/rr_lib.rb:1906:in `doNewTrial'
    from /opt/src/rubyripper/rr_lib.rb:1873:in `block in main'
    from /opt/src/rubyripper/rr_lib.rb:1873:in `times'
    from /opt/src/rubyripper/rr_lib.rb:1873:in `main'
    from /opt/src/rubyripper/rr_lib.rb:1833:in `ripTrack'
    from /opt/src/rubyripper/rr_lib.rb:1805:in `block in ripTracks'
    from /opt/src/rubyripper/rr_lib.rb:1801:in `each'
    from /opt/src/rubyripper/rr_lib.rb:1801:in `ripTracks'
    from /opt/src/rubyripper/rr_lib.rb:1795:in `initialize'
    from /opt/src/rubyripper/rr_lib.rb:2544:in `new'
    from /opt/src/rubyripper/rr_lib.rb:2544:in `startRip'
    from ./rubyripper_gtk2.rb:305:in `block in do_rip'

Original issue reported on code.google.com by pm.deb...@googlemail.com on 8 Jun 2012 at 8:52

GoogleCodeExporter commented 8 years ago
The code that is crashing checks if the offset in your settings is greater than 
0. Could it be that your offset is not a number? (Perhaps empty?)

Original comment by boukewou...@gmail.com on 31 Jul 2012 at 7:32

GoogleCodeExporter commented 8 years ago
I am marking this report as invalid since I see no reply to my question.

Original comment by boukewou...@gmail.com on 29 Sep 2012 at 4:08

GoogleCodeExporter commented 8 years ago
Well, I just ran into this same problem.  In my case, it is a number and it is 
not greater than 0.  My offset is -24.

What's odd though is I ripped 18 tracks before I hit the error...

Original comment by mbain...@gmail.com on 26 Nov 2013 at 7:46