[IAEP] Learn activity
bert at freudenbergs.de
Tue Jun 19 11:51:47 EDT 2012
So you're talking about this page:
I indeed encountered other issues.
You should warn people that your scripts not only install firefox in /opt, but also modify /usr/lib/python2.7/SimpleHTTPServer.py and /usr/bin/sugar-launch.
You should not tell people that "the USB drive replaces the schoolserver" because the USB is not used at all at runtime. It's simply one way of installing your stuff.
Your setup instructions on the "website" do not work. Besides of the broken formatting, the commands, if typed literally as given, do not work.
They're also outdated. There is no firefox-11.0.tar.bz2 on mozilla.org. Only the current version is available for download (firefox-13.0.1.tar.bz2) but with that, your Firefox.sh would not work.
Running the activity modifies the activity directory (creating symlinks, copying contents etc.). That's verboten (under Rainbow, literally so).
Your activity expects the content in ~/Documents/karma. Your instructions/scripts do not put it there. And if they did, the activity would try to copy the whole content tree on every launch.
Even after I fixed all that manually, it still does not work. The activity itself fails to start and show anything useful. It appears to only launch the web server and Firefox. In a separate window. Not fullscreen. Firefox shows only a directory listing, not the lessons. Quitting Firefox leaves the web server running.
So how is this supposed to work? Don't give me scripts, but explain, please. I jumped through all these hoops because I really wanted to see it working.
- Bert -
On 2012-06-19, at 16:36, Tony Anderson wrote:
> Thanks for pointing this out. We always seem to miss the obvious in documentation.
> The website I am referring to is the one linked from activity page on ASLO.
> This version uses a usb drive to stand in for the school server. The first time Learn is launched it must be connected to the school server to download the initial content. If not, the user gets a message saying it must be connected to the school server. Apparently, this isn't handled correctly when starting without the usb drive (or a school server).
> The webpage linked from the activity screen gives information on how to set up the usb drive. Since Learn wraps Firefox, it needs to be installed. On recent builds with Gnome desktop, Firefox is installed, but Learn works better with versions from 4 up and so needs to be reinstalled. The web page provides scripts to handle all of this, hopefully, for non-developers.
> Please let me know if you encounter other issues.
> On 06/19/2012 03:34 PM, Bert Freudenberg wrote:
>> On 2012-06-18, at 17:00, Tony Anderson wrote:
>>> Today, Version 51 of the Learn activity has been posted to Activities.Sugarlabs.org. This version is intended for use
>>> by deployments to evaluate its usefulness in their context.
>>> It has a separate (45mb) file of content which can be downloaded
>>> from the website. The website also has installation instructions.
>> Which website?
>> When I run this on an XO-1.5 @ 885, it opens a Firefox window (not full-screen) with an error message ("connection error, laptop not registered") and a blank icon in the frame. Additionally, there is the Learn icon in the frame, but clicking it says the activity could not be started.
>> - Bert -
More information about the IAEP