[Sugar-devel] Testing HTML5 template in latest sugar-build

Daniel Narvaez dwnarvaez at gmail.com
Sun May 26 17:29:12 EDT 2013


As a work around you can apply the patch below, to force always recreating
the virtualenv. Will give me time to make the code more solid. Let me know
if it works or not... if it doesn't then something else entirely is going
on.

diff --git a/osbuild b/osbuild
index f15d02d..320cd36 100755
--- a/osbuild
+++ b/osbuild
@@ -134,10 +134,8 @@ def main():
     else:
         command = "shell"

-    try:
-        changed = check_stamp()
-    except (urllib2.HTTPError, urllib2.URLError):
-        changed = {}
+
+    changed = ["virtualenv", "dnarvaez/osbuild", main_repo]

     if changed:
         print("= Setup the build system =\n")



On 26 May 2013 23:22, <lionel at olpc-france.org> wrote:

> ** **
>
> Mmmm. ****
>
> Same error: “ OSError: [Errno 2] No such file or directory “ :-(****
>
> Can I force the setup of the python directory in stamp?****
>
> ** **
>
>                 Lionel.****
>
> ** **
>
> ** **
>
> *De :* Daniel Narvaez [mailto:dwnarvaez at gmail.com]
> *Envoyé :* dimanche 26 mai 2013 23:14
>
> *À :* Lionel Laské
> *Cc :* sugar-devel at lists.sugarlabs.org
> *Objet :* Re: [Sugar-devel] Testing HTML5 template in latest sugar-build**
> **
>
> ** **
>
> It should be created when you run osbuild the first time. Can you try to
> apply this patch and post the output? I suspect the changes check might be
> failing for you for some reason.
>
> diff --git a/osbuild b/osbuild
> index f15d02d..d175503 100755
> --- a/osbuild
> +++ b/osbuild
> @@ -136,7 +136,8 @@ def main():
>
>      try:
>          changed = check_stamp()
> -    except (urllib2.HTTPError, urllib2.URLError):
> +    except (urllib2.HTTPError, urllib2.URLError), e:
> +        raise e
>          changed = {}
>
>      if changed:****
>
> ** **
>
> On 26 May 2013 23:10, <lionel at olpc-france.org> wrote:****
>
>  ****
>
> No there is no “build/out/sandbox/install” directory.****
>
> When this directory should be created?****
>
>  ****
>
>                 Lionel.****
>
>  ****
>
> *De :* Daniel Narvaez [mailto:dwnarvaez at gmail.com]
> *Envoyé :* dimanche 26 mai 2013 23:07****
>
>
> *À :* Lionel Laské
> *Cc :* sugar-devel at lists.sugarlabs.org
> *Objet :* Re: [Sugar-devel] Testing HTML5 template in latest sugar-build**
> **
>
>  ****
>
> Does build/out/sandbox/install/bin/python exist?****
>
> python should really be the only prereq.****
>
>  ****
>
>
>
>
> --
> Daniel Narvaez****
>



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


More information about the Sugar-devel mailing list