[Sugar-devel] D-Bus daemon problem

Tony Anderson tony_anderson at usa.net
Mon Sep 24 18:21:26 EDT 2012


Hi,

The following code:

client = gconf.client_get_default()
role = client.get_string('/desktop/sugar/user/role')

raises an exception:

<class 'glib.GError', GError('No D-BUS daemon running\n'

I am setting a gconf parameter: role to indicate whether a student is 
'staff', or in grade 4, 5, or 6.

The entry is set in /home/olpc/.gconf/desktop/sugar/user/%gconf.xml.

This is using 0.96. This worked in 0.94.

Yours,

Tony


More information about the Sugar-devel mailing list