Listen music player doesn't lauch and banshee 100% CPU

Archived topics about LMDE 1 and LMDE 2
Locked
bananalassi

Listen music player doesn't lauch and banshee 100% CPU

Post by bananalassi »

32 bit listen 0.6.5-9 banshee 2.2.1-3

After the last upgrades the Listen music player doesn't launch any more. Starting it in a terminal produces this error:

listen
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.7/dist-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/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

Banshee starts but the CPU load is constantly above 100%

Any idea how to fix this? I have no music player any more :(
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sphax3d

Re: Listen music player doesn't lauch and banshee 100% CPU

Post by sphax3d »

Hi,

Found a workaround here : http://aur.archlinux.org/packages.php?ID=53637
Create the file

Code: Select all

/usr/share/dbus-1/services/org.freedesktop.Notifications.service
with the following content

Code: Select all

[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'
It works for me.
<3 Listen :wink:
Locked

Return to “LMDE Archive”