Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161139 - media-sound/quodlibet-0.24 exception on start "org.freedesktop.Hal: no such name"
Summary: media-sound/quodlibet-0.24 exception on start "org.freedesktop.Hal: no such n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 15:22 UTC by Alexander Zubkov
Modified: 2007-01-09 20:48 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 Alexander Zubkov 2007-01-09 15:22:19 UTC
After updating quodlibet to version 0.24 it fails to start:
-----------------------------------------------------------
$ quodlibet 
Supported formats: mod, mp3, mp4, mpc, trueaudio, wav, xiph
Loaded song library.
Opening audio device.
Traceback (most recent call last):
  File "/usr/bin/quodlibet", line 301, in ?
    main()
  File "/usr/bin/quodlibet", line 45, in main
    window = widgets.init(player, library)
  File "/usr/share/quodlibet/widgets.py", line 79, in init
    Kind.init(library)
  File "/usr/share/quodlibet/browsers/media.py", line 146, in init
    devices._hal.connect_to_signal(
  File "//usr/lib/python2.4/site-packages/dbus/_dbus.py", line 291, in connect_to_signal
    self._obj.connect_to_signal(signal_name, handler_function, dbus_interface, **keywords)
  File "//usr/lib/python2.4/site-packages/dbus/proxies.py", line 151, in connect_to_signal
    path=self._object_path,
  File "//usr/lib/python2.4/site-packages/dbus/_dbus.py", line 179, in add_signal_receiver
    named_service = bus_object.GetNameOwner(named_service, dbus_interface='org.freedesktop.DBus')
  File "//usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in __call__
    ret = self._proxy_method (*args, **keywords)
  File "//usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: Could not get owner of name 'org.freedesktop.Hal': no such name
-----------------------------------------------------------
I think it does not like the absence of HAL. And incorrectly handles (or does not handle at all) this situation.

This is my USE-flags for quodlibet:
media-sound/quodlibet-0.24  USE="aac alsa dbus flac mad mmkeys musepack trayicon vorbis -esd -gnome -oss"
sys-apps/dbus-1.0.2  USE="X doc -debug (-selinux)"

"USE=-dbus emerge quodlibet" does not help.
Comment 1 Alexis Ballier gentoo-dev 2007-01-09 20:48:44 UTC
Hmm it doesn't catch the exception thrown when hal is not running. I've bumped to -r1 with a patch that catches it. I'll try to handle that with upstream.

Thanks for reporting !