Re: creating your own templates in write activity

2009-07-17 Thread Tomeu Vizoso
On Thu, Jul 16, 2009 at 19:18, Manusheel Guptam...@laptop.org wrote:
 Tomeu,

 Hope all is well.

 We have been working on developing a template builder tool in write
 activity, and wish to have your pointers on certain features-

 1. Text box - We realize that the text box tool is missing in the current
 write activity, and wish to develop it. We looked at abiwidget.h file
 closely, and it seems to us that there
  is no method (function) provided to add textboxes. We investigated
 deeper into the details, and arrived at an approach to develop the text box
 feature-

    a. Create a textbox class on the lines of tablecreator class-  It
 seems that we need to work on 4 files:

     1. OXML_Element_TextBox.cpp
     2. OXML_Element_TextBox.h
             3. OXMLi_ListenerState_TextBox.cpp
             4. OXMLi_ListenerState_TextBox.h

   b. Use invoke_cmd method to insert Textbox.
   We are not very clear on what all arguments can be passed in this
 method, and their usage. Could you please direct us to a resource, which
 could be helpful in
           understanding this.

I think Martin's answer has been very complete, are you already set on
this one? I recommend you to send these questions to the abiword-devel
mailing list where you will find Martin and the other Abiword
developers:

http://www.abisource.com/developers/

 We also wish to ask you about the details of the code, which is used to
 enable menu selections in the advanced abiword activity.

What do you mean by enable menu selections and advanced abiword activity?

Also, could you explain what are you trying to accomplish?

Thanks,

Tomeu

 Thank you.

 Manu

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: hyperactivity...

2009-07-17 Thread Sameer Verma
On Tue, Jun 9, 2009 at 1:06 AM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Mon, Jun 8, 2009 at 8:50 PM, Sameer Vermasve...@sfsu.edu wrote:
  Are there any specific instructions on using hyperactivity
  (http://dev.laptop.org/git/users/daf/hyperactivity/) other than what's
  in the README? We plan on load testing a new school server
  specifically on the ejabberd side of things.
  http://wiki.laptop.org/go/Ejabberd_resource_tests

 Those are Douglas' notes. There may be additional notes in the
 server-devel archives...



 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


So, I've tried using hyperactivity a few different ways.

Case 1: XOs are in mesh. olpc-netstatus says Telepathy is using salut.
Running 'python hyperactivity.py salut 10 30' shows a bunch of XOs in the
neighborhood and shows activity in the terminal about creating tubes,
creating activities etc.

Case 2: XOs are connected to a school server and olpc-netstatus says
Telepathy is using gabble. Running 'python hyperactivity.py gabble
schoolserver.augusttown.uwimona.edu.jm 10 30' creates 10 accounts, but keeps
saying that could not connect and it needs to remove an account. Then it
gets stuck in some from of a loop and keeps spewing error messages.

The other thing that's not clear from the readme is how to create a new
gabble session. From the readme:

==

It's generally a good idea to run a new Gabble/Salut instance with
hyperactivity.

In a first console launch:
$ eval `dbus-launch --sh-syntax`

Then get the address of the new bus
$ env | grep DBUS_SESSION_BUS_ADDRESS
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-CDaCEn20fa,guid=e7699135806075af71752500479f1a86

You can now launch Gabble or Salut in this console.


In a second console, define the DBUS_SESSION_BUS_ADDRESS variable before
launch hyperactivity.
$ export
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-CDaCEn20fa,guid=e7699135806075af71752500479f1a86

=

I'm not sure how one launches Gabble or Salut in the console.
Clarifications much appreciated. Will put up a wiki page once I figure it
out.

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


What should I do about the ISA PIT timer?

2009-07-17 Thread Martin Dengler
Hi Support Gang / devel@,

I hae a Repair Center laptop whose one OFW test sometimes fails: The
ISA PIT timer did not reach a count of 1.

This happens about 2-5% of the time I run the selftest word from
that device node in OFW (Q2E41): /pci/i...@f/ti...@i40.

I can't find much on google about this error message or device node
(though the 8th google result is an excellent translation of Gallus/
Roman Scenes in the time of Augustus).

Anybody seen this before?  Should I worry about it?

Martin





pgpqZgBZTkdHJ.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] creating your own templates in write activity

2009-07-17 Thread Manusheel Gupta
Martin,

Thank you for the pointer. Very helpful.

We have been able to add the text box feature in the write activity.

Regards,

Manu

On Fri, Jul 17, 2009 at 5:05 AM, Martin Sevior msev...@gmail.com wrote:

 Hi Manusheel,
There is no specific pyabiword binding for insert
 textbox but your can use the following technique to access the
 abiword/src/wp/ap/xp/ap_EditMethods.cpp function that provide the
 interface to libabiword.

 do:

 self._abiword_canvas.invoke_cmd(insTextbox,,0,0)

 To invoke the GUI to insert a textbox.

 Cheers

 Martin

 On Fri, Jul 17, 2009 at 3:18 AM, Manusheel Guptam...@laptop.org wrote:
  Tomeu,
 
  Hope all is well.
 
  We have been working on developing a template builder tool in write
  activity, and wish to have your pointers on certain features-
 
  1. Text box - We realize that the text box tool is missing in the current
  write activity, and wish to develop it. We looked at abiwidget.h file
  closely, and it seems to us that there
   is no method (function) provided to add textboxes. We investigated
  deeper into the details, and arrived at an approach to develop the text
 box
  feature-
 
 a. Create a textbox class on the lines of tablecreator class-  It
  seems that we need to work on 4 files:
 
  1. OXML_Element_TextBox.cpp
  2. OXML_Element_TextBox.h
  3. OXMLi_ListenerState_TextBox.cpp
  4. OXMLi_ListenerState_TextBox.h
 
b. Use invoke_cmd method to insert Textbox.
We are not very clear on what all arguments can be passed in
 this
  method, and their usage. Could you please direct us to a resource, which
  could be helpful in
understanding this.
 
  We also wish to ask you about the details of the code, which is used to
  enable menu selections in the advanced abiword activity.
 
  Thank you.
 
  Manu
 
  ___
  Sugar-devel mailing list
  sugar-de...@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Availability of XO-1.5 ATest-2 machines

2009-07-17 Thread Chris Ball
Hi,

A small number of XO-1.5 A2 laptops has just arrived at OLPC, so it's
time to start up the Contributors' Program for them!  If you think you
might be able to help us with hardware work, now would be an excellent
time to write a mail with the following headers:

To: contribut...@laptop.org
Subject: XO 1.5-A2 laptop proposal

letting us know what you think you could help with, mentioning any
relevant work you've done in the past, and including your address and
phone number for shipping.  Some of the areas we'd love help with are:

* Xorg driver bughunting
* Kernel suspend/resume time measurement and optimization, ACPI
  integration, and driver work in general
* Distro/packaging work that requires a machine

We'll have a much larger set of beta-test machines available in the
not so far future, so please don't be offended if we don't have enough
machines to send you one from our small supply of alpha-test laptops.

Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Testing summary - 18 July 2009 Wellington, NZ

2009-07-17 Thread Tabitha Roder
Testing summary - 18 July 2009, Wellington, NZ

Who: Tim, Tabitha, Grant, Uli, Stella, Leah, Becs, Brenda, Callum, Dave, Sigi

Putting dev keys in the last XOs to be updated.

Updating builds from 767 to 802 on all XOs

Trying soas-strawberry in virtual machines on other laptops.

tested out chat with six XOs then added write activity but we could
not see each others writing :-( though seeing each other in the frame
in both activities. In the neighborhood view we are seeing each other
but we keep appearing and disappearing. tried different XOs sharing
the activity and this time it worked. tried adding picture, some XOs
got picture, some XOs stopped sharing - seems we now have at least
three versions of the truth. multiple cursors are flashing in
different places on each XO. we are seeing different numbers of other
XOs in activity in frame. write quit itself on two XOs.  This does not
seem to be impacting chat activity. we still sharing chat no worries.

M_Stone requests openvpn experiment with us, on five XOs, so we be on
same ethernet. Seemed like we could connect to vpn but then got stuck
when pinging address M_Stone sent us. Could not access sample keys.
Further information from m_stone. Happy to test further next week.

Walter Bender requests tests of turtleart-55: found that on
wiki.laptop you get version 44, on sugarlabs.org you get version 55
from the top right hand activities link but version 51 from the
activities link in the middle of the sugarlabs.org page. Pop up
windows is making it very difficult to install new activities as
dialogue box appears in window behind, or does not appear at all. This
is impacting how browse activity works too - if we cant close pop up
(due to no close button sometimes and cant move window around) we
cannot end the browse activity. It is further impacting in that the
window is appearing to sit in front of frame and impacting other zoom
views, e.g. going in front of neighbourhood view. Could not install
activities on some XOs from sugarlabs site.

Had to go. :-(

More testing next week.

Thanks everyone

Tabitha
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] /library partition

2009-07-17 Thread Martin Langhoff
On Fri, Jul 17, 2009 at 12:02 PM, Dave Bauerd...@solutiongrove.com wrote:
 I am not sure if there is any documentation:

- pgsql-xs the postgresql database for Moodle (and any other Pg DB we
might add :-) )

- users which I think are home directories for the registered XOs which
 will contain their backups.

- xs-activation which holds crypto keys, activations and delegations.
With the new xs-activation package it gets used quite a bit in
deployments with delegated leases -- ie: with XSs that don't have an
internet connection but still run a bitfrost-secured deployment.

- xs-activity-server which stores .xo activities

- xs-rsync - anything served via rsync. Right now that is only OS
updates for the XOs.

 I believe the overall idea is that anything that is content goes in
 this directory as opposed to software or parts of the operating
 system.

Exactly. In short, it's the 'data' partition, the one you want to
backup, the one that wants a 1TB external disk, the one to mirror or
clone.

There is a bug in that /var/lib/moodle should be in /library.

cheers,



m
ps: wiki material perhaps?
-- 
 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] /library partition

2009-07-17 Thread Sameer Verma
On Fri, Jul 17, 2009 at 12:55 AM, Martin Langhoff martin.langh...@gmail.com
 wrote:

 On Fri, Jul 17, 2009 at 12:02 PM, Dave Bauerd...@solutiongrove.com
 wrote:
  I am not sure if there is any documentation:

 - pgsql-xs the postgresql database for Moodle (and any other Pg DB we
 might add :-) )


OK.



 - users which I think are home directories for the registered XOs which
  will contain their backups.


Yes, I see the backups from registered accounts.



 - xs-activation which holds crypto keys, activations and delegations.
 With the new xs-activation package it gets used quite a bit in
 deployments with delegated leases -- ie: with XSs that don't have an
 internet connection but still run a bitfrost-secured deployment.


OK. Haven't toyed with this as yet.



 - xs-activity-server which stores .xo activities


Now, this is interesting. How do the activities get pushed to the XOs?



 - xs-rsync - anything served via rsync. Right now that is only OS
 updates for the XOs.



OK. So this would be the img file for an update? How does it get pushed?


  I believe the overall idea is that anything that is content goes in
  this directory as opposed to software or parts of the operating
  system.

 Exactly. In short, it's the 'data' partition, the one you want to
 backup, the one that wants a 1TB external disk, the one to mirror or
 clone.


Got it.



 There is a bug in that /var/lib/moodle should be in /library.


Thought so.



 cheers,



 m
 ps: wiki material perhaps?


Yes, will create a page and add the items.

cheers,
Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] [IAEP] Share sugar objects on a standalone server

2009-07-17 Thread Caroline Meeks
On Fri, Jul 17, 2009 at 9:25 PM, Gary C Martin g...@garycmartin.com wrote:

 Hi Caroline,

 On 17 Jul 2009, at 23:35, Caroline Meeks wrote:

  Ack! I posted this to the wrong thread!  Sorry :(

 Here are some ideas for use cases that we might want to think through.

 Off the top of my head

• Teacher shares a file with a class
• Teacher shares a file or lesson plan or student work sample with
 other teachers
• Student shares with classmate for peer review
• Student shares with teacher for assessment (need an easy way for
 teachers to see all students work)
• Student shares with outside world
• Student shares with school community
• Teacher or student gets an activity for Sugar
• Teacher or Student learns what is possible with Sugar from
 examples
• Students or classes of students collaobrate to co-create projects
 All different, but it would be good if the end users felt there was some
 consistent logic to how they did these tasks which may well be related in
 their minds.


 Could you list how a teacher/student currently accomplishes each of these
 cases? I have my own guesses for most (I think most would usually involve a
 school Windows file server and share disk space, or just not be allowed from
 the school point of view), but wanted to see if you have a list of current
 approaches for these.


At the GPA I think its not done at all. Kids use the computer lab for an
hour a week and use a web site to play educational games.

At LGF, they have macs and they have a web based class management system
written by a programmer out in western MA.  More or less like Moodle.  I'm
not sure how many of these use cases it supports.

One high school I visited had a sign up in the computer lab reminding kids
to email their work to themselves on their gmail accounts.  My high schooler
tends to use this technique also.  Teachers sometimes have him email files
to turn in assignments.  I think in one class he used google docs.

So I think email and web sites are the current way these tasks are done, in
the rare instances they occur.

I am copying Server Devel as I suspect our vision if for the  XS will
support many of these use cases.



 Regards,
 --Gary


  On Fri, Jul 17, 2009 at 6:12 PM, Edward Cherlin echer...@gmail.com
 wrote:
 On Thu, Jul 16, 2009 at 7:11 PM, Gary C Marting...@garycmartin.com
 wrote:

  Test case:
  1) Create a new TurtleArt activity
  2) Upload the new entry to the SL wiki using Browse
  3) Use Browse to download the entry back to Journal
  4) Resume it from Journal

 Thanks. That's something I missed. I'll add it to [[The undiscoverable]].

 However, when I tried uploading a TA session, the Wiki said,

 .gtar is not a permitted file type.

 Did we change from .tar.gz to .gtar in the Journal, or something like
 that, but not coordinate properly?

  This should ideally work for all Activities, then folks can actually
  start creating and distributing content/activities directly using
  Sugar, for other Sugar users.

 +1

  Regards,
  --Gary

 --
 Silent Thunder (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) is my name
 And Children are my nation.
 The Cosmos is my dwelling place, The Truth my destination.
 http://earthtreasury.org/worknet (Edward Mokurai Cherlin)
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 --
 Caroline Meeks
 Solution Grove
 carol...@solutiongrove.com

 617-500-3488 - Office
 505-213-3268 - Fax





-- 
Caroline Meeks
Solution Grove
carol...@solutiongrove.com

617-500-3488 - Office
505-213-3268 - Fax
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] /library partition

2009-07-17 Thread Douglas Bagnall
Sameer Verma wrote:


 - xs-activity-server which stores .xo activities

 
 Now, this is interesting. How do the activities get pushed to the XOs?
 


via a USB drive.  The format is described here:

http://dev.laptop.org/git/users/martin/xs-activity-server.git/tree/README

 - xs-rsync - anything served via rsync. Right now that is only OS
 updates for the XOs.

 
 
 OK. So this would be the img file for an update? How does it get pushed?

via USB drive.

http://dev.laptop.org/git/users/martin/xs-rsync.git/tree/README

and the pattern works for (at least) xs-activation too.

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


Re: [Server-devel] /library partition

2009-07-17 Thread Douglas Bagnall
I wrote:

 - xs-activity-server which stores .xo activities

 Now, this is interesting. How do the activities get pushed to the XOs?
 
 via a USB drive.  The format is described here:


Ah sorry, I misread. (swine flu).

Via http, and it isn't perfect, because the XOs don't know to use it
rather than the wiki page they default to.

But the README link is still good:

 http://dev.laptop.org/git/users/martin/xs-activity-server.git/tree/README

 OK. So this would be the img file for an update? How does it get pushed?

There is a script called olpc-update, but you need to mangle the XO's
networking a bit to make it look on the schoolserver.

http://wiki.laptop.org/go/Olpc-update


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