[Server-devel] [UKids] Re: [XSCE] Internet-in-a-Box 6.4 is 79% Complete according to GitHub :-)

Adam Holt holt at laptop.org
Fri Sep 22 10:16:10 EDT 2017


Thanks César Natarén for confirming KA Lite's server to download
exercises+assessments is once again working today:

https://github.com/iiab/iiab/issues/264
https://github.com/iiab/iiab/issues/257

(The fact that KA Lite's server was unavailable for downloads 2 days out of
the last 4 is indeed very worrisome.  We really do need a better way to
trap such commonplace glitches, so that newcomers are not completely
overwhelmed by poorly explained Big Red Errors!)


On Sep 22, 2017 12:50 AM, "James Cameron" <quozl at laptop.org> wrote:

There will always be connection failures, and they aren't always the
fault of learningequality.org.  Locally broken WiFi can do it too.

Ask ka-lite team to add retry when the download is obviously not a Zip
file, or to retry anyway.

They've certainly had problems with content pack downloads.

On Fri, Sep 22, 2017 at 12:37:23AM -0400, Adam Holt wrote:
> On Thu, Sep 21, 2017 at 11:59 PM, Rick Castorani <[1]rcastorani at gmail.com>
> wrote:
>
>     The script just finished installing on an RPI 3. Ran into a kalite
error on
>     the last command from [2]download.iiab.io/6.4/rpi/load-vpn.txt
>
>     See error in attachment (sorry for the pic, ran script locally on the
pi).
>     Pi did not reboot due to the error.​
>     [3] IMG_20170921_215647.jpg
>
> Thanks Rick for speaking for everyone (not just Internet-in-a-Box
implementers,
> but all KA Lite users) facing this together!
>
> Your Internet-in-a-Box install is 100% complete (feel free to reboot!)
but yeah
> we need to do better explaining this extreme annoyance to newcomers --
just
> like on Monday / Sept 18 -- when KA Lite's servers were similarly
> misconfigured-or-down for almost the entire day.
>
> Meaning nobody can auto-install KA Lite's (mandatory to use the product!)
> English assessments/exercises content pack from the GUI ([4]
http://box:8008 ->
> Login -> Manage tab -> Language tab) *or* from the command line...as you
> basically did with "kalite manage retrievecontentpack download en".  For
now
> all we can do is wait until KA Lite's web server(s) come back online
properly.
>
> But those who can help KA Lite & all of us nail what to do about KA Lite's
> sometimes unreliable servers please do post to:
>
> [5]https://github.com/iiab/iiab/issues/264 "kalite manage
retrievecontentpack
> download en" fails on new install (bad zip file?)
> [6]https://github.com/iiab/iiab/issues/257 "kalite manage
retrievecontentpack
> download en" fails nightly
> [7]https://github.com/learningequality/ka-lite/issues
>
> Error posted here, a bit more readably than Rick's photo:
>
> [INFO] [2017-09-21 22:03:37,292] kalite: Downloading content pack from
[8]http:
> //pantry.learningequality.org/downloads/ka-lite/0.17/content/contentpacks/
> en.zip
> Traceback (most recent call last):
>   File "/usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/
> packages/bundled/django/core/management/base.py", line 224, in
run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/
> packages/bundled/fle_utils/django_utils/command.py", line 141, in execute
>     super(LocaleAwareCommand, self).execute(*args, **kwargs)
>   File "/usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/
> packages/bundled/django/core/management/base.py", line 263, in execute
>     output = self.handle(*args, **options)
>   File "/usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/
> distributed/management/commands/retrievecontentpack.py", line 90, in
handle
>     self.download(*args, **options)
>   File "/usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/
> distributed/management/commands/retrievecontentpack.py", line 147, in
download
>     zf = download_content_pack(f, lang)
>   File "/usr/local/kalite/venv/local/lib/python2.7/site-packages/ka
lite/i18n/
> base.py", line 398, in download_content_pack
>     zf = zipfile.ZipFile(fobj)
>   File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
>     self._RealGetContents()
>   File "/usr/lib/python2.7/zipfile.py", line 813, in _RealGetContents
>     raise BadZipfile, "File is not a zip file"
> BadZipfile: File is not a zip file
>
>     On Thu, Sep 21, 2017 at 9:39 PM, Adam Holt <[9]holt at laptop.org> wrote:
>
>         61 Issues/Pull Requests closed with 16 to go:
>
>            [10]https://github.com/iiab/iiab/milestone/1
>
>         Equating to m-a-s-s-i-v-e progress over the past week
alone...hence
>         [11]Release Candidate 2 released earlier today!
>
>         Please all who can try out our new 1-liner install scripts on
Raspberry
>         Pi here, as we now enter our near-final-test phase:
>
>            [12]http://download.iiab.io/6.4/rpi/
>
>         Thank You All !!
>
>         --
>         Unsung Heroes of OLPC, interviewed live @ [13]
http://unleashkids.org !
>
>     --
>     Unsung Heroes of OLPC, interviewed live @ [14]http://unleashkids.org !
>     ---
>     You received this message because you are subscribed to the Google
Groups
>     "Unleash Kids" group.
>     To unsubscribe from this group and stop receiving emails from it,
send an
>     email to [15]unleashkids+unsubscribe at googlegroups.com.
>     For more options, visit [16]https://groups.google.com/d/optout.
>
>     --
>     Unsung Heroes of OLPC, interviewed live @ [17]http://unleashkids.org !
>
> References:
>
> [1] mailto:rcastorani at gmail.com
> [2] http://download.iiab.io/6.4/rpi/load-vpn.txt
> [3] https://drive.google.com/file/d/10jhRj47EEpjSWL8MR7JHgJDOkfy
8LMBMIg/view?usp=drive_web
> [4] http://box:8008/
> [5] https://github.com/iiab/iiab/issues/264
> [6] https://github.com/iiab/iiab/issues/257
> [7] https://github.com/learningequality/ka-lite/issues
> [8] http://pantry.learningequality.org/downloads/ka-lite/0.17/co
ntent/contentpacks/en.zip
> [9] mailto:holt at laptop.org
> [10] https://github.com/iiab/iiab/milestone/1
> [11] https://github.com/iiab/iiab/releases/
> [12] http://download.iiab.io/6.4/rpi/
> [13] http://unleashkids.org/
> [14] http://unleashkids.org/
> [15] mailto:unleashkids+unsubscribe at googlegroups.com
> [16] https://groups.google.com/d/optout
> [17] http://unleashkids.org/

> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel


--
James Cameron
http://quozl.netrek.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20170922/ad532120/attachment-0001.html>


More information about the Server-devel mailing list