[Sugar-devel] Error in ./osbuild pull

Sam Parkinson sam.parkinson3 at gmail.com
Fri Feb 14 05:10:14 EST 2014


Hi Yogesh,

I'm not exactly sure what is going wrong, all the people who know about
this are probably sleeping since it is 2am where they are :)

I'm looking at my build environment and there must have been some changes
in the new version; I can't find the code at exactly the same place.

I would have 3 (dumb) suggestions that might be worth a try:

    1. Try Again :) Maybe someone was upgrading the server or your internet
was dropping out

    2. Add a logging call so we can get some idea what is happening. Maybe
in File "/home/yogesh/sugar-build/build/out/sandbox-host/
install/local/lib/python2.7/site-packages/broot/root.py", line 281, in
_download put

            print 'Trying to get url', last_url

        You could ping that url and see what happens?

    3. (DUMB) Try git reverting or whatever to an older version on
sugar-build?

Sam


On Fri, Feb 14, 2014 at 6:09 PM, Yogesh Maheshwari <yogicxl at gmail.com>wrote:

> Hi,
> I tried to follow instruction from the link
>  http://developer.sugarlabs.org/dev-environment.md.html
>  I am getting the following errors:
> output after ./osbuild pull:
>
> = Setup the host build system =
>
> * Create the python virtualenv
> * Install python packages
> * Pull latest sugar-build
> * Setup the build root
>
> $ sudo broot setup
> Traceback (most recent call last):
>   File
> "/home/yogesh/sugar-build/build/out/sandbox-host/install/bin/broot", line
> 5, in <module>
>     main.main()
>   File
> "/home/yogesh/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/main.py",
> line 80, in main
>     if not cmd_function(options, other_args):
>   File
> "/home/yogesh/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/main.py",
> line 40, in cmd_setup
>     return root.setup()
>   File
> "/home/yogesh/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/root.py",
> line 237, in setup
>     if not self._download():
>   File
> "/home/yogesh/sugar-build/build/out/sandbox-host/install/local/lib/python2.7/site-packages/broot/root.py",
> line 281, in _download
>     last = urllib2.urlopen(last_url).read().strip()
>   File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/usr/lib/python2.7/urllib2.py", line 404, in open
>     response = self._open(req, data)
>   File "/usr/lib/python2.7/urllib2.py", line 422, in _open
>     '_open', req)
>   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error [Errno 110] Connection timed out>
>
> = Pulling =
>
> * Pulling automake
> * Pulling gwebsockets
> * Pulling sugar-docs
> * Pulling sugar-base
> * Pulling sugar-toolkit
> * Pulling sugar-toolkit-gtk3
> * Pulling sugar
> * Pulling sugar-artwork
> * Pulling sugar-datastore
> * Pulling sugar-runner
> * Pulling webL10n
> * Pulling sugar-web
> * Pulling sugar-web-test
> * Pulling sugar-web-template
> * Pulling docker
> * Pulling browse
> * Pulling write
> * Pulling chat
> * Pulling read
> * Pulling log
> * Pulling terminal
> * Pulling pippy
> * Pulling imageviewer
> * Pulling jukebox
> * Pulling turtleart
> * Pulling clock-web
> * Pulling gtd-activity
>
> and after ./osbuild shell
> $ sudo broot run osbuild shell
> You must create or download the build root first.
>
> ! Failed to run command shell
>
>
> Please help me out.
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140214/b181376f/attachment.html>


More information about the Sugar-devel mailing list