Re: [IAEP] Learn activity

2012-06-19 Thread Bert Freudenberg
On 2012-06-18, at 17:00, Tony Anderson wrote:

 Hello,
 
 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 -


___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Learn activity

2012-06-19 Thread Bert Freudenberg
So you're talking about this page:

http://wiki.sugarlabs.org/go/Activities/Learn

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:

 Hi,
 
 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.
 
 Thanks,
 
 Tony
 
 On 06/19/2012 03:34 PM, Bert Freudenberg wrote:
 On 2012-06-18, at 17:00, Tony Anderson wrote:
 
 Hello,
 
 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 -
 
 
 .
 
 

___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Learn activity

2012-06-19 Thread Caryl Bigenho

I think there may be a way to set up an SD card to be used at runtime by 
pointing to it in the Journal where items appear as if they were actually on 
the XO. This should also work with an usb drive. I was walked through the 
procedure by Scott D

 From: b...@freudenbergs.de
 Date: Tue, 19 Jun 2012 17:51:47 +0200
 To: tony_ander...@usa.net
 CC: iaep@lists.sugarlabs.org
 Subject: Re: [IAEP] Learn activity
 
 So you're talking about this page:
 
   http://wiki.sugarlabs.org/go/Activities/Learn
 
 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:
 
  Hi,
  
  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.
  
  Thanks,
  
  Tony
  
  On 06/19/2012 03:34 PM, Bert Freudenberg wrote:
  On 2012-06-18, at 17:00, Tony Anderson wrote:
  
  Hello,
  
  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 -
  
  
  .
  
  
 
 ___
 IAEP -- It's An Education Project (not a laptop project!)
 IAEP@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/iaep
  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

[IAEP] FW: Learn activity

2012-06-19 Thread Caryl Bigenho

Oops... hit the wrong button! I'll finish it below

I think there is way to set up an SD card to be used at runtime by pointing to 
it in the Journal where items appear as if they were actually on the XO. This 
should also work with an usb drive. I was walked through the procedure by Scott 
Dowdle of Montana State University. It didn't stick with me... he's a great 
teacher, but I'm a so-so student. I'll cc this note to him. Maybe he can jump 
in with some ideas for you.
Caryl
P.S. Scott... I still could like to learn how to do this!

 From: b...@freudenbergs.de
 Date: Tue, 19 Jun 2012 17:51:47 +0200
 To: tony_ander...@usa.net
 CC: iaep@lists.sugarlabs.org
 Subject: Re: [IAEP] Learn activity
 
 So you're talking about this page:
 
   http://wiki.sugarlabs.org/go/Activities/Learn
 
 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:
 
  Hi,
  
  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.
  
  Thanks,
  
  Tony
  
  On 06/19/2012 03:34 PM, Bert Freudenberg wrote:
  On 2012-06-18, at 17:00, Tony Anderson wrote:
  
  Hello,
  
  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 -
  
  
  .
  
  
 
 ___
 IAEP -- It's An Education Project (not a laptop project!)
 IAEP@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/iaep

  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Learn activity

2012-06-19 Thread Tony Anderson

Hi,

I have tried to address your points below. Thanks for your patience and 
taking the time to work through this.


You can, of course, do the install without the scripts. They are simple 
so you can see what they are trying to do.


1. Install Learn. This can be done in the normal way through browse. I 
was only concerned that there were problems in the deployment trying to 
install over an earlier version without erasing. The script technique 
has worked well in Rwanda.


2. The change to SimpleHTTPServer.py enables audio and video in the 
lessons using the karma.js script created by Bryan Berry. The script 
preloads images, audio clips, and video clips into memory before 
displaying the page. This load is done by the local host and so requires 
correct mime-type headers. This wasn't happening because 
SimpleHTTPServer.py didn't recognize the .ogg and ,ogv file extensions.


3. The change to Sugar-launch is needed to enable Learn to launch 
activities with a specified bundle (essentially installing the bundle 
from the lesson folder into the Journal and then resuming the Sugar 
activity). This is done by using a -o flag on the command line


If 2 and 3 are omitted, you will lose audio and will not be able to 
launch the examples using ShowNTell, Memorize and so forth. Otherwise, 
most of the functionality will not be affected.


4. Install Firefox in /usr/bin directly or in /opt with a link from 
/usr/bin. I only did the latter because it is a way for two versions to 
co-exist and for a time I wasn't sure that Learn worked with the more 
recent versions so I wanted a fallback.


5. Make sure the Kls_demo_1.tar.bz2 file is unpacked on a usb drive.
The Learn activity checks all the mounted drives for a folder: kls.

That should be all that is needed to make it work. Let me know if it 
still has problems.


Thanks again for your time and patience.

Tony

On 06/19/2012 05:51 PM, Bert Freudenberg wrote:

So you're talking about this page:

http://wiki.sugarlabs.org/go/Activities/Learn

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.

Agreed.

The purpose of the script is to install a recent version of Firefox 
whether or not it is already installed. I erase Firefox from /usr/bin 
and set up a symbolic link to the installed version in /opt. This should 
work in builds with or without the Gnome desktop. The documentation 
should say the most recent version. I'll have to think about how to get 
the script to handle different file names.


The change to SimpleHTTPServer.py is the simplest way I know to get 
Firefox to recognize the extensions .ogg and .ogv. I probably need to 
post a bug report on this.


The change to Sugar-launch enables it to be run with options -o and -u. 
I believe this has always been the intent. I hope at some point this can 
be done upstream.


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.


Not so. The USB drive contains a folder 'kls'. The install scripts untar 
the Kls_demo_1.tar.bz2 which contains the content. This folder has the 
demo content which is downloaded when the activity is run. I am using 
for the install just for convenience. When used with the school server, 
this content and much more is downloaded from the school server.


Your setup instructions on the website do not work. Besides of the broken 
formatting, the commands, if typed literally as given, do not work.
Ouch! I forgot the ./Learn.sh and the sudo ./Firefox.sh. Also, for some 
reason the upload process named the files Learn.sh and Firefox.sh 
instead of learn.sh and firefox.sh. I have updated the website.




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.
This is going to take some thought. I happened to have version 11 
downloaded and used it. Firefox is changing versions now very rapidly, 
so I need a script that can accept whatever version the user downloads.


Running the activity modifies the activity directory (creating symlinks, 
copying contents etc.). That's verboten (under Rainbow, literally so).
As far as I know, Rainbow was dropped. In 0.82, I patched activity 
factory to add Learn activity to the list of activities that ran under 
olpc. (also verboten).


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.
Again, not so. The karma folder and other content are downloaded from 
the school server (or usb drive) on the first launch. If they are 
already there, they are not downloaded again.



Even after I fixed all that manually, it still does 

Re: [IAEP] FW: Learn activity

2012-06-19 Thread Tony Anderson

Hi,

Bert has found some snafus in my documentation which I hope we can get 
straightened out.


Actually, this version of Learn will work as well with an SD card since
they appear the same to the software.

Keep in mind, that a deployment of Learn will need a school server, at 
least in the developing world. In the US many students have a computer 
lab at school and their own computer at home. However, this is not the 
case in Rwanda.


Learn is designed to download lessons from the school server that 
students can work on at home (and upload the results when they connect 
again). The USB key is to allow people to test it without having to set 
up a school server.


Tony

On 06/19/2012 08:25 PM, Caryl Bigenho wrote:

Oops... hit the wrong button! I'll finish it below

I think there is way to set up an SD card to be used at runtime by
pointing to it in the Journal where items appear as if they were
actually on the XO. This should also work with an usb drive. I was
walked through the procedure by Scott Dowdle of Montana State
University. It didn't stick with me... he's a great teacher, but I'm a
so-so student. I'll cc this note to him. Maybe he can jump in with some
ideas for you.

Caryl

P.S. Scott... I still could like to learn how to do this!

  From: b...@freudenbergs.de
  Date: Tue, 19 Jun 2012 17:51:47 +0200
  To: tony_ander...@usa.net
  CC: iaep@lists.sugarlabs.org
  Subject: Re: [IAEP] Learn activity
 
  So you're talking about this page:
 
  http://wiki.sugarlabs.org/go/Activities/Learn
 
  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:
 
   Hi,
  
   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.
  
   Thanks,
  
   Tony
  
   On 06/19/2012 03:34 PM, Bert Freudenberg wrote:
   On 2012-06-18, at 17:00, Tony Anderson wrote:
  
   Hello,
  
   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 -
  
  
   .
  
  
 
  ___
  IAEP -- It's An Education Project 

Re: [IAEP] Learn activity

2012-06-19 Thread Bert Freudenberg
On 2012-06-19, at 20:53, Tony Anderson wrote:

 5. Make sure the Kls_demo_1.tar.bz2 file is unpacked on a usb drive.
 The Learn activity checks all the mounted drives for a folder: kls.

That was the missing puzzle piece. I's still weird to require the USB drive 
even after I copied everything to the activity's content folder already. Why?

In any case, it looks like I was mislead by these lines in your code:

cmd = 'cp -r ~/Documents/karma'
cmd = cmd + ' ~/Activities/Learn.activity/content/'
subprocess.call(cmd,shell=True)

Also note that in the new OS, USB drives will not appear in /media anymore.

 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.
 If we can surmount the install problems, it should show the main screen seen 
 in the screen shot on the website.

With the kls directory unpacked on the USB drive it works, indeed. But the 
other problems are still there - Firefox is not actually wrapped, it appears in 
a separate, non-Sugar window, whereas the activity window itself is not used.

But now I can comment on your original mail:

 The sample content includes two milestones each for English, Mathematics, and 
 Science developed and used by the teachers at École Saint Jacobs in Kigali, 
 Rwanda.

So the activity is in use already? It seemed quite unfinished to me.

 A button on the home page allows users
 to experience the activity with staff priviliges and as a student in P4, P5 
 and P6.

The p4 button does nothing here. 

 There is also a 'Laboratory' subject where teachers can
 prepare milestones and lessons for the coming term. The Laboratory also
 support French to enable the French teacher also to create course materials.

Don't see the Laboratory subject.

 The Explore subject is intended to provide extra-curricular courses which 
 students can study to earn badges. At present it contains examples of various 
 types of lessons including a Khan Academy video and associated exercises as 
 well as a story (with audio) from the British Council. Learn is capable of 
 launching Sugar activities.

Found the audio lesson in Explore/examples/1/4. 

 The examples
 in ms02 require that ShowNTell, Quiz, Memorize, Turtle Art, and the Jukebox 
 activity be installed. (Jukebox is used to play the Khan video).
 If the activity launched by a Learn activity is not installed, it throws an 
 exception.

With ms02 do you mean Explore/examples/2? But clicking the green box does 
nothing. Same for the 3rd box labeled Khan. The first box has a dark blue top 
for some reason, the others are light. 

Oh. Trying again the tops now are blue too, and I can get to those lessons. Not 
quite sure how to get back from the Khan practice though (except for closing 
the tab). Is this just a local copy of some webpage from Khan academy?

- Bert -

___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


[IAEP] I know India

2012-06-19 Thread Alan Jhonn Aguiar Schwyn


Hi,
Some time ago, someone ask for a version of Conozco America (I know 
America)with the map of the region of India.After that, I'm started with it but 
I can't continued.This weekend, I have a bit of time and decide finish for a 
very basic first version.The result, here:
http://activities.sugarlabs.org/en-US/sugar/addon/4587

The activity needs much more work. This version only have information about 
thestates and the capital of that states. Now, I want to make the principal 
cities.
Regards!
Alan  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] I know India

2012-06-19 Thread Chris Leonard
On Tue, Jun 19, 2012 at 9:40 PM, Alan Jhonn Aguiar Schwyn
alan...@hotmail.com wrote:

 Hi,

 Some time ago, someone ask for a version of Conozco America (I know
 America)
 with the map of the region of India.
 After that, I'm started with it but I can't continued.
 This weekend, I have a bit of time and decide finish for a very basic first
 version.
 The result, here:

 http://activities.sugarlabs.org/en-US/sugar/addon/4587

 The activity needs much more work. This version only have information about
 the
 states and the capital of that states.
 Now, I want to make the principal cities.

 Regards!


Attached are the Indian cities listed in ISO 3166-2 (Cities_india)

You can find a lot more by looking at the links from here.

http://en.wikipedia.org/wiki/Category:Lists_of_cities_in_India

cjl


Cities_india
Description: Binary data
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] I know India

2012-06-19 Thread Outofindia
Dear Alan

I am from India and will be happy to help you with this. If you tell me
what data you need I can help you construct it one data set  at a  time.

I will be in the USA for two months starting July 5th and will have a lot
more time too to do this.

Also Prof Sameer Verma (copied here) and I along with HBCSE helped start
the KMR Foundation's olpc project in Hyderabad and have reached out to
Vasanta the coordinator that we could help from here if they need anything.

Warm regards


Harriet





Harriet Vidyasagar

www.outofindia.net

www.womenofindia.net

INDIA: 91-99011 66276

USA: 1-301-649-2240



On Wed, Jun 20, 2012 at 7:10 AM, Alan Jhonn Aguiar Schwyn 
alan...@hotmail.com wrote:


 Hi,

 Some time ago, someone ask for a version of Conozco America (I know
 America)
 with the map of the region of India.
 After that, I'm started with it but I can't continued.
 This weekend, I have a bit of time and decide finish for a very basic
 first version.
 The result, here:

 http://activities.sugarlabs.org/en-US/sugar/addon/4587

 The activity needs much more work. This version only have information
 about the
 states and the capital of that states.
 Now, I want to make the principal cities.

 Regards!

 Alan

___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] I know India

2012-06-19 Thread Alan Jhonn Aguiar Schwyn


Hi,
Now, I'm making the cities..You seeConozco America ?
http://activities.sugarlabs.org/en-US/sugar/addon/4464
and Conozco Uruguay ?
http://activities.sugarlabs.org/en-US/sugar/addon/4199 
At the begin of the activity, appears a basic story that gives to thechildren a 
challenge to resolve:
In Conozco Uuguay: the spaceship of a litlle marcian explotes and theparts of 
the spaceship falls on diferents points of the map. The idea iscollect all for 
that the marcian returns to their planet.
In Conozco America: a boy will have a test in the next day.. and not studies 
nothing! The idea is help with it.
For Conozco India, I'm not have a excuse to the childrens..You think of 
anything?

Regards!
Alan
From: outofin...@gmail.com
Date: Wed, 20 Jun 2012 08:27:33 +0530
To: alan...@hotmail.com; sve...@sfsu.edu; kmrfoundat...@gmail.com
CC: iaep@lists.sugarlabs.org; olpc-in...@googlegroups.com; 
administra...@kmrfoundation.org
Subject: Re: [IAEP] I know India

Dear Alan

I am from India and will be happy to help you with this. If you tell me what 
data you need I can help you construct it one data set  at a  time.

I will be in the USA for two months starting July 5th and will have a lot more 
time too to do this.



Also Prof Sameer Verma (copied here) and I along with HBCSE helped start the 
KMR Foundation's olpc project in Hyderabad and have reached out to Vasanta the 
coordinator that we could help from here if they need anything.



Warm regards


Harriet





Harriet Vidyasagar

www.outofindia.net

www.womenofindia.net



INDIA: 91-99011 66276

USA: 1-301-649-2240




On Wed, Jun 20, 2012 at 7:10 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com 
wrote:







Hi,
Some time ago, someone ask for a version of Conozco America (I know 
America)with the map of the region of India.After that, I'm started with it but 
I can't continued.

This weekend, I have a bit of time and decide finish for a very basic first 
version.The result, here:
http://activities.sugarlabs.org/en-US/sugar/addon/4587



The activity needs much more work. This version only have information about 
thestates and the capital of that states. Now, I want to make the principal 
cities.


Regards!
Alan  



___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep
  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] I know India

2012-06-19 Thread Dassine B.
Hi Alan and everybody,

Congrats !

Very interesting game to discover the Incredible India :)

Here my first idea :

Maybe we can help, a blue avatar (in reference to the holies avatars
Krishna, Rama, shiva ...etc) to discover specialities of each part of
India, like foods, music instruments and styles, monuments and
temples...etc

In each part, the avatar can change its behavior, color, cloths or posture,
...


What do you think ?

Ready to help !
Lilia

On Tue, Jun 19, 2012 at 11:00 PM, Alan Jhonn Aguiar Schwyn 
alan...@hotmail.com wrote:


 Hi,

 Now, I'm making the cities..
 You seeConozco America ?

 http://activities.sugarlabs.org/en-US/sugar/addon/4464

 and Conozco Uruguay ?

 http://activities.sugarlabs.org/en-US/sugar/addon/4199

 At the begin of the activity, appears a basic story that gives to the
 children a challenge to resolve:

 In Conozco Uuguay: the spaceship of a litlle marcian explotes and the
 parts of the spaceship falls on diferents points of the map. The idea is
 collect all for that the marcian returns to their planet.

 In Conozco America: a boy will have a test in the next day.. and not
 studies nothing! The idea is help with it.

 For Conozco India, I'm not have a excuse to the childrens..
 You think of anything?

 Regards!

 Alan

 --
 From: outofin...@gmail.com
 Date: Wed, 20 Jun 2012 08:27:33 +0530
 To: alan...@hotmail.com; sve...@sfsu.edu; kmrfoundat...@gmail.com
 CC: iaep@lists.sugarlabs.org; olpc-in...@googlegroups.com;
 administra...@kmrfoundation.org

 Subject: Re: [IAEP] I know India


 Dear Alan

 I am from India and will be happy to help you with this. If you tell me
 what data you need I can help you construct it one data set  at a  time.

 I will be in the USA for two months starting July 5th and will have a lot
 more time too to do this.

 Also Prof Sameer Verma (copied here) and I along with HBCSE helped start
 the KMR Foundation's olpc project in Hyderabad and have reached out to
 Vasanta the coordinator that we could help from here if they need anything.

 Warm regards


 Harriet





 Harriet Vidyasagar

 www.outofindia.net

 www.womenofindia.net

 INDIA: 91-99011 66276

 USA: 1-301-649-2240



 On Wed, Jun 20, 2012 at 7:10 AM, Alan Jhonn Aguiar Schwyn 
 alan...@hotmail.com wrote:


 Hi,

 Some time ago, someone ask for a version of Conozco America (I know
 America)
 with the map of the region of India.
 After that, I'm started with it but I can't continued.
 This weekend, I have a bit of time and decide finish for a very basic
 first version.
 The result, here:

 http://activities.sugarlabs.org/en-US/sugar/addon/4587

 The activity needs much more work. This version only have information
 about the
 states and the capital of that states.
 Now, I want to make the principal cities.

 Regards!

 Alan



 ___ IAEP -- It's An Education
 Project (not a laptop project!) IAEP@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/iaep

 ___
 IAEP -- It's An Education Project (not a laptop project!)
 IAEP@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/iaep

___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Learn activity

2012-06-19 Thread Tony Anderson

Hi,

I am glad you were able to get it to work. I am still trying to figure 
out a more robust way to do this. Perhaps, I could set up an online site 
somewhere (e.g. karma.sugarlabs.org) so that the content can be obtained 
from that site (in lieu of a school server).


Those lines in the code are left-overs from a debugging effort. I'll 
remove them in learn-52. They actually are 'harmless'.


In saying that the usb drives will not be mounted in /media do you mean 
they will be mounted somewhere else or that automount will be disabled?


The problem with Firefox is the same as all previous attempts to provide 
a Firefox activity. The parent class, activity.py creates a top-level 
window. However, ported programs as Firefox create their own
top-level window. This shows up on the frame as a grey smudge. The 
solution is probably a move to webkit; however, the webkit installed on
the Sugar build I am using (852) is not current and does not support svg 
in html5.


The activity is unfinished and has been constantly evolving based on 
experience at the deployments. The 'authoring' elements, for example, 
are relatively new and untested.


The role button (staff, p4, p5, and p6) allows simulation of the way the 
activity works in a deployment. There the students and staff are
identified. Staff can access any lessons on the system and can add or 
modify lessons. The students have access only to the lessons for their 
level and, instead of the edit button, have a check mark which allows 
them to commit the results of an activity and move on to the next.


The only obvious effect of changing the role is that the Laboratory
button is not visible in p4, p5, and p6. You will also see that the
second level menu (showing courses for p4, p5, and p6) is omitted and 
the activity moves directly to the milestone ladder.


In the examples in Explore, the first milestone has examples of basic 
activities which can be created directly in the activity. The second 
milestone are examples of lessons using Sugar activities. The third 
(Memorize), fourth (Turtle Art), and sixth (British Council) should 
work. Actually, the British Council example does not launch a Sugar 
activity. The first will work if ShowNTell is installed. The second, 
Quiz example and fifth, Wordsearch example will not work at the moment.
Both of these activities need an update so that they can work with a 
bundle loaded from the Journal.


The reason for the green (actually cyan) and blue tops is to show 
whether the activity has been downloaded from the usb key (school server).


The unit of transfer from the usb (schoolserver) is a milestone. In the
milestone ladder, the light blue (cyan) color shows a milestone which is 
not available on the XO. Clicking on the milestone downloads it. The cap 
is then blue. This requires the usb key to be mounted (or a connection 
to the schoolserver). However, milestones in blue can be used without 
the usb key (or connection to the schoolserver). This is in some ways 
the core feature of the activity. It allows the students to take home 
their lessons while using the school server to provide the storage 
capacity not available on the XO.


The Laboratory is intended for use by teachers (staff). It is not 
visible in the student role (p4, p5, or p6).


The easiest way to return to Learn after launching another Sugar 
activity (the Khan academy video is played by the Jukebox activity 
because at the moment I am unable to get audio with the vidoe tag)
is to quit the launched activity (Jukebox). Naturally, you could switch 
back to Learn on the frame).


Thanks again for your time and patience. If you have any suggestions for 
improving the documentation, install process or the activity, they will 
be greatly appreciated. You have already given me plenty to do.


Thanks,

Tony


On 06/20/2012 12:13 AM, Bert Freudenberg wrote:

On 2012-06-19, at 20:53, Tony Anderson wrote:


5. Make sure the Kls_demo_1.tar.bz2 file is unpacked on a usb drive.
The Learn activity checks all the mounted drives for a folder: kls.


That was the missing puzzle piece. I's still weird to require the USB drive 
even after I copied everything to the activity's content folder already. Why?

In any case, it looks like I was mislead by these lines in your code:

 cmd = 'cp -r ~/Documents/karma'
 cmd = cmd + ' ~/Activities/Learn.activity/content/'
 subprocess.call(cmd,shell=True)

Also note that in the new OS, USB drives will not appear in /media anymore.


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.

If we can surmount the install problems, it should show the main screen seen in 
the screen shot on the website.


With the kls directory unpacked on the