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 649722 - Error when CD is not in music brainz
Error when CD is not in music brainz
Status: RESOLVED OBSOLETE
Product: sound-juicer
Classification: Applications
Component: ripping
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-08 10:25 UTC by cs
Modified: 2021-05-17 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch 1/2 (2.05 KB, patch)
2014-01-23 13:57 UTC, Christophe Fergeau
none Details | Review
Switch to GVolumeMonitor (14.95 KB, patch)
2014-01-23 14:00 UTC, Christophe Fergeau
none Details | Review

Description cs 2011-05-08 10:25:35 UTC
Version 2.31.6
Ubuntu 10.10

If sound juicer is already open and a CD not in the music brainz database is put in the CD drive, then I see the error message (two copies below).

Workaround: Close Sound Juicer and reopen. It then behaves correctly - reporting that the CD is not in Music Brainz

message 1
Could not read the CD

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.182 was not provided by any .service files

message2
Could not read the CD

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.196 was not provided by any .service files
Comment 1 Mehmet Giritli 2011-08-21 08:10:06 UTC
Same problem here, very annoying bug...
Comment 2 gatlin 2013-01-31 04:57:34 UTC
This functionality is still present in 3.5.0 in F18.
https://bugzilla.redhat.com/show_bug.cgi?id=851762
Comment 3 Christophe Fergeau 2014-01-22 11:00:14 UTC
This is actually a gvfs bug, see bug #602855, though once this is fixed, s-j may need a bit of polishing as well, so keeping this open for a bit.
Comment 4 Christophe Fergeau 2014-01-23 13:48:07 UTC
With bug #602855 fixed, there is still a race condition between brasero indicating a new CD has been inserted, and the gvfs cdda mount being available. This means we could try to read the CD using cdda:// before it's actually mounted. When this happens, an error is reported about trying to access a location that is not mounted yet.
Comment 5 Christophe Fergeau 2014-01-23 13:57:35 UTC
Created attachment 267048 [details] [review]
patch 1/2
Comment 6 Christophe Fergeau 2014-01-23 14:00:28 UTC
Created attachment 267049 [details] [review]
Switch to GVolumeMonitor

This patch switches most uses of BraseroMediaMonitor to GVolumeMonitor.
The remaining uses are when it's used to enumerate CDRom drives (I'm not sure gio can telll us whether a drive is a CDRom or something else), and when it checks whether a CDRom can write CDs.
We also need to go back and forth between Brasero and Gio to lock/unlock the CDRom door (even though this seems broken on the CD reader I tested with).
This has been lightly tested and seems to be working. The patches are on top of the dconf branch.
Comment 7 GNOME Infrastructure Team 2021-05-17 16:05:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/sound-juicer/-/issues/140.