Bug 706389 - listen crashes right after install
Summary: listen crashes right after install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: listen
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-20 11:21 UTC by Honza Horak
Modified: 2011-06-02 19:01 UTC (History)
1 user (show)

Fixed In Version: listen-0.6.5-5.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-02 19:01:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A patch that catches DBus exceptions when trying to activate services (631 bytes, patch)
2011-05-20 18:15 UTC, Luke Macken
no flags Details | Diff

Description Honza Horak 2011-05-20 11:21:15 UTC
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:

Comment 1 Luke Macken 2011-05-20 18:15:08 UTC
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.

Comment 2 Haïkel Guémar 2011-05-21 09:56:03 UTC
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.

Comment 3 Honza Horak 2011-05-25 08:22:22 UTC
The patch (attachment #500114 [details]) works for me and can be used as a temporary solution until a correct fix is prepared.

Comment 4 Haïkel Guémar 2011-05-25 16:52:18 UTC
i'll import it tonight.

Comment 5 Fedora Update System 2011-05-27 04:58:12 UTC
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

Comment 6 Fedora Update System 2011-05-27 20:21:43 UTC
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).

Comment 7 Fedora Update System 2011-06-02 19:01:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.