[Sugar-devel] sugar-build without chroot

Daniel Narvaez dwnarvaez at gmail.com
Thu Jul 18 13:36:10 EDT 2013


It seems like you are running a mix of master and chroot branch code. Did
you start from a clean clone or run osbuild clean before switching branch?
(Hope I remembered to suggest that in my emails).

I'm trying to figure out how to make the "upgrade" automatic or at least
more obvious, but it's tricky.

On Thursday, 18 July 2013, Gonzalo Odiard wrote:

> If I have a file prefs.json with {"use_broot": false}
> as suggested to not use chroot,
> get the following error:
>
> [gonzalo at localhost sugar-build]$ ./osbuild build
> Traceback (most recent call last):
>   File "/home/gonzalo/sugar-build-multiselection/build/commands/build",
> line 4, in <module>
>     common.run("build")
>   File
> "/home/gonzalo/sugar-build-multiselection/build/commands/common.py", line
> 76, in run
>     if not getattr(main, "cmd_%s" % command)():
>   File
> "/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/main.py",
> line 123, in cmd_build
>     result = run_build(clean_all=args.clean_all)
>   File
> "/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/main.py",
> line 41, in run_build
>     if not build.pull(lazy=True):
>   File
> "/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/build.py",
> line 50, in pull
>     for module in config.load_modules():
>   File
> "/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/config.py",
> line 186, in load_modules
>     return [Module(info) for info in filter(_filter_if, json.load(f))]
>   File
> "/home/gonzalo/sugar-build-multiselection/build/out/sandbox/install/lib/python2.7/site-packages/osbuild/config.py",
> line 220, in _filter_if
>     return eval(item["if"], globals)
>   File "<string>", line 1, in <module>
> NameError: name 'gnome_version' is not defined
>
>

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


More information about the Sugar-devel mailing list