GNOME Bugzilla – Bug 759751
Music should not depend on dbus-python
Last modified: 2016-02-19 18:24:04 UTC
After the commands: $ jhbuild sysdeps --install gnome-music $ jhbuild build gnome-music $ jhbuild run gnome-music Music should work automatically with no further user intervention required. But it doesn't; there is some bug with _dbus_bindings.so: Traceback (most recent call last):
+ Trace 235835
from gnomemusic.application import Application
from gnomemusic.mpris import MediaPlayer2Service
import dbus
import dbus.types as types
from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\
This is a problem in however dbus-glib was built and/or linked, not a jhbuild or gnome-music bug.
I'm just using the Fedora 23 package. Does it need rebuilt?
(In reply to Michael Catanzaro from comment #2) > I'm just using the Fedora 23 package. Does it need rebuilt? That seems likely. From what I found, this could happen when a Python3 interpreter (used by gnome-music) tries to include a Python2 module. This could be a packaging problem in those bindings.
Or there's a PYTHONPATH that lists Python2 modules. PYTHONPATH= gnome-music might fix it.
The problem is that the dbus-python we have in jhbuild (gnome-world) is a python2 module. If anyone has ever built dbus-python, it will thereafter be impossible to run gnome-music until dbus-python is uninstalled.
I looked into adding a python3 build of dbus-python to jhbuild, but it depends on dbus-glib, and... no. :) Since it's required only for MPRIS support, and GNOME doesn't have any built-in MPRIS support anymore (except perhaps on the lock screen?), I think it's acceptable to disable MPRIS until it can be ported to pydbus or GDBus.
(In reply to Michael Catanzaro from comment #6) > Since it's required only for MPRIS support, and GNOME doesn't have any > built-in MPRIS support anymore (except perhaps on the lock screen?) No, even that was removed; I guess this is only intended for use with shell extensions, then? (Nothing wrong with that....)
GNOME 3.20 adds built-in MPRIS support in the notifications area (next to the calendar).
Background info: dbus-python is deprecated and we agreed it's not an acceptable dependency for GNOME; gnome-music is currently in jhbuild only because it's an optional runtime dependency.
Ah there's already another bug *** This bug has been marked as a duplicate of bug 705069 ***