Re: [Server-devel] XS 0.6 preview

2009-05-27 Thread Reuben K. Caron
Today I performed a fresh install.
yum update -y --enablerepo=olpcxs-testing
reboot
/etc/sysconfig/olpc-scripts/domain_config olpc.test
reboot

Observations:
-hostname not changed
-the login banner still shows 0.5.2
-registered two XOs:
--Both can see each other in Neighborhood.
--Both are assigned course creator privileges in moodle.

Thanks,

Reuben

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-27 Thread Martin Langhoff
On Wed, May 27, 2009 at 7:35 PM, Reuben K. Caron reu...@laptop.org wrote:
 Today I performed a fresh install.

Thanks for the report! The procedure is correct. Tomorrow I'll get
onto the XS builds and check the issues you're reporting.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-19 Thread Martin Langhoff
On Tue, May 19, 2009 at 6:58 AM,  tkk...@nurturingasia.com wrote:
 Great... and I am amazed by the work done till now with XS - it rocks!

Thanks for the testing!

 I manage to download it and did a clean install.

 1. All went well
 2. Gave a name to it example.org I did not edit the hostname like in the past 
 - is this step needed?)

Yes, the hostname step is needed for 0.5.2 (the install instructions
do mention it ;-) )

 3. Registered (first) with a Chinese XO (3 chinese character as name)
 4. Tried moodle with Chinese XO after registration: Moodle login in prompt 
 asked. Can't login with machinese

I am really intrigued with this problem. I'll try to reproduce it.

Can you send me the moodle logs - as follows

 - /var/log/moodle/cron.log.*
 - /var/log/httpd/error.log.*

 4. Register (second) with a English XO  (with space in name)

Did this one work? Also - do all the machines have the Browse.xo
version that has the magic stuff to auto-login to moodle?
(Browse-102.xo).

 6. Tried moodle with English XO: automatic login and have creator assess
 7. Login moodle with admin account to check:
  Can see an account with Chinese alias name (displayed in chinese!) and
  machine ID

Is the chinese names from one of the accounts from step 4?

 8. Journal viewing. Chinese activities name still do not display

- What version of the XO software do yo have?
- Did you look inside of Moodle for the 'Backup'? To do this...
  1 - login to moodle with the 'admin' access
  2 - in the admin options (on the left) go to users-accounts-browse
  3 - select a user
  4 - select the 'backup' tab
  ... you should see properly encoded journal
- I assume you've installed the 'fonts-chinese' package?
- When you say do not display -- does it display the funny boxes
with 4 numbers you see when you're missing a unicode font?

 9. Can we still assess Jabber via the 172.18.0.1:5280/admin?

No, that's gone :-) It's all configured automatically.

great report, keep them coming...



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-19 Thread tkkang
More test result for interpretation and debugging

A. Registration Test 1 (English XO):


O.K. I am doing a another step by step testing on another XS 0.6 alpha clean 
install

My English XO:  Build 767  Sugar 0.82.1  Firmware Q2E18

Use this english XO as a first registration with the user name of: 

t.k. kang

Registration O.K. and is display via /home/idmgr/list_registration

t.k. kang   SHC84...   

From browser I try: schoolserver.olpcasia.org   

Moodle login display but no automatic login

Now I login as admin and browse list of user. 2 user found


t.k. kang   sh...@olpcasia.org  Never

Click on t.k. kang and then on the Backup tab

Get message:  Datastore is corrupt, or unknown format


B. Registration Test 2 (English XO):

The second XO registration works and login in to moodle automatically as course 
creator 


tyne x01   sh...@olpcasia.org16 secs

Click on tyne x01  and then on the Backup tab

Get message:  Datastore is corrupt, or unknown format

Will do the 3rd registration BUT with a Chinese XO

-Original Message-
From: Martin Langhoff [mailto:martin.langh...@gmail.com]
Sent: Tuesday, May 19, 2009 02:10 PM
To: tkk...@nurturingasia.com
Cc: 'XS Devel'
Subject: Re: [Server-devel] XS 0.6 preview

On Tue, May 19, 2009 at 6:58 AM,  tkk...@nurturingasia.com wrote:
 Great... and I am amazed by the work done till now with XS - it rocks!

Thanks for the testing!

 I manage to download it and did a clean install.

 1. All went well
 2. Gave a name to it example.org I did not edit the hostname like in the 
 past - is this step needed?)

Yes, the hostname step is needed for 0.5.2 (the install instructions
do mention it ;-) )

 3. Registered (first) with a Chinese XO (3 chinese character as name)
 4. Tried moodle with Chinese XO after registration: Moodle login in prompt 
 asked. Can't login with machinese

I am really intrigued with this problem. I'll try to reproduce it.

Can you send me the moodle logs - as follows

 - /var/log/moodle/cron.log.*
 - /var/log/httpd/error.log.*

 4. Register (second) with a English XO  (with space in name)

Did this one work? Also - do all the machines have the Browse.xo
version that has the magic stuff to auto-login to moodle?
(Browse-102.xo).

 6. Tried moodle with English XO: automatic login and have creator assess
 7. Login moodle with admin account to check:
  Can see an account with Chinese alias name (displayed in chinese!) and
  machine ID

Is the chinese names from one of the accounts from step 4?

 8. Journal viewing. Chinese activities name still do not display

- What version of the XO software do yo have?
- Did you look inside of Moodle for the 'Backup'? To do this...
  1 - login to moodle with the 'admin' access
  2 - in the admin options (on the left) go to users-accounts-browse
  3 - select a user
  4 - select the 'backup' tab
  ... you should see properly encoded journal
- I assume you've installed the 'fonts-chinese' package?
- When you say do not display -- does it display the funny boxes
with 4 numbers you see when you're missing a unicode font?

 9. Can we still assess Jabber via the 172.18.0.1:5280/admin?

No, that's gone :-) It's all configured automatically.

great report, keep them coming...



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-19 Thread Martin Langhoff
2009/5/19 Martin Langhoff martin.langh...@gmail.com:
 I just grabbed an XO, gave it a nickname of 唔好�Y���Y去 :-) , registered
 it, rebooted it, and then when I went to Moodle it logged me in,
 automagically.

Actually, I should have tried 怎�N回事?which is more appropriate in many
ways (for starters, in testing the right language!) ;-)

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-19 Thread tkkang
Yes,.. the culprit is the Browser version!! My apologies.   

I had 2 English XOs and one was 102 and later when I used software update the 
next XO work!! Umm.. and sorry for all the pain. 

Now I need to tell the Chinese team how they can update the browser to 102 as 
it is version 98!!

What about the ds-restore view .. could it be the browser as it does not show 
the chinese!!


BTW what if we would like to get into jabber view? How to view like what we did 
in the past with port 5280?

Cheers.. and at least we can have a little break!!

-Original Message-
From: Martin Langhoff [mailto:martin.langh...@gmail.com]
Sent: Tuesday, May 19, 2009 05:37 PM
To: tkk...@nurturingasia.com
Cc: 'XS Devel'
Subject: Re: [Server-devel] XS 0.6 preview

On Tue, May 19, 2009 at 9:43 AM,  tkk...@nurturingasia.com wrote:
 More test result for interpretation and debugging

Cool.

 A. Registration Test 1 (English XO):
 O.K. I am doing a another step by step testing on another XS 0.6 alpha clean 
 install

 My English XO:  Build 767  Sugar 0.82.1  Firmware Q2E18

Can you confirm the version of Browse.xo? To do that, go to the 'home
view' and change it from the 'ring view' to the 'list view' using the
icons in the top-right corner of the screen.

Just want to make sure that you have Browse version 102 on all your
test machines :-)

 Use this english XO as a first registration with the user name of:

 t.k. kang

 Registration O.K. and is display via /home/idmgr/list_registration

 t.k. kang   SHC84...

After registration, you need to reboot. Only on the next session
Browse knows that it's registered...

 From browser I try: schoolserver.olpcasia.org

 Moodle login display but no automatic login

The steps you are following for debugging are correct (but you need to
add the 'reboot after registration' step). When I follow the same
steps I have no problems to login with users with spaces, names or
extended utf-chars.

 Now I login as admin and browse list of user. 2 user found


 t.k. kang   sh...@olpcasia.org  Never

 Click on t.k. kang and then on the Backup tab

 Get message:  Datastore is corrupt, or unknown format

I've just checked -- that problably means that there is no backup yet,
the errors got mixed up when I added datastore version 1 support.
You need to either wait ~1 hour for the backup to be performed or run
it manually. To run it manually, open the terminal and execute

  ds-backup.py

I've just fixed that error message in Moodle so it reports the right message.

...
 Will do the 3rd registration BUT with a Chinese XO

I just grabbed an XO, gave it a nickname of 唔好?Y???Y去 :-) , registered
it, rebooted it, and then when I went to Moodle it logged me in,
automagically.

(Hope that the mailing list doesn'tcorrupt the utf-8 above!)

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-19 Thread Martin Langhoff
2009/5/19  tkk...@nurturingasia.com:
 BTW what if we would like to get into jabber view? How to view like what we 
 did in the past with port 5280?

You can re-enable it -- but I don't recommend that. If you feel
comfortable with the commandline, use the ejabberdctl command. You
need to use the domain name (with the additional 'schoolserver.' in
front) for many commands. For example:

  # show connected users, registered users
  ejabberdctl connected-users


  ejabberdctl srg-list-groups schoolserver.test.xs.laptop.org
Online



 Cheers.. and at least we can have a little break!!

-Original Message-
From: Martin Langhoff [mailto:martin.langh...@gmail.com]
Sent: Tuesday, May 19, 2009 05:37 PM
To: tkk...@nurturingasia.com
Cc: 'XS Devel'
Subject: Re: [Server-devel] XS 0.6 preview

On Tue, May 19, 2009 at 9:43 AM,  tkk...@nurturingasia.com wrote:
 More test result for interpretation and debugging

Cool.

 A. Registration Test 1 (English XO):
 O.K. I am doing a another step by step testing on another XS 0.6 alpha 
 clean install

 My English XO:  Build 767  Sugar 0.82.1  Firmware Q2E18

Can you confirm the version of Browse.xo? To do that, go to the 'home
view' and change it from the 'ring view' to the 'list view' using the
icons in the top-right corner of the screen.

Just want to make sure that you have Browse version 102 on all your
test machines :-)

 Use this english XO as a first registration with the user name of:

 t.k. kang

 Registration O.K. and is display via /home/idmgr/list_registration

 t.k. kang   SHC84...

After registration, you need to reboot. Only on the next session
Browse knows that it's registered...

 From browser I try: schoolserver.olpcasia.org

 Moodle login display but no automatic login

The steps you are following for debugging are correct (but you need to
add the 'reboot after registration' step). When I follow the same
steps I have no problems to login with users with spaces, names or
extended utf-chars.

 Now I login as admin and browse list of user. 2 user found


 t.k. kang   sh...@olpcasia.org  Never

 Click on t.k. kang and then on the Backup tab

 Get message:  Datastore is corrupt, or unknown format

I've just checked -- that problably means that there is no backup yet,
the errors got mixed up when I added datastore version 1 support.
You need to either wait ~1 hour for the backup to be performed or run
it manually. To run it manually, open the terminal and execute

  ds-backup.py

I've just fixed that error message in Moodle so it reports the right message.

...
 Will do the 3rd registration BUT with a Chinese XO

I just grabbed an XO, gave it a nickname of 唔好?Y???Y去 :-) , registered
it, rebooted it, and then when I went to Moodle it logged me in,
automagically.

(Hope that the mailing list doesn'tcorrupt the utf-8 above!)

cheers,


m
--
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff







-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-18 Thread Martin Langhoff
On Mon, May 18, 2009 at 7:51 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 At last! We have an XS 0.6 preview to play with. If you look at

    http://xs-dev.laptop.org/xs/other/

2 quick additional notes :-)

 - the iso is actually still being rsync'd - give it an hr or so
 - if you're playing with moodle, you'll want to yum
--enablerepo=olpcxs-testing update as there's a yummy new rpm there

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-18 Thread tkkang
Great... and I am amazed by the work done till now with XS - it rocks!

I manage to download it and did a clean install. 

1. All went well  
2. Gave a name to it example.org I did not edit the hostname like in the past - 
is this step needed?)
3. Registered (first) with a Chinese XO (3 chinese character as name)
4. Tried moodle with Chinese XO after registration: Moodle login in prompt 
asked. Can't login with machinese  
4. Register (second) with a English XO  (with space in name)
6. Tried moodle with English XO: automatic login and have creator assess
7. Login moodle with admin account to check:
  Can see an account with Chinese alias name (displayed in chinese!) and   
  machine ID 
8. Journal viewing. Chinese activities name still do not display
9. Can we still assess Jabber via the 172.18.0.1:5280/admin?   
10. Will repeat test with another server

Cheers

-Original Message-
From: Martin Langhoff [mailto:martin.langh...@gmail.com]
Sent: Tuesday, May 19, 2009 01:51 AM
To: 'XS Devel'
Subject: [Server-devel] XS 0.6 preview

At last! We have an XS 0.6 preview to play with. If you look at

http://xs-dev.laptop.org/xs/other/

you'll find an iso (usual anaconda installer) and an img.gz. The iso
is the usual Anaconda deal. The img file can be dd'd into an SD card,
and it will Just Boot on an XO -- see notes @
http://wiki.laptop.org/go/XS-on-XO

The installation process is significantly simplified. On first boot
(from either install method), you need to issue:

   /etc/sysconfig/olpc_scripts/domain_config your base domain

and restart. That's it, no more fiddling with ejabberd.

(Actually, I lie -- for Squid to work properly you'll want to set
/etc/sysconfig/network properly. Hope to fix that soon.).

Trac view of what's been done:
http://dev.laptop.org/query?status=assignedstatus=closedstatus=newstatus=reopenedorder=prioritycol=idcol=summarycol=statuscol=typecol=prioritycol=componentmilestone=xs-0.6

Additional roadmap notes
http://wiki.laptop.org/go/User:Martinlanghoff/XS_0.6_plan

$ sha1sum OLPC-School-Server-0.6d-i386.i*
f8ad1f0d0f2724abba68722cb881b679cc12c13d  OLPC-School-Server-0.6d-i386.img.gz
3fda42daf28bc8cda00ac79ef5cdf3ad4e6d4c98  OLPC-School-Server-0.6d-i386.iso

$ du -sh OLPC-School-Server-0.6d-i386.i*
392MOLPC-School-Server-0.6d-i386.img.gz
550MOLPC-School-Server-0.6d-i386.iso

success reports and bug reports welcome on this list or via trac.
Patches and help -- those are welcome too :-)

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel