[Sugar-devel] Error in ./osbuild pull
Daniel Narvaez
dwnarvaez at gmail.com
Fri Feb 14 08:30:00 EST 2014
It's a pretty weird issue, it's not even failing to download the big file,
just a small "last" file which contains the full name of the latest version
of the broot. I'd blame it on a bad internet connection except it has been
reported before... Help debugging would be really appreciated. Please try
to run this a few times
python2 -c "import urllib; print urllib.urlopen('
http://sugarlabs.org/~buildbot/broot/last-x86_64-master').read()"
It should print something like
broot-x86_64-master-19.tar.xz
See if that fails or succeed consistently.
On 14 February 2014 12:31, Ignacio Rodríguez <nachoel01 at gmail.com> wrote:
> As I understand you have a very low connection..
>
> I think in $ sudo broot setup the sugar-build try to download:
> http://sugarlabs.org/~buildbot/broot/ <- any file on this folder..
>
> And if you haven't a good connection it fails (file size ~200mb)
>
> 2014-02-14 8:10 GMT-02:00, Sam Parkinson <sam.parkinson3 at gmail.com>:
> > 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
> >>
> >>
> >
>
>
> --
> Saludos.
> Ignacio Rodríguez
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140214/d6dfecbe/attachment-0001.html>
More information about the Sugar-devel
mailing list