[Sugar-devel] Testing HTML5 template in latest sugar-build
Daniel Narvaez
dwnarvaez at gmail.com
Mon May 27 06:10:57 EDT 2013
Made various other improvements. Man, auto updating is annoyingly hard to
get right :( It should now also handle github rate limiting better, in case
that was your problem.
I would be really grateful if you could try
git clean -ffdx
./osbuild
And post the *full* output. I'm not sure what is going on exactly in your
case but I would really like to understand it.
On 27 May 2013 01:12, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> I've also fixed a bug, but I'd not expect to affect your issue since it
> should only happen with an unclean repo.
>
>
> On 26 May 2013 23:46, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>
>> Btw, I added better error messages. When you have a chance I'd appreciate
>> the full output from an unpatched latest master clone.
>>
>>
>> On 26 May 2013 23:29, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>>
>>> 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
>>>
>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>
>
> --
> Daniel Narvaez
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130527/88c8183b/attachment.html>
More information about the Sugar-devel
mailing list