[Sugar-devel] gsettings in sugar-build

Daniel Narvaez dwnarvaez at gmail.com
Wed Mar 19 11:43:37 EDT 2014


Went back and reread your email... It's actually intentional that check
starts from a clean state every time, why is that a problem? Also why do
you think gsettings are not working properly in run?

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

> On Wed, Mar 19, 2014 at 11:30 AM, Daniel Narvaez <dwnarvaez at gmail.com<javascript:;>>
> wrote:
> > 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
>
> dconf-0.18.0-2
>
> >
> >
> > On Wednesday, 19 March 2014, Walter Bender <walter.bender at gmail.com<javascript:;>>
> 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
> >
>
>
>
> --
> 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/5b36ed6f/attachment.html>


More information about the Sugar-devel mailing list