After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663459 - 'Cannot Access CD, while getting peer-to-peer dbus connection: The name FOO was not provided by any .service files'
'Cannot Access CD, while getting peer-to-peer dbus connection: The name FOO w...
Status: RESOLVED INVALID
Product: sound-juicer
Classification: Applications
Component: general
2.32.x
Other Linux
: Normal major
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-05 16:04 UTC by James Broadhead
Modified: 2012-02-24 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Error message, incl terminal output & evidence cd is properly mounted (229.81 KB, image/png)
2011-11-05 16:04 UTC, James Broadhead
Details

Description James Broadhead 2011-11-05 16:04:22 UTC
Created attachment 200760 [details]
Error message, incl terminal output & evidence cd is properly mounted

This error is extremely frequent when using sound-juicer.

Severity: Major - This bug seriously impedes normal use of this program.

====
Sound Juicer could not read the track listing on this CD.
Reason: Cannot access CD: Error while getting peer-to-peer dbus connection: The name :1.264 was not provided by any .service files
====

Reproduction:
* Place CD in drive
* Run sound-juicer
* Rip CD
* Place new CD in drive
(inexact, but error is frequent)

Workaround:
1./ * Restart sound-juicer, Rinse, repeat
or
2./ 
* Close sound-juicer, ensure that gnome has not got CD mounted, refresh view of CD contents in Thunar (calls gnome-mount ?).
* Once CD contents are visible in file manager, start Sound-juicer.
* s-j will now work correctly. ( until the next cd ...)
Comment 1 James Broadhead 2011-11-05 16:05:20 UTC
Where I say 'mounted', I do not mean traditional UNIX mounting, but the pseudo-mounting that Gnome file managers use to indicate an Audio CD and supply the TOC.
Comment 2 Christophe Fergeau 2011-11-05 20:07:32 UTC
Are you running an XFCE environment? I'm asking because of the thunar mention, and because this could be one of the steps needed to experience the bug. I don't think I've ever seen this bug
Comment 3 James Broadhead 2011-11-05 20:29:45 UTC
Yes, I'm using XFCE. The machine is running Ubuntu 11.10, with xubuntu-desktop installed. It's a recent install with very little customisation. It's not my primary machine, but I have been doing a lot of ripping on it recently. 

This literally happens every 1-2 CDs inserted to rip. 

The workaround where sound-juicer is exited, the tray ejected and inserted is the best way around this problem. CTRL+R is unsuccessful. I think that it is an interaction between whatever service detects and 'announces' an Audio CD to the desktop environment, and Sound-Juicer requesting the same. 

grip (and presumably others) detects and reads the TOC without difficulty.
Comment 4 Walter Garcia-Fontes 2011-12-10 17:37:55 UTC
Bug report for Ubuntu at Launchpad:

https://bugs.launchpad.net/sound-juicer/+bug/902573
Comment 5 viennestar 2012-01-12 10:34:48 UTC
Hello,
on my Archlinux box with the Gnome 3.2 environment sound-juicer has this issue.

1. Insert an audio CD and mount it via Gnome Shell
2. Launch Sound Juicer and the dialog box says:

Sound Juicer could not read the track listing on this CD.
Reason: Cannot access CD: Error while getting peer-to-peer dbus connection: The name :1.253 was not provided by any .service files

3. The tracks are non listed in the window and after closing the dialog box the application is unusable.

4. This is an attempt to get a stack trace:

[dario@amdax4 ~]$ gdb sound-juicer
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/sound-juicer...done.
(gdb) run
Starting program: /usr/bin/sound-juicer 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffec302700 (LWP 26743)]
[New Thread 0x7fffebb01700 (LWP 26744)]
[Thread 0x7fffec302700 (LWP 26743) exited]
[New Thread 0x7fffec302700 (LWP 26745)]
[New Thread 0x7fffe98b5700 (LWP 26746)]
[New Thread 0x7fffe8ea8700 (LWP 26747)]
[Thread 0x7fffebb01700 (LWP 26744) exited]
[New Thread 0x7fffebb01700 (LWP 26748)]

** (sound-juicer:26740): WARNING **: Widget (GtkEntry) has more than one label
[New Thread 0x7fffd6e92700 (LWP 26749)]
MusicBrainz: Connecting to http://musicbrainz.org:80
MusicBrainz: GET /ws/1/release/?type=xml&discid=0GI5wv1xBGI3ZYTSg0TvF6q2gcw-

(sound-juicer:26740): GLib-GObject-WARNING **: invalid cast from `GdkX11Window' to `GtkWidget'

(sound-juicer:26740): Gtk-CRITICAL **: gtk_widget_get_display: assertion `GTK_IS_WIDGET (widget)' failed

(sound-juicer:26740): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed

(sound-juicer:26740): Gdk-CRITICAL **: gdk_cursor_unref: assertion `cursor != NULL' failed

(sound-juicer:26740): GLib-GObject-WARNING **: invalid cast from `GdkX11Window' to `GtkWidget'

(sound-juicer:26740): Gtk-CRITICAL **: gtk_widget_get_display: assertion `GTK_IS_WIDGET (widget)' failed

(sound-juicer:26740): Gdk-CRITICAL **: gdk_display_sync: assertion `GDK_IS_DISPLAY (display)' failed
[New Thread 0x7fffd5a5b700 (LWP 26750)]
MusicBrainz: Connecting to http://musicbrainz.org:80
MusicBrainz: GET /ws/1/release/?type=xml&discid=0GI5wv1xBGI3ZYTSg0TvF6q2gcw-
[Thread 0x7fffec302700 (LWP 26745) exited]
MusicBrainz: Result: 0 (200 )
MusicBrainz: Status: 200
MusicBrainz: Response:
<?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://musicbrainz.org/ns/mmd-1.0#" xmlns:ext="http://musicbrainz.org/ns/ext-1.0#"><release-list /></metadata>
[Thread 0x7fffd6e92700 (LWP 26749) exited]

(sound-juicer:26740): Gtk-CRITICAL **: gtk_widget_get_accessible: assertion `GTK_IS_WIDGET (widget)' failed

** (sound-juicer:26740): CRITICAL **: atk_object_add_relationship: assertion `ATK_IS_OBJECT (object)' failed

** (sound-juicer:26740): CRITICAL **: atk_object_add_relationship: assertion `ATK_IS_OBJECT (object)' failed
MusicBrainz: Result: 0 (200 )
MusicBrainz: Status: 200
MusicBrainz: Response:
<?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://musicbrainz.org/ns/mmd-1.0#" xmlns:ext="http://musicbrainz.org/ns/ext-1.0#"><release-list /></metadata>
[Thread 0x7fffd5a5b700 (LWP 26750) exited]
[Thread 0x7fffe98b5700 (LWP 26746) exited]
[Thread 0x7fffe8ea8700 (LWP 26747) exited]
[Thread 0x7fffebb01700 (LWP 26748) exited]
[Inferior 1 (process 26740) exited normally]
(gdb)
Comment 6 ville.ranki 2012-02-20 11:18:10 UTC
Is anyone trying to fix this? It is a showstopper bug which prevents normal use of the application. Currently there is no working way to submit CD's to MusicBrainz on Linux as far as I know.
Comment 7 Ross Burton 2012-02-20 14:16:53 UTC
Can anyone replicate this in 3.x?
Comment 8 ville.ranki 2012-02-20 15:28:13 UTC
I just tested with latest from git (3.3.90) and the problem still persists.
Comment 9 Ross Burton 2012-02-20 15:32:23 UTC
Hm, without gvfs it might fail.  Do you have gvfs installed?
Comment 10 ville.ranki 2012-02-20 16:14:17 UTC
Yep, I have gvfs 1.10.0-0ubuntu1 installed. The CD can be 'mounted' so that Nautilus displays tracks as .wav files.
Comment 11 Ross Burton 2012-02-20 16:18:02 UTC
I think this is due to a gvfs module crashing. Do "ps x |grep gvfs" before you start SJ, after you've started SJ, and once you've made it give the error.  I suspect you'll see a pattern.
Comment 12 ville.ranki 2012-02-24 09:00:25 UTC
Looks like /usr/lib/gvfs/gvfsd-cdda has died when the bug occurs. I suppose this means this bug is in gvfs, not in sound-juicer. This is probably the same as https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/819304

This bug can be closed if developers agree.
Comment 13 Ross Burton 2012-02-24 09:34:52 UTC
I agree but we need that report upstream.
Comment 14 ville.ranki 2012-02-24 10:07:49 UTC
Ok. Will you do the report as you are a gnome developer? The launchpad report has the same stacktrace i got while debugging gvfs-cdda.
Comment 15 Ross Burton 2012-02-24 10:42:11 UTC
I'll let the ubuntu maintainers push that report upstream as they need to determine if it's the result of their patching or an upstream problem.

Resolving invalid as there isn't a duplicate-of-another-tracker status.