Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475642 - media-radio/radiotray - dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Summary: media-radio/radiotray - dbus.exceptions.DBusException: org.freedesktop.DBus.E...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 17:59 UTC by spyder
Modified: 2013-09-13 23:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spyder 2013-07-03 17:59:22 UTC
radiotray does not start if the dbus is not build with X use flag and gives the following error:

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 15, in <module>
    radiotray.main(sys.argv[1:])
  File "/usr/lib64/python2.7/site-packages/radiotray/radiotray.py", line 37, in main
    RadioTray()
  File "/usr/lib64/python2.7/site-packages/radiotray/RadioTray.py", line 108, in __init__
    dbus = DbusFacade(self.provider, self.mediator)
  File "/usr/lib64/python2.7/site-packages/radiotray/DbusFacade.py", line 31, in __init__
    bus_name = dbus.service.BusName('net.sourceforge.radiotray', bus=dbus.SessionBus())
  File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-09-13 23:59:15 UTC
Thanks for the report and for debugging this. I added the missing sys-apps/dbus[X] dependency.

+  13 Sep 2013; Markos Chandras <hwoarang@gentoo.org> radiotray-0.7.2.ebuild,
+  radiotray-0.7.3-r2.ebuild, radiotray-9999.ebuild:
+  Add missing sys-apps/dbus[X] dependency per bug #475642
+