Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ugly traceback when dbus isn't found #3

Open
mackstann opened this issue Feb 16, 2011 · 0 comments
Open

Ugly traceback when dbus isn't found #3

mackstann opened this issue Feb 16, 2011 · 0 comments

Comments

@mackstann
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant