[Debian] Listen does not start

Bug #829001 reported by Bronsky
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Listen
New
Undecided
Unassigned
Debian
Fix Released
Unknown

Bug Description

Hi there,

After an update of my Debian (Linux bronski 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux
), I cannot start Listen anymore. Here is the message I get from the command line:

$ listen --debug 9

INFO library.ListenDatabase 1af2cd0 Loading library...
INFO library.ListenDatabase 1af2cd0 9950 songs loaded in 7 types
INFO library.ListenDatabase 1af2cd0 - unknown_local > 0 songs
INFO library.ListenDatabase 1af2cd0 - unknown > 0 songs
INFO library.ListenDatabase 1af2cd0 - volatile_webradio > 0 songs
INFO library.ListenDatabase 1af2cd0 - webradio > 0 songs
INFO library.ListenDatabase 1af2cd0 - podcast > 28 songs
INFO library.ListenDatabase 1af2cd0 - local > 9922 songs
INFO library.ListenDatabase 1af2cd0 - lastfmradio > 0 songs
INFO library.ListenDatabase 1af2cd0 Finish loading library
INFO widget.source_ui.SourceUI 38baf50 create categorie Informations for <source.lyrics.LyricsItem object at 0x38bbd50>
INFO widget.source_ui.SourceUI 38baf50 create categorie Bibliothèque for <source.local.LocalLibrarySourceItem object at 0x38bb310

Traceback (most recent call last):
  File "listen", line 213, in <module>
    ListenApp()
  File "listen", line 131, in __init__
    self.listen_instance = Listen()
  File "/usr/lib/listen/widget/listen.py", line 135, in __init__
    self.notify = Notify(self.tray)
  File "/usr/lib/listen/widget/notify.py", line 53, in __init__
    if utils.dbus_service_available(bus,interface,True):
  File "/usr/lib/listen/utils.py", line 92, in dbus_service_available
    bus.start_service_by_name(interface)
  File "/usr/lib/python2.6/dist-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.6/dist-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

gstreamer version is 0.10
python version is 2.6.7

cheers

Revision history for this message
Benjamin Danon (sphax3d) wrote :

Hi,

Found a workaround here : http://aur.archlinux.org/packages.php?ID=53637
Create the file [code]/usr/share/dbus-1/services/org.freedesktop.Notifications.service[/code]
with the following content
[code]
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/bin/sh -c 'if [ ! -x /usr/lib/notification-daemon-1.0/notification-daemon ] || [ "$GDMSESSION" = guest-restricted ] || [ "$GDMSESSION" = gnome-classic-guest-restricted ] [ "$GDMSESSION" = default -a "$(basename `readlink /etc/alternatives/x-session-manager`)" = gnome-session ] || [ "$GDMSESSION" = ubuntu ] || [ "$GDMSESSION" = ubuntu-2d ]; then exec /usr/lib/notify-osd/notify-osd; else exec /usr/lib/notification-daemon-1.0/notification-daemon; fi'
[/code]
It works for me.
<3 Listen ;-)

Changed in debian:
status: Unknown → Confirmed
Changed in debian:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.