[Bugs] #1997 UNSP: fails to start if HAL not installed
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sat May 15 18:30:32 EDT 2010
#1997: fails to start if HAL not installed
------------------------------------------+---------------------------------
Reporter: sascha_silbe | Owner: sayamindu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Read | Version: Git as of bugdate
Severity: Blocker | Keywords:
Distribution: Unspecified | Status_field: 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>
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
[http://lists.freedesktop.org/archives/hal/2008-May/011560.html
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.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1997>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list