[Sugar-devel] sugar-jhbuild error--compiles but fails to initialize

2009-05-04 Thread Edward Cherlin
I'm going to keep on doing this every once in a while, but I'm not
holding my breath. Fortunately, I can actually use the SoaS Beta in
qemu.

Ubuntu 9.04

$ ./sugar-jhbuild run
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
[config/dbus] couldn't take over org.x.config:
org.freedesktop.DBus.Error.AccessDenied (Connection :1.307 is not
allowed to own the service org.x.config.display100 due to security
policies in the configuration file)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
(EE) XKB: No components provided for device Virtual core keyboard
[config/dbus] couldn't take over org.x.config:
org.freedesktop.DBus.Error.AccessDenied (Connection :1.307 is not
allowed to own the service org.x.config.display100 due to security
policies in the configuration file)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
1241421571.333533 STARTUP: Starting the shell
matchbox: keyboard does not appear to have a alt key.
matchbox: ignoring key shortcut Altreturn=fullscreen

/usr/lib/python2.6/dist-packages/jarabe/desktop/meshbox.py:19:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
  import sha
/usr/lib/python2.6/dist-packages/jarabe/desktop/keydialog.py:17:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5


-- 
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-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] The User experience/interface for Printing

2009-05-04 Thread Albert Cahalan
On Mon, May 4, 2009 at 1:47 AM, Andrés Ambrois andresambr...@gmail.com wrote:
 On Sunday 03 May 2009 06:29:26 pm Albert Cahalan wrote:
 Vamsi Krishna Davuluri writes:

 The priority is on sending the docs to cups-pdf for conversion and then
 talking to Moodle for teacher review. It is a good idea to have the code
 that sends docs for printing (to Moodle, a local printer, or one discovered
 by avahi) in a reusable module that a /usr/bin/lpr script can use.

Sending the docs to cups-pdf for conversion and then talking to Moodle
for teacher review can be done via /usr/bin/lpr, eliminating the trouble
of having multiple data paths.

 Adding a print dialog to every activity (e.g. Adding some gtkprint support
 in sugar-toolkit) should be optional for GSoC. First we should concentrate
 on getting entries printed, and getting teacher review right. Then we can
 move code around for legacy support and nice print me buttons.

If you start with what you disdain as legacy support, then you
can trivially test getting entries printed from the command line.
The same goes for getting teacher review right.

You could even test with the TuxPaint activity, using real kids.

  the teacher checks his print page in moodle, views the file (either
  through fancy javascript or a download) and approves/disapproves
  for printing. Kennedy then logs into his moodle print page and
  checks if the job was success or not, and if he has a comment from
  his teacher.

 I can barely imagine that happening in a real classroom. Try this:

 The student brings his XO to the teacher's desk, with his work shown
 on the screen. The teacher looks at the work, then lets the student
 plug his XO into a printer which sits on the teacher's desk.

  Printing resources can be very expensive for most schools, so
  the system should include a way for students to submit jobs to a
  queue and for an administrator to preview and approve or denie them.

 Tux Paint can rate limit a student's printing. For example, a setting
 of 60 will be once per minute.

 Do not forget that this issue is more social than technical. In addition
 to any discipline, the teacher can simply turn off the printer. This is
 advisable in any case; many printers use excessive power in standby.

 I dont see a teacher having a printer on her desk. Most schools here in
 Uruguay (and I dare say in Perú) don't even have printers. If there is one,
 it will be where the server/administration is. And possibly locked in a cage
 (like we have the servers now). So that scenario is going to be priority
 one.

That sounds like a printer that students aren't allowed to use.
Such a school might not need printing support at all.

Teachers are unlikely to learn a complicated (probably slow too)
interface for approving printer use. I just don't see it happening
with regular normal everyday human teachers.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-04 Thread Tomeu Vizoso
On Mon, May 4, 2009 at 06:26, Benjamin M. Schwartz
bmsch...@fas.harvard.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 nout...@paiwastoon.com.af wrote:
 After
 our first deployment here in Afghanistan, we had to reinstall a lot of
 laptops because students accidentally deleted most of their activities.

 I think this is a great example of why we need to make a no-regressions
 XO-1 build with 0.84.  Among its many new features, 0.84 adds direct file
 transfer capability, which means that if you delete an activity, you can
 easily have a friend send it to you over the network.

and with 0.86, and 0.88, ... ;)

I know that Martin Dengler, Chris, Sebastian and Paul are working on
some of what is required in their free time, but lots of help is still
required. I'm particularly concerned about the kernel bits that aren't
upstreamed yet.

Also, pushing the mesh stuff into NM upstream should be quite low
hanging fruit, anybody is willing to take this task? Sjoerd has a
patch that is almost approved by Dan Williams, shouldn't take much
finishing this up.

In the meantime, if deployers of 0.82 like Paraguay, Uruguay,
Afghanistan and Nepal wish to join forces and do a 8.2.2 build with
the biggest deficiencies fixed, it may benefit a lot without much fuss
being involved.

Regards,

Tomeu

 It is abundantly clear that OLPC is not going to do this work for us.

 - --Ben
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (GNU/Linux)

 iEYEARECAAYFAkn+blsACgkQUJT6e6HFtqRWDQCfQP3J5gyNA8KXg3ea2wTb0Ll9
 4sQAniO2WPqjD6s3UpyB23h/g0RyHQZQ
 =1OXc
 -END PGP SIGNATURE-
 ___
 Devel mailing list
 de...@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] The User experience/interface for Printing

2009-05-04 Thread Martin Langhoff
On Mon, May 4, 2009 at 10:44 AM, Albert Cahalan acaha...@gmail.com wrote:
 That sounds like a printer that students aren't allowed to use.

Correct! But may be used seldom, as a special case, prize, etc. And
teachers _are_ allowed to print -- while there's a good chance, the
computers there are all or amost all XOs so this is quite relevant.

 Teachers are unlikely to learn a complicated (probably slow too)
 interface for approving printer use.

Agreed, so if we keep it simple rather than complicated...

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
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [SoaS] New Snapshot Incoming!

2009-05-04 Thread Sebastian Dziallas
Hi folks,

there's another new snapshot ready! Here are the links:

* For the Image: 
http://download.sugarlabs.org/soas/snapshots/2/Soas2-200905031329.iso

* For the Appliance: 
http://download.sugarlabs.org/soas/appliances/soas2-20090503.zip

The appliance has undergone major changes, meaning that it might not 
work. Both are based on the current Rawhide state, which should be 
rather stable.

Now this is important: Please test the activities. Recommend new ones 
you want to see on SoaS. Report issues to our trac instance.

And please submit your hardware profile, following the instructions 
here: http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Hardware

I'll post a more detailed e-mail with an overview of our plans for the 
upcoming release candidate soonish.

Thanks and happy testing!
--Sebastian
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Removing the 'Erase' options from activity righ click menu

2009-05-04 Thread Daniel Drake
2009/5/4  nout...@paiwastoon.com.af:
 I basically don't want students to be able to erase any activities. After
 our first deployment here in Afghanistan, we had to reinstall a lot of
 laptops because students accidentally deleted most of their activities.

We see this lots in Paraguay too.
We have solved it here by:
1. Using a .xo bundle to install /home/olpc/Activities/.groups
pointing to http://schoolserver/activities
see http://wiki.laptop.org/go/Software_update#Activity_groups
2. Importing all the activities into the XS activity server
see http://wiki.laptop.org/go/XS-activity-server
3. Improving the in-school behaviour of the activity updater
see http://dev.laptop.org/ticket/9259

Then when the children delete activities, restoring them is just a few
clicks...run the activity updater from the control panel and let it do
it's thing. It is working well so far.

Daniel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [KARMA] don't need an ide for js

2009-05-04 Thread Lucian Branescu
I've used the Webkit inspector thing, it rivals firebug. Less features, though.

I've always just used a text editor for JS work. I don't like IDEs in general.

2009/5/4 Felipe López Toledo zer.subz...@gmail.com:
 Hi Bryan

i don't see myself using aptana or another special ide. firebug + emacs
are a perfect fit.
 yes, you're right!

 my early reason to use aptana was fast coding through the html assistant,
 highlight and auto completion tool. one of the *good* things of aptana is
 the inclusion (choose) of the javascript library (dojo, jquery, mootols,
 etc)..
 but, I felt like slow using it..

 I just ended using gedit / kate + firebug

 here is another tool like firebug (venkman from mozilla)
 http://www.mozilla.org/projects/venkman/

 currently reading about it at
 http://www.mozilla.org/projects/venkman/venkman-walkthrough.html




 2009/5/3 Bryan Berry br...@olenepal.org

 subzero,

 i am pretty darn blown away by how useful firebug is

 check out this tutorial
 http://www.evotech.net/blog/2007/06/introduction-to-firebug/

 and the intro pages here:
 http://www.getfirebug.com

 i don't see myself using aptana or another special ide. firebug + emacs
 are a perfect fit.

 --
 Bryan W. Berry
 Technology Director
 OLE Nepal, http://www.olenepal.org



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Browse-108

2009-05-04 Thread Aleksey Lim
On Sat, May 02, 2009 at 01:29:37PM -0500, David Farning wrote:
 On Sat, May 2, 2009 at 1:00 PM, Jonas Smedegaard d...@jones.dk wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Sat, May 02, 2009 at 11:30:22AM -0500, David Farning wrote:
 On Sat, May 2, 2009 at 7:23 AM, Jonas Smedegaard d...@jones.dk wrote:
  On Fri, May 01, 2009 at 06:04:06PM -0500, David Farning wrote:
 The conical source of information on activities _should_ be
 activities.download.org.  What activities download page were you
 looking at?  They should all be pointing to activities.sugarlabs.org.
 
  All activity information?  Also branches? Even unofficial branches?
 
 When uploading a activity to activities.sugarlabs.org there is an
 entry to a Homepage.  I would guess that the home page would be the
 source of at latest developer information.
 
 This gives users a very consistent download experience while directing
 developers to a more free form development space.
 
  I think we talk past each other.  Sorry if this is obvious to everyone
  but me:
 
  Do activities.sugarlabs.org support multiple branches of each activity?
 
  Concrete example (which I suspect triggered this subthread): Unofficial
  Browse 102 for Sugar 0.82 is currently at
  http://dev.laptop.org/~dsd/py-activities/Browse-102.xo but Tomeu
  suggested to use an official URL if more people would care about
  maintaining it.
 
 Ahh, sorry I misunderstood.  Activities.sugarlabs.org does support
 multiple concurrent versions of an activity.  This is how amo updates
 addons for the various versions of Firefox.  I don't clearly
 understand how the system works.  But it is possiable to set a
 specific activity version as working for a version of sugar.

The current situation is:

Every version of activity
(http://activities.sugarlabs.org/en-US/developers/versions/4024)
has a Sugar Compatible Applications field - its a SugarPlatform version

So we could upload new Browse version for only 0.82 SP
but where is a problem - it wouldn't prevent user from downloading
last(which is only for 0.84) in 0.82 environment, moreover 0.82 user can
see only 0.84 version and should click See All Versions to get the
right .xo.

Whith http://dev.sugarlabs.org/ticket/824 fixed activities.sugarlabs.org
could filter/suggest/etc the right version for users SP.

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] The User experience/interface for Printing

2009-05-04 Thread Sascha Silbe

On Mon, May 04, 2009 at 04:44:33AM -0400, Albert Cahalan wrote:


Sending the docs to cups-pdf for conversion and then talking to Moodle
for teacher review can be done via /usr/bin/lpr,
But that would sidestep the Journal and prevent review of the actual 
output (i.e. what it looks like on paper, not on screen - that can be 
vastly different!) before printing.


CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

signature.asc
Description: Digital signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] The User experience/interface for Printing

2009-05-04 Thread Albert Cahalan
On Mon, May 4, 2009 at 12:48 PM, Sascha Silbe
sascha-ml-ui-sugar-i...@silbe.org wrote:
 On Mon, May 04, 2009 at 04:44:33AM -0400, Albert Cahalan wrote:

 Sending the docs to cups-pdf for conversion and then talking to Moodle
 for teacher review can be done via /usr/bin/lpr,

 But that would sidestep the Journal and prevent review of the actual output
 (i.e. what it looks like on paper, not on screen - that can be vastly
 different!) before printing.

It wouldn't have to. That could be how all activities put print
jobs into the Journal.

You are essentially using the Journal as client-side print queue,
and Moodle as server-side print queue. You might as well use
the normal (highly compatible) way to submit to a print queue.

FYI, preview isn't going to be perfect anyway. PDF code can
ask the printer for exact dimensions; this info is unavailable
to the Read activity. It can be used for landscape/portrait rotation,
scaling, or whatever. Some enterprising kid may even concoct
a PDF that looks nice in Read, but offensive on paper. Getting
your teacher to approve printing goatse is priceless.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [SoaS] New Snapshot Incoming!

2009-05-04 Thread Ton van Overbeek
On Mon, May 4, 2009 at 11:05 AM, Sebastian Dziallas sebast...@when.com wrote:
 Hi folks,

 there's another new snapshot ready! Here are the links:

 * For the Image:
 http://download.sugarlabs.org/soas/snapshots/2/Soas2-200905031329.iso

 * For the Appliance:
 http://download.sugarlabs.org/soas/appliances/soas2-20090503.zip

 The appliance has undergone major changes, meaning that it might not
 work. Both are based on the current Rawhide state, which should be
 rather stable.

 Now this is important: Please test the activities. Recommend new ones
 you want to see on SoaS. Report issues to our trac instance.

 And please submit your hardware profile, following the instructions
 here: http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Hardware

 I'll post a more detailed e-mail with an overview of our plans for the
 upcoming release candidate soonish.

 Thanks and happy testing!
 --Sebastian


Tried the applicance.
Boots OK in both VMWare Fusion 2.0.4 and VirtualBox 2.2.2 on my MacBookPro.
Wanted to submit the corresponding harware profiles but
smoltSendProfile does not seem to exist in the applicance
(soas2-20090503.zip).
Correct, or am I looking in the wrong place?

Ton van Overbeek
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [SoaS] New Snapshot Incoming!

2009-05-04 Thread Sebastian Dziallas
Ton van Overbeek wrote:
 On Mon, May 4, 2009 at 11:05 AM, Sebastian Dziallassebast...@when.com  
 wrote:
 Hi folks,

 there's another new snapshot ready! Here are the links:

 * For the Image:
 http://download.sugarlabs.org/soas/snapshots/2/Soas2-200905031329.iso

 * For the Appliance:
 http://download.sugarlabs.org/soas/appliances/soas2-20090503.zip

 The appliance has undergone major changes, meaning that it might not
 work. Both are based on the current Rawhide state, which should be
 rather stable.

 Now this is important: Please test the activities. Recommend new ones
 you want to see on SoaS. Report issues to our trac instance.

 And please submit your hardware profile, following the instructions
 here: http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Hardware

 I'll post a more detailed e-mail with an overview of our plans for the
 upcoming release candidate soonish.

 Thanks and happy testing!
 --Sebastian


 Tried the applicance.
 Boots OK in both VMWare Fusion 2.0.4 and VirtualBox 2.2.2 on my MacBookPro.
 Wanted to submit the corresponding harware profiles but
 smoltSendProfile does not seem to exist in the applicance
 (soas2-20090503.zip).
 Correct, or am I looking in the wrong place?

 Ton van Overbeek

Oh yeah, sorry! I accidentally forgot to include it in the appliance...

'yum install smolt' as root in the terminal should do the trick for now; 
I'll make sure to grab it for the next snapshot.

Thanks for the heads-up,
--Sebastian
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] versus, not

2009-05-04 Thread Bill Kerr
On Mon, May 4, 2009 at 7:43 AM, Walter Bender walter.ben...@gmail.comwrote:

 ===Sugar Digest===

 I encourage you to join two threads on the Education List this week:
 http://lists.sugarlabs.org/archive/iaep/2009-April/005382.html, which
 has boiled down to an instruction vs construction debate; and
 http://lists.sugarlabs.org/archive/iaep/2009-April/005342.html, which
 has boiled down to a debate of catering to local culture vs the
 Enlightenment. I encourage you to join these discussions.


Agree that these are important discussions

Need to be careful about the use of the versus depiction of these
discussions IMO, this tempting shorthand can create the wrong impression

eg. I would see direct instruction as a must for autistic children but don't
see that it follows as a general model for all education (special needs are
special) or that we should even think it is possible to have a correct
general model. I don't think there is one and good teachers swap between
multiple models all the time.

no one on this list has argued overtly against  the enlightenment or that
local culture ought not to be taken into account, eg. Ties said think
practical, the response was of the nature that our context demands we do a
certain course of action

however, I do think the roll back of enlightenment principles is not well
understood (http://learningevolves.wikispaces.com/nonUniversals) and that a
better understanding might persuade more people of the need to keep
searching and struggling for different ways to go against some of  the tide
of local culture - there is a recent interesting comment thread on mark
guzdial's blog which is worth reading from this point of view
http://www.amazon.com/gp/blog/post/PLNK3F4TMBURELZZK
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel