[Sugar-devel] gsettings in sugar-build

Daniel Narvaez dwnarvaez at gmail.com
Wed Mar 19 11:30:45 EDT 2014


On a phone so I can't look very deeply into this right now... Maybe we are
using the in memory gsettings backend... Can you check if dconf is
installed inside the broot?

./osbuild shell
rpm -qa | grep dconf

On Wednesday, 19 March 2014, Walter Bender <walter.bender at gmail.com> wrote:

> In trying to fix a problem with sugar/tests/test-user-profile.py I
> have bumped into a strange situation regarding gsettings. Perhaps you
> can comment?
>
> The bug is that the test does not preserve/restore the original
> settings, so I added a setup and teardown to do just that.
>
> But what I am finding is that reading from gsettings (or the model in
> cpsection/aboutme) doesn't give me the same values when using check vs
> run.
>
> Well, not exactly. I can set values in the control panel and they are
> preserved between sessions. But these values are not seen by check. So
> new default values are set. I suspect that run is getting its data
> from gconf and that the gsettings are not actually being set properly
> in either check or run.
>
> Where are the gsettings stored by sugar-build? I cannot find them.
>
> thx.
>
> -walter
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>


-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140319/7523538e/attachment.html>


More information about the Sugar-devel mailing list