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

Post your update and upgrade related errors here
Forum rules
Before you post please read this

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

Postby bananalassi on Sat Feb 18, 2012 9:29 pm

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 :(
bananalassi
Level 1
Level 1
 
Posts: 2
Joined: Sat Feb 18, 2012 6:08 am

Linux Mint is funded by ads and donations.
 

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

Postby sphax3d on Fri May 04, 2012 4:06 pm

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:
sphax3d
Level 1
Level 1
 
Posts: 1
Joined: Tue Apr 24, 2012 12:17 pm


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 6 guests