olpc-os-builder

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

olpc-os-builder

Jerry Vonau
Hi All:

Is anybody else having trouble running OOB in the last day? I'm now
getting this traceback when trying to run OOB:

 
Reading repository information for
http://mock.laptop.org/repos/local.13.2.0-xo1.75
Reading package information from
http://mock.laptop.org/repos/local.13.2.0-xo1.75/repodata/primary.xml.gz
Reading repository information for
http://mock.laptop.org/repos/local.13.2.0
Reading package information from
http://mock.laptop.org/repos/local.13.2.0/repodata/primary.xml.gz
Traceback (most recent call last):
  File "/opt/git/oob-xs/modules/yumcfg/kspost.50.yumcfg.py", line 29, in
<module>
    fd = ooblib.cachedurlopen(url + "/repodata/primary.xml.gz")
  File "/opt/git/oob-xs/lib/ooblib.py", line 156, in cachedurlopen
    urlfd = urllib2.urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
ERROR: Failure in KspostStage: module yumcfg, part kspost.50.yumcfg.py,
error code 1
 * OLPC OS builder v7.0.0

Just wondering what could be causing this issue for me.

Jerry






_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

James Cameron-2
On Sun, Aug 11, 2013 at 01:45:53PM -0500, Jerry Vonau wrote:
> Is anybody else having trouble running OOB in the last day? I'm now
> getting this traceback when trying to run OOB:

No, olpc-os-builder has worked fine when I tried it this morning on a
similar build.

--
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

Jerry Vonau
On Tue, 2013-08-13 at 09:13 +1000, James Cameron wrote:
> On Sun, Aug 11, 2013 at 01:45:53PM -0500, Jerry Vonau wrote:
> > Is anybody else having trouble running OOB in the last day? I'm now
> > getting this traceback when trying to run OOB:
>
> No, olpc-os-builder has worked fine when I tried it this morning on a
> similar build.
>

It's working for me now also. grrr gremlins ;)

Jerry

_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

James Cameron-2
On Mon, Aug 12, 2013 at 06:44:09PM -0500, Jerry Vonau wrote:

> On Tue, 2013-08-13 at 09:13 +1000, James Cameron wrote:
> > On Sun, Aug 11, 2013 at 01:45:53PM -0500, Jerry Vonau wrote:
> > > Is anybody else having trouble running OOB in the last day? I'm now
> > > getting this traceback when trying to run OOB:
> >
> > No, olpc-os-builder has worked fine when I tried it this morning on a
> > similar build.
> >
>
> It's working for me now also. grrr gremlins ;)

Yes.  I would prefer if olpc-os-builder could operate in two modes;
one where it did all the downloads, and a separate one where it can be
used offline.  This is what I did for mktinycorexo.

--
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

Jerry Vonau
On Tue, 2013-08-13 at 09:48 +1000, James Cameron wrote:

> On Mon, Aug 12, 2013 at 06:44:09PM -0500, Jerry Vonau wrote:
> > On Tue, 2013-08-13 at 09:13 +1000, James Cameron wrote:
> > > On Sun, Aug 11, 2013 at 01:45:53PM -0500, Jerry Vonau wrote:
> > > > Is anybody else having trouble running OOB in the last day? I'm now
> > > > getting this traceback when trying to run OOB:
> > >
> > > No, olpc-os-builder has worked fine when I tried it this morning on a
> > > similar build.
> > >
> >
> > It's working for me now also. grrr gremlins ;)
>
> Yes.  I would prefer if olpc-os-builder could operate in two modes;
> one where it did all the downloads, and a separate one where it can be
> used offline.  This is what I did for mktinycorexo.
>

That is what I was leaning towards when I was looking at doing an
offline mode, like the staged pungi steps in olpc-xs-builder[1]. Use
yumdownloader --resolve to populate and create a single yum repo for use
in the image.

You could fake this by reusing the cache, run createrepo against the
cache directory holding the cache and use a single file:/// yum repo
statement in the ini file, commenting out the online repos. Now that OOB
caches activities just have to stop cleaning out the temp directory
between runs. Think I brought that up when --cacheonly was introduced.

Jerry

1. http://dev.laptop.org/git/projects/olpc-xs-builder/

_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

Daniel Drake-5
In reply to this post by James Cameron-2
On Mon, Aug 12, 2013 at 5:48 PM, James Cameron <[hidden email]> wrote:
> Yes.  I would prefer if olpc-os-builder could operate in two modes;
> one where it did all the downloads, and a separate one where it can be
> used offline.  This is what I did for mktinycorexo.

Try the --cache-only option.

Daniel
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

Martin Langhoff
On Mon, Aug 12, 2013 at 8:53 PM, Daniel Drake <[hidden email]> wrote:
> On Mon, Aug 12, 2013 at 5:48 PM, James Cameron <[hidden email]> wrote:
>> Yes.  I would prefer if olpc-os-builder could operate in two modes;
>> one where it did all the downloads, and a separate one where it can be
>> used offline.  This is what I did for mktinycorexo.
>
> Try the --cache-only option.

+1 :-)



m
--
 [hidden email]
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: olpc-os-builder

James Cameron-2
In reply to this post by Daniel Drake-5
On Mon, Aug 12, 2013 at 06:53:42PM -0600, Daniel Drake wrote:
> On Mon, Aug 12, 2013 at 5:48 PM, James Cameron <[hidden email]> wrote:
> > Yes.  I would prefer if olpc-os-builder could operate in two modes;
> > one where it did all the downloads, and a separate one where it can be
> > used offline.  This is what I did for mktinycorexo.
>
> Try the --cache-only option.

Thanks.  I have.  It used 1482966 bytes.  Then I removed --cache-only and it
used 267537 bytes.  Then I put it back and it used 233312 bytes.  It
is an improvement, but I don't yet know why.  ;-}

--
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel