mpris-remote
mpris-remote copied to clipboard
Ugly traceback when dbus isn't found
http://mapopa.blogspot.com/2010/08/mpris-support-in-qmmp.html
In case that page disappears, the problem is triggered by this bit of code:
bus = dbus.SessionBus()
And the exception is this:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
mpris-remote should catch this exception and tell the user that dbus isn't running in a more obvious manner.