#11068 NORM Not Tri: olpc-netstatus prints Python/dbus error for Jabber when run as root
Zarro Boogs per Child
bugtracker at laptop.org
Sat Jul 16 01:05:32 EDT 2011
#11068: olpc-netstatus prints Python/dbus error for Jabber when run as root
---------------------------+------------------------------------------------
Reporter: skierpage | Owner: mstone
Type: defect | Status: new
Priority: normal | Milestone: Not Triaged
Component: olpc-netutils | Version: Development build as of this date
Keywords: | Next_action: never set
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
---------------------------+------------------------------------------------
I'm running build 873 (11.2.0 candidate) on XO-1.
If I run olpc-netstatus as root (or equivalently, run `sudo olpc-
netstatus`), it prints my DNS, then there's a pause, then it prints
"Jabber :" (skipping "Telepathy : salut"), then a long delay as it prints
a Python Traceback, then it continues with "XOs : 0".
If I run it as user olpc, there's a delay but no traceback, and it
continues with "XOs : 2". Maybe the command shouldn't be run as root.
The output is
{{{
DNS :
Jabber :
Traceback (most recent call last):
File "/usr/bin/sugar-xos", line 71, in <module>
main()
File "/usr/bin/sugar-xos", line 55, in main
ps = bus.get_object(PRESENCE_SERVICE, PRESENCE_PATH)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in
get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in
__init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in
activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in
start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in
call_blocking
message, timeout)
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/sugar-
presence-service exited with status 1
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/11068>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list