GNOME Bugzilla – Bug 556711
Error while trying to import a CD : Could not create a GStreamer sink
Last modified: 2008-10-28 12:28:14 UTC
Please describe the problem: When I insert a CD, open Rhythmbox and try to import the CD into the library, I get the following error: Error transferring track Could not create a GStreamer sink element to write to /home/franck/Musique/Noir%20D%C3%A9sir/666.667%20Club/13%20-%20Song%20for%20JLP.oga An error notification is issued for each track. Steps to reproduce: 1. insert a CD 2. in rhythmbow, try 'extract to library' 3. you get the error Actual results: Error message: Could not create a GStreamer sink element to write to ... No file imported Expected results: Tracks are extracted and files written to the HD with suitable directory/file names Does this happen every time? Yes Other information: In the shell, I get these logs : (rhythmbox:13457): Rhythmbox-WARNING **: filesystem root apparently doesn't exist! (rhythmbox:13457): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed (rhythmbox:13457): Rhythmbox-CRITICAL **: rb_encoder_gst_emit_completed: assertion `encoder->priv->completion_emitted == FALSE' failed
Created attachment 120776 [details] output when running with --debug
What output do you get from running 'gconftool-2 -g /apps/rhythmbox/library_locations' in a terminal?
Here is what gconftool gives me: franck@franck-laptop:~$ gconftool-2 -g /apps/rhythmbox/library_locations [/home/franck/Musique]
That should be "file:///home/franck/Musique". If you reset the library location in the rhythmbox preferences, it should work properly. We should probably add some code to convert file paths to URIs.
Yes, resetting the location fixes the problem. I have also tried to reproduce the steps that led me to the wrong setup, but couldn't find the way (that is, typing it directly with the keyboard or choosing it from the file chooser both corrected the problem, I couldn't manage to get the path instead of the url again...) So it's fixed for me, but adding code to make sure Rhythmbox has an url and not a filepath would certainly be a plus. Thanks a lot, Franck
2008-10-28 Jonathan Matthew <jonathan@d14n.org> * sources/rb-library-source.c: (rb_library_source_constructor): Convert library location paths to URIs on startup. Fixes #556711.