fongecore / rubyripper

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

Rubyripper not passing files to encoders #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ripping a CD with FLAC and MP3 encodings selected
2.
3.

What is the expected output? encoded files
What do you see instead? a directory containing only the ripping log

What version of rubyripper are you using? 0.4

On what operating system? Linux Ubuntu 7.04

 Are you using the gtk2 or the commandline interface?
GTK2

Please provide any additional information below.

Ripping seems fine, but the FLAC and MP3 files are not created (the desired
directory is corrected and the ripping log is the only file there.)

Hope these terminal cut & pastes are helpful. I'm a Linux NOOB - any
suggestions where I might have gone wrong? The line about the
"copy-target-list" seems fishy to me . . . 

jeremy@labrador:/usr/bin/rubyripper/rubyripper-0.4$ rrip_gui
/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
Using cd-discid, freedb string = ed0ea510 16 150 16702 44652 60985 74130
107270 119222 131597 144185 157660 169172 194110 207137 224610 238062
250830 3751
./rr_lib.rb: line 337
   GLib-GObject-WARNING **:IA__g_object_notify: object class
`GtkTextBuffer' has no property named `copy-target-list'
cdparanoia III release 10pre0 (August 29, 2006)
(C) 2006 Monty <monty@xiph.org> and Xiph.Org

FreeBSD porting (c) 2003
        Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Ripping from sector       0 (track  1 [0:00.00])
          to sector   16551 (track  1 [3:40.51])

outputting to /home/jeremy/Music Files/Les McCann/temp/track1_1.wav

 (== PROGRESS == [                              | 016551 00 ] == :^D * ==)   

Done.

cdparanoia III release 10pre0 (August 29, 2006)
(C) 2006 Monty <monty@xiph.org> and Xiph.Org

FreeBSD porting (c) 2003
        Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Ripping from sector       0 (track  1 [0:00.00])
          to sector   16551 (track  1 [3:40.51])

outputting to /home/jeremy/Music Files/Les McCann/temp/track1_2.wav

 (== PROGRESS == [                              | 016551 00 ] == :^D * ==)   

Done.

cdparanoia III release 10pre0 (August 29, 2006)
(C) 2006 Monty <monty@xiph.org> and Xiph.Org

FreeBSD porting (c) 2003
        Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

003: CDROM reporting illegal number of tracks

Unable to open disc.  Is there an audio CD in the drive?
./rr_lib.rb:508:in `size': No such file or directory - /home/jeremy/Music
Files/Les McCann/temp/track1_1.wav (Errno::ENOENT)
        from ./rr_lib.rb:508:in `main'
        from ./rr_lib.rb:505:in `times'
        from ./rr_lib.rb:505:in `main'
        from ./rr_lib.rb:490:in `initialize'
        from ./rr_lib.rb:915:in `new'
        from ./rr_lib.rb:915:in `ripper'
        from ./rr_lib.rb:914:in `each'
        from ./rr_lib.rb:914:in `ripper'
        from ./rr_lib.rb:791:in `start_rip'
        from /usr/bin/rrip_gui:142:in `rip_cd'
        from /usr/bin/rrip_gui:136:in `initialize'
        from /usr/bin/rrip_gui:136:in `new'
        from /usr/bin/rrip_gui:136:in `rip_cd'
        from /usr/bin/rrip_gui:12:in `to_proc'
        from /usr/bin/rrip_gui:952:in `call'
        from /usr/bin/rrip_gui:952:in `main'
        from /usr/bin/rrip_gui:952
jeremy@labrador:/usr/bin/rubyripper/rubyripper-0.4$ 

Original issue reported on code.google.com by Jer....@gmail.com on 20 Apr 2007 at 11:22

GoogleCodeExporter commented 8 years ago
Also:

the .wav files are showing up temporarily in the temp directory as expected.

Original comment by Jer....@gmail.com on 20 Apr 2007 at 11:24

GoogleCodeExporter commented 8 years ago
I thought we solved this one. It's probably related to the space you use in 
your 
directory name (see also issue 77). I'll look into it.

Original comment by rubyripp...@gmail.com on 21 Apr 2007 at 8:46

GoogleCodeExporter commented 8 years ago
Also this seems to be unrelated to the encoders. It already blocks out in the 
comparisison of the wav files. However, the filenames seem to match, seeing 
your 
terminal output:

outputting to
/home/jeremy/Music Files/Les McCann/temp/track1_1.wav

No such file or directory - 
/home/jeremy/Music Files/Les McCann/temp/track1_1.wav
(Errno::ENOENT)

All the gtk2 warnings seems to me a bad/outdated installation of the ruby-gtk2 
bindings, but they aren't crashing rubyripper.

Can you confirm the error doesn't happen when you set your output dir to a 
directory without spaces?

Original comment by rubyripp...@gmail.com on 21 Apr 2007 at 12:24

GoogleCodeExporter commented 8 years ago
OK, that worked. See below.

While I have you:

How do I run rrip_gui from the GUI interface? So far I have to run it from the
command line from the correct directory, see below.

(I don't know if this is the appropriate place for this, sorry if it's not!)

jeremy@labrador:~$ rrip_gui
/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
/usr/bin/rrip_gui:40:in `initialize': Failed to open file
'/usr/share/rubyripperrubyripper_22.png': No such file or directory 
(GLib::FileError)
        from /usr/bin/rrip_gui:40:in `new'
        from /usr/bin/rrip_gui:40:in `initialize'
        from /usr/bin/rrip_gui:951:in `new'
        from /usr/bin/rrip_gui:951
jeremy@labrador:~$ cd /usr/bin/rubyripper/rubyripper-0.4
jeremy@labrador:/usr/bin/rubyripper/rubyripper-0.4$
rrip_gui/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
Using cd-discid, freedb string = 9d0a840c 12 225 21127 42080 61110 79152 95260 
109227
123600 136752 148350 168312 183817 2695
./rr_lib.rb: line 337
   GLib-GObject-WARNING **:IA__g_object_notify: object class `GtkTextBuffer' has no
property named `copy-target-list'
cdparanoia III release 10pre0 (August 29, 2006)
(C) 2006 Monty <monty@xiph.org> and Xiph.Org

FreeBSD porting (c) 2003
        Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Ripping from sector      75 (track  1 [0:00.00])
          to sector   20976 (track  1 [4:38.51])

outputting to /home/jeremy/Music_Files/Compilations/temp/track1_1.wav

 (== PROGRESS == [                              | 020976 00 ] == :^D * ==)   

Done.

cdparanoia III release 10pre0 (August 29, 2006)
(C) 2006 Monty <monty@xiph.org> and Xiph.Org

FreeBSD porting (c) 2003
        Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Ripping from sector      75 (track  1 [0:00.00])
          to sector   20976 (track  1 [4:38.51])

outputting to /home/jeremy/Music_Files/Compilations/temp/track1_2.wav

 (== PROGRESS == [                              | 020976 00 ] == :^D * ==)   

Done.

./rr_lib.rb: line 790
   GLib-GObject-WARNING **:IA__g_object_notify: object class `GtkTextBuffer' has no
property named `copy-target-list'

Original comment by Jer....@gmail.com on 21 Apr 2007 at 10:59

GoogleCodeExporter commented 8 years ago
Also - I'm updating my ruby-gnome2 package, I'll test again later tonight. 
Thanks for
the help.

Original comment by Jer....@gmail.com on 21 Apr 2007 at 11:02

GoogleCodeExporter commented 8 years ago
OK - quick update - I installed ruby-gnome2 Version: 0.15.0-1.1 and rebooted.

I have the same Gnome-related error messages as before.

Thanks!

-j

Original comment by Jer....@gmail.com on 21 Apr 2007 at 11:17

GoogleCodeExporter commented 8 years ago
I found an error when you installed rubyripper with make install. The icon 
location 
is misplaced by a single slash. I've corrected this in commit 100. To 
circumvent 
this problem you can start rubyripper directly without installing it 
(./rubyripper_gtk2)

Original comment by rubyripp...@gmail.com on 22 Apr 2007 at 12:52

GoogleCodeExporter commented 8 years ago
I installed commit 100, that fixed the icon-crash problem.

Question:
I found the updated ruby-gnome2 with version 0.16.0, can you help me understand 
how I
install the package? I'm having trouble with that.

My email: jer.eps@gmail.com if that's a better channel to do this from, I don't 
want
to junk up this ISSUES database with my own "issues." :)

Original comment by Jer....@gmail.com on 22 Apr 2007 at 3:55

GoogleCodeExporter commented 8 years ago
You should first uninstall rubyripper to undo your previous installation. This 
is 
distribution dependant.

After that, get the latest svn sources and give the command -> make install (as 
root)
make uninstall will clean up the files again (also as root)

Original comment by rubyripp...@gmail.com on 22 Apr 2007 at 7:44

GoogleCodeExporter commented 8 years ago
Commit 102 should fix your problem. Can you confirm that a directory with 
spaces 
work now?

Original comment by rubyripp...@gmail.com on 22 Apr 2007 at 8:50

GoogleCodeExporter commented 8 years ago
I've tested it some more and it no longer crashes over here. I am closing this 
bug. 
If the crash still happens, please file a new issue.

Original comment by rubyripp...@gmail.com on 23 Apr 2007 at 5:09

GoogleCodeExporter commented 8 years ago
Fixed!

Thanks . . .

Original comment by Jer....@gmail.com on 23 Apr 2007 at 11:59