sugar-install-bundle fails to behave like Browse when installing .xol bundle
James Cameron
quozl at laptop.org
Thu Apr 19 20:07:54 EDT 2018
Your bundle does not meet the requirements.
I've downloaded it, and sugar-install-bundle says what is wrong;
sugar3.bundle.bundle.MalformedBundleException: All files in the bundle
must be inside a single directory whose name ends with '.activity'
Sure enough, "unzip -l" shows the directory name does not end with
'.activity'.
$ unzip -l livr*
Archive: livreshaiti.xol
Length Date Time Name
--------- ---------- ----- ----
0 2013-12-15 13:58 livreshaiti/
935794 2013-12-15 13:14 livreshaiti/chita_pa_bay.pdf
345 2013-12-15 14:04 livreshaiti/index.html
0 2013-12-15 13:32 livreshaiti/library/
434 2008-03-24 11:04 livreshaiti/library/books.png
293 2013-12-15 14:02 livreshaiti/library/library.info
1286434 2013-12-15 13:15 livreshaiti/st_exupery_le_petit_prince.pdf
--------- -------
2223300 7 files
On Wed, Apr 11, 2018 at 12:12:17PM -0400, Adam Holt wrote:
> Clicking on http://download.unleashkids.org/HaitiOS/bundles/livreshaiti.xol
> works in Sugar's Browse activity on OLPC OS 13.2.9, correctly loading books
> into Sugar.
>
> However doing the same thing from the command-line ("sugar-install-bundle
> livreshaiti.xol") does not work :/
>
> Does anyone have any tricks/ideas to making this happen programmatically?
>
> (Context: we're mostly doing XO-1.5 work at the moment, and our scripts need to
> work post-deployment, as educators seek continuous improvement.)
>
> References:
>
> [1] http://download.unleashkids.org/HaitiOS/bundles/livreshaiti.xol
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
--
James Cameron
http://quozl.netrek.org/
More information about the Devel
mailing list