Opened 14 years ago

Closed 13 years ago

#1997 closed defect (fixed)

fails to start if HAL not installed

Reported by: sascha_silbe Owned by: sayamindu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Read Version: Git as of bugdate
Severity: Blocker Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: New


Read fails to start if HAL is not installed:

Traceback (most recent call last):
  File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity", line 21, in <module>
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 159, in main
    create_activity_instance(activity_constructor, activity_handle)
  File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/", line 37, in create_activity_instance
    activity = constructor(handle)
  File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Read.activity/", line 257, in __init__
    self._topbar = TopBar()
  File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Read.activity/", line 185, in __init__
  File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Read.activity/", line 139, in __init__
  File "/usr/lib/pymodules/python2.5/dbus/", line 244, in get_object
  File "/usr/lib/pymodules/python2.5/dbus/", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.5/dbus/", line 183, in activate_name_owner
  File "/usr/lib/pymodules/python2.5/dbus/", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.5/dbus/", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files

HAL has been deprecated by its own authors so we shouldn't rely on it. It also won't be available in chroots which makes testing Read much harder.

Change History (3)

comment:1 Changed 13 years ago by FrancisCofC

I have confirmed this. I was running the sugar emulator and could not open Read. As soon as I installed Hal with the Synaptic Package Manager I could open Read.

comment:2 Changed 13 years ago by sascha_silbe

There's a patch to fix this, but the new Read maintainer is still too busy to review and merge it. A code review by someone else might speed up the process.

comment:3 Changed 13 years ago by sascha_silbe

  • Resolution set to fixed
  • Status changed from new to closed

Has been fixed as part of 5832d4df.

Note: See TracTickets for help on using tickets.