[Sugar-devel] [Server-devel] 13.2.5 simple tests

Tony Anderson tony_anderson at usa.net
Sat Jul 18 09:07:13 EDT 2015


Curiouser and curiouser.

I downloaded slides-2.xo from activities.sugarlabs.org and moved it to 
the XO-1.75. A diff between this file and the original showed no 
difference. The file size
is identical. The md5sum is identical. However, sugar-install-bundle 
installed the new one with no problem.

Tony

On 07/18/2015 09:47 AM, James Cameron wrote:
> On Sat, Jul 18, 2015 at 09:29:46AM +0200, Tony Anderson wrote:
>> Hi, James
>>
>> No need to erase the activity, no installation occurred.
>>
>> Repeated the install with the following result:
>>
>> error:  zipfile read error
>> file #6:  bad zipfile offset (EOF):  14482
>> error:  zipfile read error
>> file #7:  bad zipfile offset (EOF):  14674
>> error:  zipfile read error
>> file #8:  bad zipfile offset (EOF):  14996
>> error:  zipfile read error
>> file #9:  bad zipfile offset (EOF):  15302
>> error:  zipfile read error
>> file #10:  bad zipfile offset (EOF):  15502
> The file is corrupt.
>
>>    inflating: /home/olpc/Activities/Slides.activity/css/activity.sass
>>    inflating: /home/olpc/Activities/Slides.activity/css/themes/black.css
>>    inflating: /home/olpc/Activities/Slides.activity/css/themes/black.sass
>>    inflating: /home/olpc/Activities/Slides.activity/css/themes/default.css
>>    inflating: /home/olpc/Activities/Slides.activity/css/themes/default.sass
>>    inflating: /home/olpc/Activities/Slides.activity/css/themes/flat.css
>>    inflating: /home/olpc/Activities/Slides.activity/css/themes/flat.sass
>>    inflating:
>> /home/olpc/Activities/Slides.activity/css/themes/handwritten.css
>>    inflating:
>> /home/olpc/Activities/Slides.activity/css/themes/handwritten.sass
>>    inflating: /home/olpc/Activities/Slides.activity/dist/Slides-1.xo
>> error:  zipfile read error
>> ERROR:root:No bundle in '/home/olpc/Activities/Slides.activity'
>> Traceback (most recent call last):
>>    File "/usr/bin/sugar-install-bundle", line 25, in <module>
>>      registry.install(bundle, force_downgrade=True)
>>    File
>> "/usr/lib/python2.7/site-packages/jarabe/model/bundleregistry.py",
>> line 481, in install
>>      raise result[0]
>> sugar3.bundle.bundle.ZipExtractException
>>
>> Note: slides-2.xo matches your file size and md5.
> Perhaps you checked another copy of the file?  Check the copy you are
> trying to install.  I think it has become corrupt between when you
> checked it and when you tried to use it.  Or you have faulty memory on
> that laptop.
>
> It has worked fine for me twice now, no such error.
>
> @Sam, slides-1.xo is inside slides-2.xo, but my guess is that it has
> nothing to do with this error.
>



More information about the Sugar-devel mailing list