[Testing] Software update problems in OLPC 10.1.3

Simon Schampijer simon at schampijer.de
Tue Jan 11 11:16:12 EST 2011


On 01/10/2011 09:30 PM, Simon Schampijer wrote:
> On 01/09/2011 04:38 AM, S Page wrote:
>> Summary: Software update of Help keeps failing; python errors checking
>> some activities; misleading output.
>>
>> My XO-1 was up-to-date against the Activities/G1G1Lite group for
>> 10.1.2 before the olpc-upgrade to build 360.  On reboot I was prompted
>> to run Software update (nice!), it updated several activities, but
>> then offered to upgrade two activities.  I thought this was a second
>> step so didn't pay attention to what activities they were and clicked
>> [Install selected].  Now Software update keeps offering to upgrade
>> Help from version 11 to 12.  ~olpc/Activities has a Help from
>> 2009-12-12 whose activity.info says activity_version=11 and there is a
>> Help v.12 available, so it seems Software update does have something
>> to do but fails.
>>
>> I have accumulated various activities over time, particularly from the
>> glitch in updating to 10.1.2 where I got the big set of activities for
>> XO-1.5 before I changed to the G1G1Lite activity group.  I had removed
>> some of those.
>>
>> I followed http://wiki.laptop.org/go/Software_update#Debugging_the_updater,
>>
>>
>> $ sugar-control-panel -s install_update Help
>>
>> This was very slow checking some activities such as Help, Measure and
>> Analyze, printing a "XX%" progress indicator
>>
>> == Misleading output ==
>> I note again that the URL that Software update claims that it's
>> checking is wrong.  It says "Fetching
>> http://wiki.laptop.org/go/Activities/G1G1Lite" but it's actually
>> fetching something like
>> http://wiki.laptop.org/go/Activities/G1G1Lite/10.1.3 . I already filed
>> http://dev.laptop.org/ticket/10321
>>
>> == Python errors checking some activities ==
>> Software update prints python traceback errors, for Physics, Colors,
>> Words, Ruler, Firefox, Stopwatch.  All are the same:
>>
>> Checking ACTIVITY_NAME
>> Failure updating ACTIVITY_NAME none none
>> ...  in _retrieve_update_version... in only_best_update, in __lt__, ...
>> sugar/bundle/bundleversion.py line 135, in _cannot_compare
>>     % (Type(self). __name__, type(other).__name__))
>> TypeError: Can not compare NormalizedVersion and str
>>
>> I think these are installed activities that aren't in the G1G1Lite
>> activity group.
>
> Does the full output say anything about which activities failed? Or do
> you maybe have a hint which activity is might be? I tried here with a
> vanilla system (852--->860) and could not reproduce the error.
>
> Thanks,
>      Simon

I can reproduce it now, filed as #10600

Thanks for mentioning,
    Simon


More information about the Testing mailing list