[Sugar-devel] gsettings in sugar-build

Daniel Narvaez dwnarvaez at gmail.com
Wed Mar 19 12:00:52 EDT 2014


And would

2.5) osbuild run

work properly? If so, it sounds most likely like a sugar-build bug, check
should use a completely separated profile.

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

> On Wed, Mar 19, 2014 at 11:43 AM, Daniel Narvaez <dwnarvaez at gmail.com<javascript:;>>
> wrote:
> > 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?
>
> Maybe the problem is only in the cpsection code. But try the following:
>
> (1) osbuild run
> (2) set nick in cpsection/aboutme
> (3) osbuild check sugar
> (4) osbuild run
> (5) check user name
>
> The user name will be Walter Bender, which is the last name in the
> series of set_nick calls in check.
>
> -walter
> >
> >
> > On Wednesday, 19 March 2014, Walter Bender <walter.bender at gmail.com<javascript:;>>
> 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
> >
>
>
>
> --
> 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/fd7f4c10/attachment.html>


More information about the Sugar-devel mailing list