Announcing OLPC OS 13.2.3 for XO-1.75 and XO-4

James Cameron quozl at laptop.org
Sun Mar 29 23:23:48 EDT 2015


On Mon, Mar 30, 2015 at 12:14:13AM -0300, Gonzalo Odiard wrote:
> I have added version 0.104 to aslo. 
> Do you have a different result now?

No.

My guess is that activities are not marked as compatible with 0.104.

Example:

% wget -q -O - 'http://activities.sugarlabs.org/services/update-aslo.php?id=org.laptop.Terminal&appVersion=0.104' && echo
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"></RDF:RDF>

% wget -q -O - 'http://activities.sugarlabs.org/services/update-aslo.php?id=org.laptop.Terminal&appVersion=0.102' && echo
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"><RDF:Description about="urn:mozilla:extension:org.laptop.Terminal">
    <em:updates>
        <RDF:Seq>
            <RDF:li resource="urn:mozilla:extension:org.laptop.Terminal:43"/>
        </RDF:Seq>
    </em:updates>
</RDF:Description>

<RDF:Description about="urn:mozilla:extension:org.laptop.Terminal:43">
    <em:version>43</em:version>
    <em:targetApplication>
        <RDF:Description>
            <em:id>{3ca105e0-2280-4897-99a0-c277d1b733d2}</em:id>
            <em:minVersion>0.98</em:minVersion>
            <em:maxVersion>0.102</em:maxVersion>
            <em:updateLink>http://download.sugarlabs.org/activities/4043/terminal-43.xo</em:updateLink>
            <em:updateSize>169</em:updateSize>
            <em:updateInfoURL>http://activities.sugarlabs.org/versions/updateInfo/32045/%APP_LOCALE%/</em:updateInfoURL>
            <em:updateHash>sha256:bc62d0fe1e85dd96291d88ccd1286fe56f386c2eed4ecffcde62f762f0851618</em:updateHash>
        </RDF:Description>
    </em:targetApplication>
</RDF:Description></RDF:RDF>


> 
> Gonzalo
> 
> On Sun, Mar 29, 2015 at 11:48 PM, James Cameron <[1]quozl at laptop.org> wrote:
> 
>     On Wed, Mar 25, 2015 at 10:05:12AM -0400, Walter Bender wrote:
>     > (2) When I went to the CP section to update, the progress-bar filled
>     > in completely, but then it sat, with no indication of whether or not
>     > everything was up-to-date. Nothing in the logs.
> 
>     Packet tracing shows it is contacting [2]activities.sugarlabs.org, using
>     the aslo.py backend, but ASLO doesn't know about 0.104, and gives
>     empty XML responses.
> 
>     The download complete callback also fails, because the result passed
>     by the downloader does not have a method get_data:
> 
>         AttributeError: 'Bytes' object has no attribute 'get_data'
> 
>     After reconfiguring to use the microformat updater, the same message
>     occurs.
> 
>     This message may be because an older version of libsoup is being
>     used in this Fedora 18 build.  A fix may be to backport to Fedora 18
>     Daniel Drake's change to src/jarabe/util/downloader.py
> 
>     [3]https://github.com/sugarlabs/sugar/commit/
>     d43b926ffbe61da2400395be1fa09c0a5bc52892#
>     diff-4292575b2bd601c8467f96df5d516dc5
> 
>     To reconfigure to use the microformat updater:
> 
>     {{{
>     su
>     cat >> /usr/share/glib-2.0/schemas/sugar.oob.gschema.override << EOF
>     [org.sugarlabs.update]
>     backend='microformat.MicroformatUpdater'
>     microformat-update-url='[4]http://wiki.laptop.org/go/Activities/13.2.3'
>     EOF
>     /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
>     service olpc-dm restart
>     }}}
> 
>     --
>     James Cameron
>     [5]http://quozl.linux.org.au/
>     _______________________________________________
>     Devel mailing list
>     [6]Devel at lists.laptop.org
>     [7]http://lists.laptop.org/listinfo/devel
> 
> --
> Gonzalo Odiard
> 
> SugarLabs - Software for children learning 
> 
> References:
> 
> [1] mailto:quozl at laptop.org
> [2] http://activities.sugarlabs.org/
> [3] https://github.com/sugarlabs/sugar/commit/d43b926ffbe61da2400395be1fa09c0a5bc52892#diff-4292575b2bd601c8467f96df5d516dc5
> [4] http://wiki.laptop.org/go/Activities/13.2.3
> [5] http://quozl.linux.org.au/
> [6] mailto:Devel at lists.laptop.org
> [7] http://lists.laptop.org/listinfo/devel

-- 
James Cameron
http://quozl.linux.org.au/



More information about the Devel mailing list