Re: [Sugar-devel] The Journal and the no document centric activities

2010-02-08 Thread Aleksey Lim
On Sun, Feb 07, 2010 at 03:59:10PM -0300, Gonzalo Odiard wrote:
> One of my activities is a game that does not produce any document in the
> journal. Only the scores  are recorded in activity_root/data.
> The problem in the XO is that it gives an error because the method Activity
> save() method checks whether a file was generated with the name
> provided. Implode
> activities like record two files to not display the error. The solution was
> to implement file recording scores at the data directory in the method
> can_close() rather than write_file() in my activity.
> The problem is that it continues to generate an entry in the journal to the
> output of the activity and I think that you should not do. The same applies
> to the Log and Terminal activities that are most likely not used by
> students, but also pollute the journal.
> Is there any way around it now?
> Accept some modification on this?

pass to Activity.__init__ create_jobject=False e.g.

class MyActivity(activity.Activity):
def __init__(self, handle):
activity.Activity.__init__(self, handle, create_jobject=False)

but keep in mind http://bugs.sugarlabs.org/ticket/1714 :)

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


Re: [Sugar-devel] Where can I Find the list of sugar Core project.

2010-02-08 Thread Aleksey Lim
On Sun, Feb 07, 2010 at 01:38:29PM +0100, Urso Wieske wrote:
> Hi folks
> 
> I am trying to get an overall picture whats in the sugar distribution  
> of a/next release.
> Can someone point me to à specific page?
> 
> Thanks
> Urso

The main page is http://wiki.sugarlabs.org/go/0.88
so http://wiki.sugarlabs.org/go/0.88/Roadmap

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


[Sugar-devel] development team meeting minutes

2010-02-08 Thread Tomeu Vizoso
Hi,

we have just hold the scheduled meeting of the development team, see
here for logs:

http://wiki.sugarlabs.org/go/Development_Team/Meetings

Next one is scheduled for two weeks for now. Feedback on the date,
time and agenda are most welcome in:

http://wiki.sugarlabs.org/go/Development_Team/Meetings#Upcoming_Meetings

Regards,

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


Re: [Sugar-devel] Fwd: #841 UNSP: SoaS should support using a proxy server

2010-02-08 Thread Caroline Meeks
I am working with a school in NH where we can get Sugar to boot and run on
some of their machines but we can't get it to connect to the internet
because the school uses a proxy server.  I am going to a NH LUG meeting
tonight to try to recruit a local linux person to help support them.

Is this likely to be a pointer to how to fix their internet connection
problems?

Thanks,
Caroline

On Sat, Feb 6, 2010 at 5:09 AM, Tomeu Vizoso  wrote:

> This would make a nice feature for 0.90. We should use the same gconf
> settings as GNOME:
>
> http://git.gnome.org/browse/gnome-vfs/tree/schemas/system_http_proxy.schemas.in
>
> Regards,
>
> Tomeu
>
> -- Forwarded message --
> From: Sugar Labs Bugs 
> Date: Fri, Feb 5, 2010 at 20:07
> Subject: Re: #841 UNSP: SoaS should support using a proxy server
> To:
> Cc: b...@lists.sugarlabs.org
>
>
> #841: SoaS should support using a proxy server
>
> --+-
>Reporter:  jdsimmons  |  Owner:  tomeu
>Type:  enhancement| Status:  new
>Priority:  Unspecified by Maintainer  |  Milestone:
> Unspecified by Release Team
>   Component:  sugar  |Version:  Unspecified
>Severity:  Unspecified|   Keywords:  proxy server
> Distribution:  SoaS   |   Status_field:  Unconfirmed
>
> --+-
> Changes (by sdz):
>
>  * owner:  sdz => tomeu
>  * component:  SoaS => sugar
>
>
> Comment:
>
>  Assigning this over to sugar, as I guess it could be handled as part of a
>  control panel screen or so.
>
> --
> Ticket URL: 
> Sugar Labs 
> Sugar Labs bug tracking system
> ___
> Sugar-devel mailing list
> Sugar-devel@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
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-devel][olpc-haiti] Offline Maps Beta 2

2010-02-08 Thread Nicholas Doiron
Everyone's still snowbound here in Pittsburgh, so I made some significant
updates to the OfflineMap activity.  Right now it's being designed for
Haiti, but if there's interest the same codebase could be used by another
deployment.

* Satellite Maps: Gonaives,Grand Goave,Miragoave,Anse a Galets,Etroits
* Roadmaps: PortAuPrince,Lagonav,Jacmel,Leogane,Jeremie,Sant Marc,PortDePaix
* Add to maps with markers, lines, and shapes: roadmap-level precision
* Load Google Earth KML files with >100 points, rivers, polygon areas
* Activity can be shared, markers editable by all users
* When connected to the internet, you can paste from OSM or Google Maps

Information and Screenshots:
http://wiki.laptop.org/go/User:Ndoiron/OfflineMap
Download:
http://haiti.latest.disaster-tool.appspot.com/OfflineMaps-2.xo
Tutorial, links to sample KML files:
http://wiki.laptop.org/go/User:Ndoiron/OfflineMapTutorial

Regards,
Nick Doiron

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


Re: [Sugar-devel] Automatically Retrying an AP?

2010-02-08 Thread Martin Langhoff
On Thu, Feb 4, 2010 at 2:55 PM, Martin Langhoff
 wrote:
> Hopefully ppl who hacked on this code will say "yes, you're looking at
> the right place". Or "lookie over there..."

Actually, if there any notes or diagrams of how the network model/view
stuff ties together on 0.82 it'd be a lifesafer. Without a conceptual
map of what it's trying to do, it looks like bits of logic are
scattered all over the place...

I am sure there is a method to the madness.



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


Re: [Sugar-devel] Automatically Retrying an AP?

2010-02-08 Thread Daniel Drake
On 4 February 2010 08:04, Martin Langhoff  wrote:
> Hi list!
>
> We have a bug on 802/8.2.1 where in some cases (specific combination
> of WPA2 with certain AP chipsets) we fail to associate on the very
> first attempt, and then subsequent attempts succeed.

This is an 8.2.1 regression, because several libertas patches were
added late with little testing.

I would suggest reverting those patches.

The reason that it works in F11 is that those patches were never sent
upstream and hence are not included in that kernel.

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


Re: [Sugar-devel] Fwd: #841 UNSP: SoaS should support using a proxy server

2010-02-08 Thread Peter Robinson
Hi Caroline,

You might want to try setting the gnome proxy server settings as I believe
(this theory is untested) xulrunner and telepathy should recognise those
settings. you can get that by running gnome-network-properties which is part
of the control-center package (no idea off hand if that is in SoaS by
default), but you can also set it using the command line but I'm not sure
how off hand.

Peter

On Mon, Feb 8, 2010 at 5:01 PM, Caroline Meeks wrote:

> I am working with a school in NH where we can get Sugar to boot and run on
> some of their machines but we can't get it to connect to the internet
> because the school uses a proxy server.  I am going to a NH LUG meeting
> tonight to try to recruit a local linux person to help support them.
>
> Is this likely to be a pointer to how to fix their internet connection
> problems?
>
> Thanks,
> Caroline
>
> On Sat, Feb 6, 2010 at 5:09 AM, Tomeu Vizoso wrote:
>
>> This would make a nice feature for 0.90. We should use the same gconf
>> settings as GNOME:
>>
>> http://git.gnome.org/browse/gnome-vfs/tree/schemas/system_http_proxy.schemas.in
>>
>> Regards,
>>
>> Tomeu
>>
>> -- Forwarded message --
>> From: Sugar Labs Bugs 
>> Date: Fri, Feb 5, 2010 at 20:07
>> Subject: Re: #841 UNSP: SoaS should support using a proxy server
>> To:
>> Cc: b...@lists.sugarlabs.org
>>
>>
>> #841: SoaS should support using a proxy server
>>
>> --+-
>>Reporter:  jdsimmons  |  Owner:  tomeu
>>Type:  enhancement| Status:  new
>>Priority:  Unspecified by Maintainer  |  Milestone:
>> Unspecified by Release Team
>>   Component:  sugar  |Version:  Unspecified
>>Severity:  Unspecified|   Keywords:  proxy server
>> Distribution:  SoaS   |   Status_field:  Unconfirmed
>>
>> --+-
>> Changes (by sdz):
>>
>>  * owner:  sdz => tomeu
>>  * component:  SoaS => sugar
>>
>>
>> Comment:
>>
>>  Assigning this over to sugar, as I guess it could be handled as part of a
>>  control panel screen or so.
>>
>> --
>> Ticket URL: 
>> Sugar Labs 
>> Sugar Labs bug tracking system
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@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
>
> ___
> 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


[Sugar-devel] [ASLO] Release Domino-8

2010-02-08 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4212

Sugar Platform:
0.82 - 0.86

Download Now:
http://activities.sugarlabs.org/downloads/file/26579/domino-8.xo

Release notes:



Sugar Labs Activities
http://activities.sugarlabs.org

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


Re: [Sugar-devel] Automatically Retrying an AP?

2010-02-08 Thread Martin Langhoff
On Mon, Feb 8, 2010 at 4:03 PM, Daniel Drake  wrote:
> This is an 8.2.1 regression, because several libertas patches were
> added late with little testing.

IIRC, the libertas patches did fix interop with other APs. We fixed
some, broke some.




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


Re: [Sugar-devel] Automatically Retrying an AP?

2010-02-08 Thread Daniel Drake
On 8 February 2010 16:38, Martin Langhoff  wrote:
> On Mon, Feb 8, 2010 at 4:03 PM, Daniel Drake  wrote:
>> This is an 8.2.1 regression, because several libertas patches were
>> added late with little testing.
>
> IIRC, the libertas patches did fix interop with other APs. We fixed
> some, broke some.

Broke all WPA/WPA2 ones, at least when talking about the first
connection attempt.

Additionally, the only reports of improved connectivity that I've seen
came from Marvell/cozybit, who told me that they were not using OLPC's
XO nor sugar at the time. I haven't seen equivalent feedback from
actual users.

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


Re: [Sugar-devel] The Journal and the no document centric activities

2010-02-08 Thread Gonzalo Odiard
Thanks!

Gonzalo

On Mon, Feb 8, 2010 at 6:27 AM, Aleksey Lim  wrote:

> On Sun, Feb 07, 2010 at 03:59:10PM -0300, Gonzalo Odiard wrote:
> > One of my activities is a game that does not produce any document in the
> > journal. Only the scores  are recorded in activity_root/data.
> > The problem in the XO is that it gives an error because the method
> Activity
> > save() method checks whether a file was generated with the name
> > provided. Implode
> > activities like record two files to not display the error. The solution
> was
> > to implement file recording scores at the data directory in the method
> > can_close() rather than write_file() in my activity.
> > The problem is that it continues to generate an entry in the journal to
> the
> > output of the activity and I think that you should not do. The same
> applies
> > to the Log and Terminal activities that are most likely not used by
> > students, but also pollute the journal.
> > Is there any way around it now?
> > Accept some modification on this?
>
> pass to Activity.__init__ create_jobject=False e.g.
>
>class MyActivity(activity.Activity):
>def __init__(self, handle):
>activity.Activity.__init__(self, handle, create_jobject=False)
>
> but keep in mind http://bugs.sugarlabs.org/ticket/1714 :)
>
> --
> Aleksey
>



-- 
Gonzalo Odiard
Responsable de Desarrollo
Sistemas Australes
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fwd: #841 UNSP: SoaS should support using a proxy server

2010-02-08 Thread James Cameron
On Mon, Feb 08, 2010 at 09:59:48PM +, Peter Robinson wrote:
> You might want to try setting the gnome proxy server settings as I
> believe (this theory is untested) xulrunner and telepathy should
> recognise those settings. you can get that by running
> gnome-network-properties which is part of the control-center package
> (no idea off hand if that is in SoaS by default), [...]

Tested on OLPC XO-1.5 builds ... you can run gnome-network-properties or
gnome-control-panel from Terminal, change the proxy server settings, and
then run Browse and the proxy server is used.

gnome-network-properties appears as a window over the Terminal and
includes a close button, and Sugar provides a border control to close or
stop.

gnome-control-panel doesn't include an explicit graphical close or stop
feature; it relies on the window manager, and Sugar doesn't provide that
action visually.  So to escape from it use Control/Q in the window, or
Control/C on the Terminal.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fwd: #841 UNSP: SoaS should support using a proxy server

2010-02-08 Thread Peter Robinson
On Tue, Feb 9, 2010 at 2:32 AM, James Cameron  wrote:

> On Mon, Feb 08, 2010 at 09:59:48PM +, Peter Robinson wrote:
> > You might want to try setting the gnome proxy server settings as I
> > believe (this theory is untested) xulrunner and telepathy should
> > recognise those settings. you can get that by running
> > gnome-network-properties which is part of the control-center package
> > (no idea off hand if that is in SoaS by default), [...]
>
> Tested on OLPC XO-1.5 builds ... you can run gnome-network-properties or
> gnome-control-panel from Terminal, change the proxy server settings, and
> then run Browse and the proxy server is used.
>
> gnome-network-properties appears as a window over the Terminal and
> includes a close button, and Sugar provides a border control to close or
> stop.
>
> gnome-control-panel doesn't include an explicit graphical close or stop
> feature; it relies on the window manager, and Sugar doesn't provide that
> action visually.  So to escape from it use Control/Q in the window, or
> Control/C on the Terminal.
>

I presume this just sets gconf keys so it might be useful functionality to
add to the sugar network control panel so it can be set easier.

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


Re: [Sugar-devel] The Journal and the no document centric activities

2010-02-08 Thread Walter Bender
FYI, I just added this tip to the Activites FAQ in the wiki:
http://wiki.sugarlabs.org/go/Activity_Team/FAQ

-walter


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


Re: [Sugar-devel] Fwd: #841 UNSP: SoaS should support using a proxy server

2010-02-08 Thread James Cameron
On Tue, Feb 09, 2010 at 02:43:55AM +, Peter Robinson wrote:
> I presume this just sets gconf keys so it might be useful
> functionality to addto the sugar network control panel so it can be
> set easier.

Yes, perhaps.  There are many keys.  gnome-network-properties controls
quite a few.  The one that was changed by my test was

/system/http_proxy/host

Others at the same level include:

authentication_password
authentication_user
ignore_hosts
port
use_authentication
use_http_proxy
use_same_proxy

There's also a collection at /system/proxy, including:

autoconfig_url
ftp_host
ftp_port
mode
secure_host
secure_port
socks_host
socks_port

Network Proxy Preferences on F11 also provides multiple location
choices.

I imagine large scale deployments of Sugar would use the gconf keys
directly rather than expose all this complexity unnecessarily.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fwd: #841 UNSP: SoaS should support using a proxy server

2010-02-08 Thread Peter Robinson
On Tue, Feb 9, 2010 at 3:04 AM, James Cameron  wrote:

> On Tue, Feb 09, 2010 at 02:43:55AM +, Peter Robinson wrote:
> > I presume this just sets gconf keys so it might be useful
> > functionality to addto the sugar network control panel so it can be
> > set easier.
>
> Yes, perhaps.  There are many keys.  gnome-network-properties controls
> quite a few.  The one that was changed by my test was
>
> /system/http_proxy/host
>
> Others at the same level include:
>
> authentication_password
> authentication_user
> ignore_hosts
> port
> use_authentication
> use_http_proxy
> use_same_proxy
>
> There's also a collection at /system/proxy, including:
>
> autoconfig_url
> ftp_host
> ftp_port
> mode
> secure_host
> secure_port
> socks_host
> socks_port
>
> Network Proxy Preferences on F11 also provides multiple location
> choices.
>
> I imagine large scale deployments of Sugar would use the gconf keys
> directly rather than expose all this complexity unnecessarily.


Agreed, we can/should also document how to do this for deployements within
the kickstart file.

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


[Sugar-devel] [RELEASE] Sugar Settings Manager 0.87.1

2010-02-08 Thread Sayamindu Dasgupta
Hello,
I just release Sugar Settings Manager version 0.87.1
Currently the settings manager, if started while Sugar 0.87.x is
running, monitors the font related GConf keys and applies the changes
real-time (as the GConf values change).
Note that this is not yet a part of core Sugar (glucose). We decided
to keep this separate till it gets a reasonable amount of packaging
done. For proper integration, check out the patches at
http://bugs.sugarlabs.org/ticket/1692

Link: 
http://download.sugarlabs.org/sources/external/sugar-settings-manager/sugar-settings-manager-0.87.1.tar.gz

Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel