Ticket #1997 (closed defect: fixed)
fails to start if HAL not installed
| Reported by: | sascha_silbe | Owned by: | sayamindu |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | Read | Version: | Git as of bugdate |
| Severity: | Blocker | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | New |
Description
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>
main.main()
File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/activity/main.py", 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/main.py", line 37, in create_activity_instance
activity = constructor(handle)
File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Read.activity/readactivity.py", line 257, in __init__
self._topbar = TopBar()
File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Read.activity/readtopbar.py", line 185, in __init__
_TopBar.__init__(self)
File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Read.activity/readtopbar.py", line 139, in __init__
'/org/freedesktop/Hal/Manager')
File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/pymodules/python2.5/dbus/connection.py", 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
Note: See
TracTickets for help on using
tickets.
