I did as you suggested johny and now the program starts fine. However when i try to play any stream i get the following:
Code: Select all
['genre', 'organization', 'station']
{'genre': u'Classic Rock', 'organization': u'Planet Rock', 'station': 'Planet Rock'}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/radiotray/AudioPlayerGStreamer.py", line 145, in on_message
self.eventManager.notify(EventManager.STATE_CHANGED, {'state':'playing', 'station':station})
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/lib/python2.7/dist-packages/radiotray/NotificationManager.py", line 35, in on_state_changed
self.eventManagerWrapper.notify(_('Radio Tray Playing'), station)
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventMngNotificationWrapper.py", line 31, in notify
self.eventManager.notify(self.eventManager.NOTIFICATION, {'title': title, 'message':message})
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 54, in on_notification
self.notify(data['title'], data['message'])
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 71, in notify
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
['genre', 'organization', 'station']
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/radiotray/AudioPlayerGStreamer.py", line 160, in on_message
self.eventManager.notify(EventManager.SONG_CHANGED, metadata)
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/lib/python2.7/dist-packages/radiotray/NotificationManager.py", line 56, in on_song_changed
self.eventManagerWrapper.notify(msgTitle, msg)
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventMngNotificationWrapper.py", line 31, in notify
self.eventManager.notify(self.eventManager.NOTIFICATION, {'title': title, 'message':message})
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 54, in on_notification
self.notify(data['title'], data['message'])
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 77, in notify
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/radiotray/AudioPlayerGStreamer.py", line 137, in on_message
self.eventManager.notify(EventManager.STATION_ERROR, {'error':debug})
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/lib/python2.7/dist-packages/radiotray/NotificationManager.py", line 60, in on_station_error
self.eventManagerWrapper.notify(_('Radio Error'), str(data['error']))
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventMngNotificationWrapper.py", line 31, in notify
self.eventManager.notify(self.eventManager.NOTIFICATION, {'title': title, 'message':message})
File "/usr/lib/python2.7/dist-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 54, in on_notification
self.notify(data['title'], data['message'])
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 77, in notify
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
@AndrewS, I think i understand you, i think it is acceptable to alter a .py program once it is installed so i opened /usr/share/pyshared/radiotray/RadioTray.py and changed line 130 (&133) as you mentioned but still the same so i changed it back again.
Thanks for the help so far, Hiro.