Description of problem: I've just installed listen and it crashes with the following error: $ listen ** Message: pygobject_register_sinkfunc is deprecated (GstObject) Traceback (most recent call last): File "listen", line 213, in <module> ListenApp() File "listen", line 131, in __init__ self.listen_instance = Listen() File "/usr/lib64/listen/widget/listen.py", line 135, in __init__ self.notify = Notify(self.tray) File "/usr/lib64/listen/widget/notify.py", line 53, in __init__ if utils.dbus_service_available(bus,interface,True): File "/usr/lib64/listen/utils.py", line 92, in dbus_service_available bus.start_service_by_name(interface) File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files Version-Release number of selected component (if applicable): $ rpm -q listen listen-0.6.5-4.fc15.x86_64 How reproducible: every-time Steps to Reproduce: 1. install listen 2. run listen Actual results: listen crashes Expected results: listen runs Additional info:
Created attachment 500114 [details] A patch that catches DBus exceptions when trying to activate services This patch doesn't solve the core issue with not finding org.freedesktop.Notifications, it simply makes the exception not fatal. I checked in d-feet and org.freedesktop.Notifications does exist, so I'm not quite sure what the problem is there.
org.freedesktop.Notifications is provided by notification services (notification-daemon for GNOME -GNOME-Shell for F15?-, xfce4-notifyd for XFCE, whatever it is for KDE). Since Listen may be used on different desktops or with a mere windows manager, i can't hardcode that dependency into the package. The proper way would be to add a dependency on a D-Bus service but i'm not sure if it's actually feasible.
The patch (attachment #500114 [details]) works for me and can be used as a temporary solution until a correct fix is prepared.
i'll import it tonight.
listen-0.6.5-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/listen-0.6.5-5.fc15
Package listen-0.6.5-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing listen-0.6.5-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/listen-0.6.5-5.fc15 then log in and leave karma (feedback).
listen-0.6.5-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.