[Sugar-devel] Sugarizing an application

2009-10-14 Thread Daniel Castelo
Hi. When I execute an application written in C and gtk with a "normal user"
(not the root user)  it looks fine, I mean sugarized (for example with
rounded entry text). But if i execute it with the root user it looks without
the sugar theme. On what it depends?

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


Re: [Sugar-devel] Sugarizing an application

2009-10-14 Thread Daniel Castelo
I am testing the client gnome-ppp to connect the Xo with a modem 3G. When I
execute the client using consolehelper and pam (or the root user) the
application looks without the sugar theme. When I execute the binary file of
the client (/usr/sbin/gnome-ppp) it looks "fine".

Thanks

On Wed, Oct 14, 2009 at 9:57 AM, Tomeu Vizoso  wrote:

> On Wed, Oct 14, 2009 at 12:54, Daniel Castelo
>  wrote:
> > Hi. When I execute an application written in C and gtk with a "normal
> user"
> > (not the root user)  it looks fine, I mean sugarized (for example with
> > rounded entry text). But if i execute it with the root user it looks
> without
> > the sugar theme. On what it depends?
>
> The Gtk+ theme is set per user, so if you run as root you are running
> it in a very different environment. If this is a problem for you, then
> we may be able to help if you explain what you are trying to do.
>
> Regards,
>
> Tomeu
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugarizing an application

2009-10-21 Thread Daniel Castelo
First, I tried to sugarized gnome-ppp (made with  C and gtk) and execute it
as an activity. But it doesn't looks fine. Now i am thinking in rewrite
gnome-ppp in python like "native" Activity. The problem that i have, is that
I need to execute wvdial as root and write the resolv.conf file with the dns
configuration. How can I run things with root privileges?

Thanks.

On Thu, Oct 15, 2009 at 7:34 AM, Tomeu Vizoso  wrote:

> On Wed, Oct 14, 2009 at 13:33, Daniel Castelo
>  wrote:
> > I am testing the client gnome-ppp to connect the Xo with a modem 3G. When
> I
> > execute the client using consolehelper and pam (or the root user) the
> > application looks without the sugar theme. When I execute the binary file
> of
> > the client (/usr/sbin/gnome-ppp) it looks "fine".
>
> And you want to create a Sugar activity with the functionality in
> gnome-ppp ? Or what is the final goal?
>
> Regards,
>
> Tomeu
>
> > Thanks
> >
> > On Wed, Oct 14, 2009 at 9:57 AM, Tomeu Vizoso 
> wrote:
> >>
> >> On Wed, Oct 14, 2009 at 12:54, Daniel Castelo
> >>  wrote:
> >> > Hi. When I execute an application written in C and gtk with a "normal
> >> > user"
> >> > (not the root user)  it looks fine, I mean sugarized (for example with
> >> > rounded entry text). But if i execute it with the root user it looks
> >> > without
> >> > the sugar theme. On what it depends?
> >>
> >> The Gtk+ theme is set per user, so if you run as root you are running
> >> it in a very different environment. If this is a problem for you, then
> >> we may be able to help if you explain what you are trying to do.
> >>
> >> Regards,
> >>
> >> Tomeu
> >>
> >> --
> >> «Sugar Labs is anyone who participates in improving and using Sugar.
> >> What Sugar Labs does is determined by the participants.» - David
> >> Farning
> >
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugarizing an application

2009-10-21 Thread Daniel Castelo
Sorry, just a distraction.
Is the image that we use in Uruguay, and doesn't have the root access
available.
Network manager supports connections with a modem 3g?

Thanks for your help


On Wed, Oct 21, 2009 at 10:26 AM, Tomeu Vizoso  wrote:

> On Wed, Oct 21, 2009 at 13:22, Daniel Castelo
>  wrote:
> > OLPC release 9 (Joyride).  is enough?
>
> Sorry, not sure to what image that may correspond. Can you tell me how
> that image can be acquired? Depending on the configuration, root
> access may be available or not.
>
> But James' suggestion is good, if you can do it via NetworkManager,
> then you can work around the root limitation.
>
> Also, please don't drop the mailing list from the email recipients (do
> "reply all" instead of just replying to me).
>
> Regards,
>
> Tomeu
>
> > On Wed, Oct 21, 2009 at 10:05 AM, Tomeu Vizoso 
> wrote:
> >>
> >> On Wed, Oct 21, 2009 at 13:01, Daniel Castelo
> >>  wrote:
> >> > 0.82 of sugar with kernel 2.6.25-20090223.olpc
> >>
> >> A distribution is much more than sugar and a kernel, can you be more
> >> specific?
> >>
> >> Thanks,
> >>
> >> Tomeu
> >>
> >> >
> >> > On Wed, Oct 21, 2009 at 9:52 AM, Tomeu Vizoso 
> >> > wrote:
> >> >>
> >> >> On Wed, Oct 21, 2009 at 12:50, Daniel Castelo
> >> >>  wrote:
> >> >> > First, I tried to sugarized gnome-ppp (made with  C and gtk) and
> >> >> > execute
> >> >> > it
> >> >> > as an activity. But it doesn't looks fine. Now i am thinking in
> >> >> > rewrite
> >> >> > gnome-ppp in python like "native" Activity. The problem that i
> have,
> >> >> > is
> >> >> > that
> >> >> > I need to execute wvdial as root and write the resolv.conf file
> with
> >> >> > the
> >> >> > dns
> >> >> > configuration. How can I run things with root privileges?
> >> >>
> >> >> Well, this has nothing to do with Sugar but with the underlying OS.
> >> >> Which distribution are you using?
> >> >>
> >> >> Regards,
> >> >>
> >> >> Tomeu
> >> >>
> >> >> > Thanks.
> >> >> >
> >> >> > On Thu, Oct 15, 2009 at 7:34 AM, Tomeu Vizoso  >
> >> >> > wrote:
> >> >> >>
> >> >> >> On Wed, Oct 14, 2009 at 13:33, Daniel Castelo
> >> >> >>  wrote:
> >> >> >> > I am testing the client gnome-ppp to connect the Xo with a modem
> >> >> >> > 3G.
> >> >> >> > When I
> >> >> >> > execute the client using consolehelper and pam (or the root
> user)
> >> >> >> > the
> >> >> >> > application looks without the sugar theme. When I execute the
> >> >> >> > binary
> >> >> >> > file of
> >> >> >> > the client (/usr/sbin/gnome-ppp) it looks "fine".
> >> >> >>
> >> >> >> And you want to create a Sugar activity with the functionality in
> >> >> >> gnome-ppp ? Or what is the final goal?
> >> >> >>
> >> >> >> Regards,
> >> >> >>
> >> >> >> Tomeu
> >> >> >>
> >> >> >> > Thanks
> >> >> >> >
> >> >> >> > On Wed, Oct 14, 2009 at 9:57 AM, Tomeu Vizoso
> >> >> >> > 
> >> >> >> > wrote:
> >> >> >> >>
> >> >> >> >> On Wed, Oct 14, 2009 at 12:54, Daniel Castelo
> >> >> >> >>  wrote:
> >> >> >> >> > Hi. When I execute an application written in C and gtk with a
> >> >> >> >> > "normal
> >> >> >> >> > user"
> >> >> >> >> > (not the root user)  it looks fine, I mean sugarized (for
> >> >> >> >> > example
> >> >> >> >> > with
> >> >> >> >> > rounded entry text). But if i execute it with the root user
> it
> >> >> >> >> > looks
> >> >> >> >> > without
> >> >> >> >> > the sugar theme. On what it depends?
> >> >> >> >>
> >> >> >> >> The Gtk+ theme is set per user, so if you run as root you are
> >> >> >> >> running
> >> >> >> >> it in a very different environment. If this is a problem for
> you,
> >> >> >> >> then
> >> >> >> >> we may be able to help if you explain what you are trying to
> do.
> >> >> >> >>
> >> >> >> >> Regards,
> >> >> >> >>
> >> >> >> >> Tomeu
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> «Sugar Labs is anyone who participates in improving and using
> >> >> >> >> Sugar.
> >> >> >> >> What Sugar Labs does is determined by the participants.» -
> David
> >> >> >> >> Farning
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> «Sugar Labs is anyone who participates in improving and using
> Sugar.
> >> >> >> What Sugar Labs does is determined by the participants.» - David
> >> >> >> Farning
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> «Sugar Labs is anyone who participates in improving and using Sugar.
> >> >> What Sugar Labs does is determined by the participants.» - David
> >> >> Farning
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> «Sugar Labs is anyone who participates in improving and using Sugar.
> >> What Sugar Labs does is determined by the participants.» - David
> >> Farning
> >
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugarizing an application

2009-10-21 Thread Daniel Castelo
Thanks for your help.
Regards

On Wed, Oct 21, 2009 at 10:46 AM, Tomeu Vizoso  wrote:

> On Wed, Oct 21, 2009 at 13:41, Daniel Castelo
>  wrote:
> > Sorry, just a distraction.
> > Is the image that we use in Uruguay, and doesn't have the root access
> > available.
> > Network manager supports connections with a modem 3g?
>
> Current versions of NetworkManager do, but if it's the image now used
> in Uruguay (based in Fedora 9), then it may be too old.
>
> I'm CC'ing Dan Williams who is the main author of NM in case he can
> suggest you a way forward.
>
> Regards and good luck,
>
> Tomeu
>
> > Thanks for your help
> >
> >
> > On Wed, Oct 21, 2009 at 10:26 AM, Tomeu Vizoso 
> wrote:
> >>
> >> On Wed, Oct 21, 2009 at 13:22, Daniel Castelo
> >>  wrote:
> >> > OLPC release 9 (Joyride).  is enough?
> >>
> >> Sorry, not sure to what image that may correspond. Can you tell me how
> >> that image can be acquired? Depending on the configuration, root
> >> access may be available or not.
> >>
> >> But James' suggestion is good, if you can do it via NetworkManager,
> >> then you can work around the root limitation.
> >>
> >> Also, please don't drop the mailing list from the email recipients (do
> >> "reply all" instead of just replying to me).
> >>
> >> Regards,
> >>
> >> Tomeu
> >>
> >> > On Wed, Oct 21, 2009 at 10:05 AM, Tomeu Vizoso 
> >> > wrote:
> >> >>
> >> >> On Wed, Oct 21, 2009 at 13:01, Daniel Castelo
> >> >>  wrote:
> >> >> > 0.82 of sugar with kernel 2.6.25-20090223.olpc
> >> >>
> >> >> A distribution is much more than sugar and a kernel, can you be more
> >> >> specific?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Tomeu
> >> >>
> >> >> >
> >> >> > On Wed, Oct 21, 2009 at 9:52 AM, Tomeu Vizoso  >
> >> >> > wrote:
> >> >> >>
> >> >> >> On Wed, Oct 21, 2009 at 12:50, Daniel Castelo
> >> >> >>  wrote:
> >> >> >> > First, I tried to sugarized gnome-ppp (made with  C and gtk) and
> >> >> >> > execute
> >> >> >> > it
> >> >> >> > as an activity. But it doesn't looks fine. Now i am thinking in
> >> >> >> > rewrite
> >> >> >> > gnome-ppp in python like "native" Activity. The problem that i
> >> >> >> > have,
> >> >> >> > is
> >> >> >> > that
> >> >> >> > I need to execute wvdial as root and write the resolv.conf file
> >> >> >> > with
> >> >> >> > the
> >> >> >> > dns
> >> >> >> > configuration. How can I run things with root privileges?
> >> >> >>
> >> >> >> Well, this has nothing to do with Sugar but with the underlying
> OS.
> >> >> >> Which distribution are you using?
> >> >> >>
> >> >> >> Regards,
> >> >> >>
> >> >> >> Tomeu
> >> >> >>
> >> >> >> > Thanks.
> >> >> >> >
> >> >> >> > On Thu, Oct 15, 2009 at 7:34 AM, Tomeu Vizoso
> >> >> >> > 
> >> >> >> > wrote:
> >> >> >> >>
> >> >> >> >> On Wed, Oct 14, 2009 at 13:33, Daniel Castelo
> >> >> >> >>  wrote:
> >> >> >> >> > I am testing the client gnome-ppp to connect the Xo with a
> >> >> >> >> > modem
> >> >> >> >> > 3G.
> >> >> >> >> > When I
> >> >> >> >> > execute the client using consolehelper and pam (or the root
> >> >> >> >> > user)
> >> >> >> >> > the
> >> >> >> >> > application looks without the sugar theme. When I execute the
> >> >> >> >> > binary
> >> >> >> >> > file of
> >> >> >> >> > the client (/usr/sbin/gnome-ppp

[Sugar-devel] Sudo in Fedora release 9

2009-11-10 Thread Daniel Castelo
I have the version "OLPC release 9 (Joyride)" of Fedora, I want to configure
the sudoers file to allow users to run some commands as root using sudo. But
I couldn't do it. As I see it, the sudoers file in this fedora has been done
by OLPC. This is true? Can I install the "conventional" sudo command in this
distribution?

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


Re: [Sugar-devel] Sudo in Fedora release 9

2009-11-10 Thread Daniel Castelo
You are right.
Thanks.

On Tue, Nov 10, 2009 at 1:09 PM, Tomeu Vizoso  wrote:

> On Tue, Nov 10, 2009 at 15:24, Daniel Castelo
>  wrote:
> > I have the version "OLPC release 9 (Joyride)" of Fedora, I want to
> configure
> > the sudoers file to allow users to run some commands as root using sudo.
> But
> > I couldn't do it. As I see it, the sudoers file in this fedora has been
> done
> > by OLPC. This is true? Can I install the "conventional" sudo command in
> this
> > distribution?
>
> Hi Daniel,
>
> though Sugar Labs produces and maintains Sugar the learning platform,
> it's OLPC and other organizations who put Sugar on top of a Linux
> distribution.
>
> Thus I'm forwarding your question to de...@lists.laptop.org as they
> will be much more capable to answer it. I look forward to any
> questions about Sugar itself in our mailing lists.
>
> Regards,
>
> Tomeu
>
> > Thanks
> > Daniel
> >
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugarizing an application

2009-11-12 Thread Daniel Castelo
In a short term we are thinking in develop an activity to interact with
wwdial. In the future we are planning to test Sugar 0.8x and Network Manager
0.7, and change our activity to interact with networkmanager. We should
investigate the way to interact with networkmanager (a set of APIs or
something like that).

Regards.
Daniel

On Fri, Nov 6, 2009 at 11:03 AM, Tomeu Vizoso  wrote:

> On Thu, Nov 5, 2009 at 16:51, Daniel Castelo
>  wrote:
> > I forgot to say you something important: !!!  thanks for your help!!!
>
> Welcome, how did you got this working?
>
> Thanks,
>
> Tomeu
>
> > On Mon, Oct 26, 2009 at 5:44 PM, Dan Williams  wrote:
> >>
> >> On Sun, 2009-10-25 at 09:39 +0100, Tomeu Vizoso wrote:
> >> > On Wed, Oct 21, 2009 at 21:07, Dan Williams  wrote:
> >> > > On Wed, 2009-10-21 at 13:46 +0100, Tomeu Vizoso wrote:
> >> > >> On Wed, Oct 21, 2009 at 13:41, Daniel Castelo
> >> > >>  wrote:
> >> > >> > Sorry, just a distraction.
> >> > >> > Is the image that we use in Uruguay, and doesn't have the root
> >> > >> > access
> >> > >> > available.
> >> > >> > Network manager supports connections with a modem 3g?
> >> > >>
> >> > >> Current versions of NetworkManager do, but if it's the image now
> used
> >> > >> in Uruguay (based in Fedora 9), then it may be too old.
> >> > >
> >> > > What version of NM ships on those?  NM 0.6x like we originally
> shipped
> >> > > in the images in 2007/2008?  Or were Simon and Daniel able to update
> >> > > them to NM 0.7.x?
> >> >
> >> > This is F9 with NM 0.6.5-0.12.svn3246.olpc3 . I think NM 0.7 support
> >> > was added to Sugar 0.84 which hasn't gone into an official OLPC image
> >> > yet.
> >>
> >> Ok, only NM 0.7.x and later support 3G.  So it looks like they will have
> >> to wait for an official image, or install the NM 0.7.x ones by hand.
> >>
> >> Dan
> >>
> >> > Regards,
> >> >
> >> > Tomeu
> >> >
> >> > > Dan
> >> > >
> >> > >> I'm CC'ing Dan Williams who is the main author of NM in case he can
> >> > >> suggest you a way forward.
> >> > >>
> >> > >> Regards and good luck,
> >> > >>
> >> > >> Tomeu
> >> > >>
> >> > >> > Thanks for your help
> >> > >> >
> >> > >> >
> >> > >> > On Wed, Oct 21, 2009 at 10:26 AM, Tomeu Vizoso
> >> > >> >  wrote:
> >> > >> >>
> >> > >> >> On Wed, Oct 21, 2009 at 13:22, Daniel Castelo
> >> > >> >>  wrote:
> >> > >> >> > OLPC release 9 (Joyride).  is enough?
> >> > >> >>
> >> > >> >> Sorry, not sure to what image that may correspond. Can you tell
> me
> >> > >> >> how
> >> > >> >> that image can be acquired? Depending on the configuration, root
> >> > >> >> access may be available or not.
> >> > >> >>
> >> > >> >> But James' suggestion is good, if you can do it via
> >> > >> >> NetworkManager,
> >> > >> >> then you can work around the root limitation.
> >> > >> >>
> >> > >> >> Also, please don't drop the mailing list from the email
> recipients
> >> > >> >> (do
> >> > >> >> "reply all" instead of just replying to me).
> >> > >> >>
> >> > >> >> Regards,
> >> > >> >>
> >> > >> >> Tomeu
> >> > >> >>
> >> > >> >> > On Wed, Oct 21, 2009 at 10:05 AM, Tomeu Vizoso
> >> > >> >> > 
> >> > >> >> > wrote:
> >> > >> >> >>
> >> > >> >> >> On Wed, Oct 21, 2009 at 13:01, Daniel Castelo
> >> > >> >> >>  wrote:
> >> > >> >> >> > 0.82 of sugar with kernel 2.6.25-20090223.olpc
> >> > >> >> >>
> >> > >> >> >> A distribution is much more than suga

Re: [Sugar-devel] Sugarizing an application

2009-11-20 Thread Daniel Castelo
Yes, we managed this possibility. In this case I need to study (and I need
support) to know how implement it according to the sugar architecture, and
discuss which is the best dialog to configure and use this connection.

On Thu, Nov 19, 2009 at 12:11 PM, Tomeu Vizoso  wrote:

> 2009/11/12 Daniel Castelo :
> > In a short term we are thinking in develop an activity to interact with
> wwdial. In the future we are planning to test Sugar 0.8x and Network Manager
> 0.7, and change our activity to interact with networkmanager. We should
> investigate the way to interact with networkmanager (a set of APIs or
> something like that).
>
> Have you considered adding support for modems in the Sugar shell
> instead of coding a new activity? That would be more in line with
> Sugar's user experience.
>
> Regards,
>
> Tomeu
>
> > Regards.
> > Daniel
> >
> > On Fri, Nov 6, 2009 at 11:03 AM, Tomeu Vizoso 
> wrote:
> >>
> >> On Thu, Nov 5, 2009 at 16:51, Daniel Castelo
> >>  wrote:
> >> > I forgot to say you something important: !!!  thanks for your help!!!
> >>
> >> Welcome, how did you got this working?
> >>
> >> Thanks,
> >>
> >> Tomeu
> >>
> >> > On Mon, Oct 26, 2009 at 5:44 PM, Dan Williams 
> wrote:
> >> >>
> >> >> On Sun, 2009-10-25 at 09:39 +0100, Tomeu Vizoso wrote:
> >> >> > On Wed, Oct 21, 2009 at 21:07, Dan Williams 
> wrote:
> >> >> > > On Wed, 2009-10-21 at 13:46 +0100, Tomeu Vizoso wrote:
> >> >> > >> On Wed, Oct 21, 2009 at 13:41, Daniel Castelo
> >> >> > >>  wrote:
> >> >> > >> > Sorry, just a distraction.
> >> >> > >> > Is the image that we use in Uruguay, and doesn't have the root
> >> >> > >> > access
> >> >> > >> > available.
> >> >> > >> > Network manager supports connections with a modem 3g?
> >> >> > >>
> >> >> > >> Current versions of NetworkManager do, but if it's the image now
> used
> >> >> > >> in Uruguay (based in Fedora 9), then it may be too old.
> >> >> > >
> >> >> > > What version of NM ships on those?  NM 0.6x like we originally
> shipped
> >> >> > > in the images in 2007/2008?  Or were Simon and Daniel able to
> update
> >> >> > > them to NM 0.7.x?
> >> >> >
> >> >> > This is F9 with NM 0.6.5-0.12.svn3246.olpc3 . I think NM 0.7
> support
> >> >> > was added to Sugar 0.84 which hasn't gone into an official OLPC
> image
> >> >> > yet.
> >> >>
> >> >> Ok, only NM 0.7.x and later support 3G.  So it looks like they will
> have
> >> >> to wait for an official image, or install the NM 0.7.x ones by hand.
> >> >>
> >> >> Dan
> >> >>
> >> >> > Regards,
> >> >> >
> >> >> > Tomeu
> >> >> >
> >> >> > > Dan
> >> >> > >
> >> >> > >> I'm CC'ing Dan Williams who is the main author of NM in case he
> can
> >> >> > >> suggest you a way forward.
> >> >> > >>
> >> >> > >> Regards and good luck,
> >> >> > >>
> >> >> > >> Tomeu
> >> >> > >>
> >> >> > >> > Thanks for your help
> >> >> > >> >
> >> >> > >> >
> >> >> > >> > On Wed, Oct 21, 2009 at 10:26 AM, Tomeu Vizoso
> >> >> > >> >  wrote:
> >> >> > >> >>
> >> >> > >> >> On Wed, Oct 21, 2009 at 13:22, Daniel Castelo
> >> >> > >> >>  wrote:
> >> >> > >> >> > OLPC release 9 (Joyride).  is enough?
> >> >> > >> >>
> >> >> > >> >> Sorry, not sure to what image that may correspond. Can you
> tell me
> >> >> > >> >> how
> >> >> > >> >> that image can be acquired? Depending on the configuration,
> root
> >> >> > >> >> access may be available or not.
> >> >> > >> >>
> >> >> > >> >> But James' suggestion is good, if you can 

[Sugar-devel] [DESIGN] CMDA/GSM/3G Modem Support in Sugar

2009-11-27 Thread Daniel Castelo
We are thinking in add CMDA/GSM/3G Modems Support in Sugar. We want to
discuss the best interface to allow user configure and use this type of
connections.
The basical idea that we managed is to have an option in control panel to
allow users to setup the connection, and a device icon in the bottom frame
where users could connect and disconnect it.
If is possible when the SO detect the new device, sugar could show the
device icon and a shortcut to setup it.

The fields that user should configure are:  Tel Number, User Name and
Password (which more?)
We should discuss if we will allow configure many conections or just one.

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


Re: [Sugar-devel] [DESIGN] CMDA/GSM/3G Modem Support in Sugar

2009-11-27 Thread Daniel Castelo
On Fri, Nov 27, 2009 at 1:52 PM, Tomeu Vizoso  wrote:

> On Fri, Nov 27, 2009 at 12:48, Daniel Castelo
>  wrote:
> > We are thinking in add CMDA/GSM/3G Modems Support in Sugar. We want to
> > discuss the best interface to allow user configure and use this type of
> > connections.
>
> Awesome!
>
> > The basical idea that we managed is to have an option in control panel to
> > allow users to setup the connection, and a device icon in the bottom
> frame
> > where users could connect and disconnect it.
> > If is possible when the SO detect the new device, sugar could show the
> > device icon and a shortcut to setup it.
>
> Yes, that's easily doable.
>
> > The fields that user should configure are:  Tel Number, User Name and
> > Password (which more?)
> > We should discuss if we will allow configure many conections or just one.
>
> I would vote for just one as a start. Or will the users in your
> deployment need to configure more than one?
>


For my one connection is enough.



>
> Regards,
>
> Tomeu
>
> > Opinions, Contributions?
> >
> >
> >
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] adding 3G devices support to sugar

2009-12-02 Thread Daniel Castelo
In Uruguay we need "USB_SERIAL_OPTION" for 3G Modems.
Martin, I could test your work using 3G Modems.
I could help programming the control panel and the device icon too.


On Wed, Dec 2, 2009 at 10:31 AM, Martin Langhoff
wrote:

> On Wed, Dec 2, 2009 at 3:04 AM, Martin Abente 
> wrote:
> > I have successfully extended jarabe/model/network.py, so we can
> > load-in a gsm connection, tested it with my app (gsmbridge) and it
> > works, tomorow ill clean up the code, add the control panel and the
> > device icon part.
>
> Cool. Can you give us a list of kernel modules that will work with
> this, so we can look at building them for the XO1/1.5 kernels? They'll
> probably be split off in a separate rpm, but easily installable.
>
> 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] [Feature] Print Support

2009-12-16 Thread Daniel Castelo
Hi! I have created a wiki page to discuss the feature "Print Support". I
know about the Google of Summer Project (
http://wiki.sugarlabs.org/go/Print_Support).
In Uruguay we want to add a basic print support to allow the Sugar user to
use a printer connected to the computer (for example in student house).

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


Re: [Sugar-devel] [DESIGN][FEATURE] 3G modem support

2009-12-16 Thread Daniel Castelo
I'm testing the feature. When you configure the connection the first time,
the system requires that you restart. This is fine?

On Fri, Dec 11, 2009 at 5:36 PM,  wrote:

> It has been discussed before and i have been working on it with Daniel
> Castelo from Uruguay.
>
> This is the link of the formal proposal, I will be updating it soon.
>
> http://wiki.sugarlabs.org/go/Features/3G_Support
> ___
> 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] [DESIGN][FEATURE] 3G modem support

2009-12-16 Thread Daniel Castelo
Yes, it isn't so bad. But wich would be the best solution? "refresh" the
settings manager information or network manager information when you save
the configuration in the control panel?


On Wed, Dec 16, 2009 at 4:11 PM, mabente  wrote:

> Yes, because the gsm connection is loaded once at system start, so
> everytime the settings are changed a system restart is required. I tested
> different loading times, (while clicking on connect item or when the device
> its plugged) and i found the current moment simpler. because the other
> requires a more complex logic to determine if the settings changed, if not
> could be endlessly loading gsm connections.
>
> On Wed, 16 Dec 2009 14:49:47 -0200, Daniel Castelo
>  wrote:
> > I'm testing the feature. When you configure the connection the first
> time,
> > the system requires that you restart. This is fine?
> >
> > On Fri, Dec 11, 2009 at 5:36 PM,  wrote:
> >
> >> It has been discussed before and i have been working on it with Daniel
> >> Castelo from Uruguay.
> >>
> >> This is the link of the formal proposal, I will be updating it soon.
> >>
> >> http://wiki.sugarlabs.org/go/Features/3G_Support
> >> ___
> >> 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] Carrier database support for GSM modem feature

2009-12-22 Thread Daniel Castelo
Great. Is very usefull!!!

On Mon, Dec 21, 2009 at 2:51 PM, Andrés Ambrois wrote:

> Hello,
>
> I have created http://dev.sugarlabs.org/ticket/1630 and added a patch with
> a
> first implementation of this feature. This depends on tch's patches [0], so
> I
> will need to update it if they change.
>
> Daniel, I just found out you were planning to work on this, does this patch
> adjust to your requirements?
>
> Cheers!
> --
>  -Andrés
>
> [0] http://dev.sugarlabs.org/ticket/1622
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Star Chart Activity

2009-12-23 Thread Daniel Castelo
Hi!
In Uruguay we use Star Chart (http://wiki.laptop.org/go/StarChart) and the
director of the astronomical observatory of Montevideo have some ideas to
improve the activity. Speaking with the Autor (davewa) we found that our
improves are in the roadmap of activity.

If someone wants to help davewa great!!!

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


Re: [Sugar-devel] [DESIGN][FEATURE] 3G modem support

2010-01-15 Thread Daniel Castelo
On Fri, Jan 15, 2010 at 5:48 AM, Simon Schampijer wrote:

> On 12/11/2009 08:36 PM, mabe...@paraguayeduca.org wrote:
> > It has been discussed before and i have been working on it with Daniel
> > Castelo from Uruguay.
> >
> > This is the link of the formal proposal, I will be updating it soon.
> >
> > http://wiki.sugarlabs.org/go/Features/3G_Support
>
> Hi Martin & Daniel,
>
> thanks for proposing and working on this Feature!
>
> Your Feature has been accepted for the 0.88 release cycle. It has a
> clear value for many Sugar users and the need has been expressed from
> people from the field. It is, what I am especially happy about,
> implemented by locals! From a technical point of view the changes are
> not too invasive.
>
> * Design (from the Feature Page)*
> An icon will be added to the frame when a modem is connected, and the
> user will be able to connect and disconnect from there. Also, a section
> will be added to the control panel that will allow entering the details
> needed by the connection.
>
> We will have a design meeting this weekend [1]. Do you have any
> particular questions regarding the UI for your Feature? Do you have an
> icon for the frame device and the control panel already?
>


Great!! No, we don't have any icon.


> Concerning the 0.88 release: The most important date is the Feature
> Freeze Feb 01. The Feature must have been reviewed by the module
> maintainer (in your case Tomeu for Sugar) and pushed to the repository.
> I know that you are in contact with Tomeu already and patches are in
> review. Furthermore please keep your Feature page up to date (testing
> plan, release notes).
>

Ok. Thanks.


>
> Thanks,
>Simon
>
> [1] http://wiki.sugarlabs.org/go/Design_Team/0.88_Meeting
> [2] http://wiki.sugarlabs.org/go/0.88/Roadmap#Schedule
> _______
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601 57 73
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN][FEATURE] 3G modem support

2010-01-28 Thread Daniel Castelo
As I told before I have made some improvements to this feature: tickets
1652-"Add Connection Information" and 1654-"Add Pin/Puk Configuration" (i
wrote this in the feature page).
To add Pin/Puk configuration support I need to handle the "Authentication
Error". Now i am setting the message "Authentication Error" on the palette
label. This message dissapear when user clicks. This is a good first version
to display errors?

On Wed, Jan 27, 2010 at 3:57 PM, Gary C Martin  wrote:

> On 27 Jan 2010, at 15:25, Tomeu Vizoso wrote:
>
> > On Wed, Jan 27, 2010 at 16:06, Eben Eliason 
> wrote:
> >> On Wed, Jan 27, 2010 at 6:54 AM, Simon Schampijer 
> wrote:
> >>> I had a chance to apply the latest code that is attached in #1622 and
> played
> >>> a bit with a gsm-device. I think we discussed this already in some
> parts
> >>> before but I am still not sure about the following:
> >>>
> >>> With my device attached I see the modem and hit 'connect' in the device
> >>> palette. I get no feedback when that action was not successful and what
> went
> >>> wrong. And I have no hint that I should set options in the Control
> Panel.
> >>>
> >>> I know we wanted to keep it simple but maybe someone has a smart idea
> how
> >>> one could enhance the feedback and a hint to use the control panel to
> set
> >>
> >> This sounds like a good time to revive the global notification idea.
> >> The design intent there was to each corner of the screen with one edge
> >> of the Frame (lower-right would be devices), and to have notification
> >> icons (the device icon itself, usually) slide in and out of the
> >> corners to grab attention in various cases, such as a failed
> >> connection attempt.
> >>
> >> We also had thoughts about adjusting the contents of the palette in
> >> these cases, to contain the error message, and also provide options to
> >> resolve the issue. For instance, the GSM device might indicate a
> >> failed connection and offer "try again" and "change settings" options.
> >>
> >> I think nailing this in a way that's useful system-wide and in all
> >> edges of the Frame will take a bit of thought, but this is a good
> >> opportunity to discuss it.
> >
> > I also agree there, but I think that for 0.88 we need something
> > simpler to implement.
>
> Struggling to think of a friendly alternative, best I have just now is to
> keep the palette open until the successful connection is made, you'd be
> looking at a "connecting..." message or spinner of some kind (hopefully with
> an option to cancel); once an error/timeout is reached you are left looking
> at that message in the palette (until you click away).
>
> If the GSM device is not yet configured via the CP, should the device
> palette just report that as the error (ideally with an entry to jump to the
> CP, but that can be a future feature).
>
> Keep in mind we'll have similar UI needs for other devices needing
> configuration (i.e. certainly the printer device GSOC project, if it ever
> make it in to Sugar). Could be nice to offer a jump to the CP option for
> other devices as well in the future (battery device could provide a jump to
> the CP energy saving module; wifi device could provide a jump to the CP
> network module).
>
> >>> the options? Didn't Eben suggested once to add an option to be able to
> >>> launch the CP from within the device?
> >>
> >> Yeah, I think hot-linking directly to the CP module for variouos
> >> devices would be a logical addition.
> >
> > Excellent feature for 0.90.
>
> +1 That seems very sane and useful.
>
> Regards,
> --Gary




-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601 57 73
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Tickets status - 3G Feature

2010-02-12 Thread Daniel Castelo
Just to be sure that we have the same status about this tickets.

The ticket 1652 "Add Connection Information to 3G (GSM) Modem Support" was
applied, but after that I received some improves to do. I could fix some of
theme (see the ticket information).

The ticket 1654 "Add Pin/Puk Configuration to 3G (GSM) Modem Support" was
not applied. I corrected some bugs produced by a previous merge with head. I
supposed that this patch will be applied in the next Sugar Version.

Regards, Daniel

-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] 0.88 Meeting --- 20. Feb 2010 (15:30 UTC)

2010-02-19 Thread Daniel Castelo
I Almost certain that I could participate at  15:30 UTC, I dont know later.

On Fri, Feb 19, 2010 at 1:16 PM, Eben Eliason wrote:

> I,too, will be unavailable. I'm out of town for the weekend so don't
> try to schedule around me, but I look forward to reviewing the meeting
> notes and/or summary of findings.
>
> Eben
>
>
> On Fri, Feb 19, 2010 at 10:12 AM, Christian Marc Schmidt
>  wrote:
> > Hi Simon--unfortunately I won't be able to make it this Saturday, but I
> > really would like to hear the outcome of the tests. Could we move the
> > meeting to later that day, say around 2pm EST?
> >
> > Christian
> >
> >
> > On Thu, Feb 18, 2010 at 3:12 AM, Simon Schampijer 
> > wrote:
> >>
> >> Sorry, of course the meeting is the 20th of February.
> >>
> >> Regards,
> >>   Simon
> >>
> >> On 02/18/2010 09:11 AM, Simon Schampijer wrote:
> >>>
> >>> Hi,
> >>>
> >>> this Saturday we will have our bi-weekly design meeting. We will chat
> >>> about the outcome of the testing of the "Start new" vs "Resume"
> behavior.
> >>>
> >>> As a second item I would like to discuss the questions raised regarding
> >>> the 3G Feature by Daniel [1]. Daniel, if you have time on Saturday, it
> >>> would be great if you could attend.
> >>>
> >>> Thanks,
> >>> Simon
> >>>
> >>> Channel: #sugar-meeting (irc.frenode)
> >>> Time: 15:30 UTC
> >>>
> >>> [1]
> >>>
> http://lists.sugarlabs.org/archive/sugar-devel/2010-February/022541.html
> >>
> >
> >
> >
> > --
> > anyth...@christianmarcschmidt.com
> > 917/ 575 0013
> >
> > http://www.christianmarcschmidt.com
> > http://www.linkedin.com/in/christianmarcschmidt
> > http://twitter.com/cms_
> >
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [DESIGN] Design Meeting Summary (3G Support)

2010-02-20 Thread Daniel Castelo
*Design Meeting Summary*

   - Apply Ebens Mockup to the 3G Connection Pallete. (
   http://wiki.sugarlabs.org/go/File:3G_device.png).

We have the icons:
sugar-artwork/icons/scalable/actions/go-down.svg
sugar-artwork/icons/scalable/actions/go-up.svg
sugar-artwork/icons/scalable/actions/media-eject.svg

   - Display the connection errors in a similar way that Alert shown when
   control panel configurations requires restart.  Will be great if Eben
   could make a mockup adding this.


   - The Device icon should change when the connection is established (we
   need a new device icon for this)


   - Align the control panel options (left align) and write a better
   description of each field (For the next version the wizard made by aa could
   be added http://bugs.sugarlabs.org/ticket/1630)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Showing 3G Connection Errors

2010-02-26 Thread Daniel Castelo
I created this ticket:
http://bugs.sugarlabs.org/ticket/1759

I send the patch by email because Trac gives this error:

Submission rejected as potential spam (Akismet says content is spam, Content
contained these blacklisted patterns: 'LED')

Martin, could you test it?

On Fri, Feb 26, 2010 at 3:23 PM, Tomeu Vizoso  wrote:

> On Fri, Feb 26, 2010 at 18:21, Martin Abente 
> wrote:
> > After reading all the comments about this issue, I still can't see a
> > solution that pleases everyone, so, shouldn't we just do the "displaying
> > errors at the palette" for now? thats better than nothing. And if we find
> a
> > better solution later we change it.
>
> This may be the best we can do for 0.88.
>
> Regards,
>
> Tomeu
>
> > tch,
> > ___
> > 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
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy


0002-Showing-Errors-Palette-Mockup.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Status of printing support?

2010-03-05 Thread Daniel Castelo
I have spoken with the developers of the GoSC [1] Andres Ambrois and Vamsi
Krishna Davuluri about this topic, some time ago I've spoken with Tomeu too.
I have read the discussion about this topic on the list [2] and I am not
sure if the community has a consensus about the solution.

About GoSC, I have tested the Print activity and works fine.

I've wrote a new wiki page about this feature, with the goal of separate the
work done on GoSC and the feature that we want in Sugar [3].  A solution
could be add an option to the journal to print some types of entries. Here
in Uruguay the first goal is to bring the possibility of print using a local
printer.

I know that Vamsi wants to work on this feature, and obviously me too.


Finally, sorry for the delay!

[1]
http://wiki.sugarlabs.org/go/Summer_of_Code/2009/Print_Support

[2]
http://lists.sugarlabs.org/archive/sugar-devel/2009-April/013921.html
http://lists.sugarlabs.org/archive/sugar-devel/2009-May/014166.html

[3]
http://wiki.sugarlabs.org/go/Features/Print_Support

On Sun, Feb 28, 2010 at 6:11 PM, Christoph Derndorfer <
christoph.derndor...@gmail.com> wrote:

> Hi all,
>
> since a teacher at the Austrian pilot project asked whether Sugar would
> support printing in the forseeable I was wondering what the current status
> in this area was?
>
> Last time I checked (back in August) the GSoC project hadn't evolved beyond
> a very early prototype that I personally couldn't get to run. Looking around
> the mailing list and the wiki I couldn't find any updated information so is
> it safe to assume that little to no progress has been made in that area? Or
> did I simply miss something?
>
> Also I remember Daniel from Plan Ceibal talking about the desire to make
> that happen based on demands from Uruguay.
>
> @Daniel, any news from South America when it comes to this?
>
> Thanks in advance,
> Christoph
>
> --
> Christoph Derndorfer
> co-editor, olpcnews
> url: www.olpcnews.com
> e-mail: christ...@olpcnews.com
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 3g dependencies

2010-03-08 Thread Daniel Castelo
Maybe the option.ko driver.
We have added this module to XO image: http://dev.laptop.org/ticket/9684


On Mon, Mar 8, 2010 at 1:36 PM, Tomeu Vizoso  wrote:

> On Mon, Mar 8, 2010 at 16:32, Martin Langhoff 
> wrote:
> > On Mon, Mar 8, 2010 at 10:26 AM, Tomeu Vizoso 
> wrote:
> >> which new dependencies we need to advertise in Sugar because of the
> >> work in 3g devices?
> >
> > Do they need to be dependencies (from a packaging PoV)? Always better
> > to discover if the needed component is there at startup/runtime and
> > offer the extra functionality... if possible... NM already does this
> > for a number of components (ppptp, etc).
>
> Yup, this is for documentation purposes, oriented towards packagers,
> distributors and deployers. They will do whatever they want, but we
> wanted to document these dependencies.
>
> Regards,
>
> Tomeu
>
> > 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
> >
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Status of printing support?

2010-04-05 Thread Daniel Castelo
I haven't made any relevant progress in this feature. As I said in my last
email, I don't know if community has reached a concensus about this feature.

On Sun, Mar 28, 2010 at 11:28 PM, Vamsi Krishna Davuluri <
vamsi.davul...@gmail.com> wrote:

> Sorry about the long hiatus. I Had to go places for my
> thesis; almost done with Engg. school.
>
> Daniel, would be nice if you can update me with what
> you've worked out on. I will be free full time, and will
> definitely work on integrating it.
>
> Regards,
> Vamsi
>
> On Fri, Mar 5, 2010 at 10:35 PM, Daniel Castelo <
> dcast...@plan.ceibal.edu.uy> wrote:
>
>> I have spoken with the developers of the GoSC [1] Andres Ambrois and Vamsi
>> Krishna Davuluri about this topic, some time ago I've spoken with Tomeu too.
>> I have read the discussion about this topic on the list [2] and I am not
>> sure if the community has a consensus about the solution.
>>
>> About GoSC, I have tested the Print activity and works fine.
>>
>> I've wrote a new wiki page about this feature, with the goal of separate
>> the work done on GoSC and the feature that we want in Sugar [3].  A solution
>> could be add an option to the journal to print some types of entries. Here
>> in Uruguay the first goal is to bring the possibility of print using a local
>> printer.
>>
>> I know that Vamsi wants to work on this feature, and obviously me too.
>>
>>
>> Finally, sorry for the delay!
>>
>> [1]
>> http://wiki.sugarlabs.org/go/Summer_of_Code/2009/Print_Support
>>
>> [2]
>> http://lists.sugarlabs.org/archive/sugar-devel/2009-April/013921.html
>> http://lists.sugarlabs.org/archive/sugar-devel/2009-May/014166.html
>>
>> [3]
>> http://wiki.sugarlabs.org/go/Features/Print_Support
>>
>>
>> On Sun, Feb 28, 2010 at 6:11 PM, Christoph Derndorfer <
>> christoph.derndor...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> since a teacher at the Austrian pilot project asked whether Sugar would
>>> support printing in the forseeable I was wondering what the current status
>>> in this area was?
>>>
>>> Last time I checked (back in August) the GSoC project hadn't evolved
>>> beyond a very early prototype that I personally couldn't get to run. Looking
>>> around the mailing list and the wiki I couldn't find any updated information
>>> so is it safe to assume that little to no progress has been made in that
>>> area? Or did I simply miss something?
>>>
>>> Also I remember Daniel from Plan Ceibal talking about the desire to make
>>> that happen based on demands from Uruguay.
>>>
>>> @Daniel, any news from South America when it comes to this?
>>>
>>> Thanks in advance,
>>> Christoph
>>>
>>> --
>>> Christoph Derndorfer
>>> co-editor, olpcnews
>>> url: www.olpcnews.com
>>> e-mail: christ...@olpcnews.com
>>>
>>
>>
>>
>> --
>> Ing. Daniel Castelo
>> Plan Ceibal - Área Técnica
>> Avda. Italia 6201
>> Montevideo - Uruguay.
>> Tel.: 601.57.73 Interno 2228
>> E-mail : dcast...@plan.ceibal.edu.uy
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Get Books in ASLO?

2010-04-29 Thread Daniel Castelo
I got the last version from http://dev.laptop.org/~sayamindu/GetBooks-5.xo.
But is necesary add it to ASLO.
I have a question. Is GetBooks like a new version of "Get Internet Archive
Books"? "Get Internet Archive Books" should be removed of ASLO?

I made some little improves to GetBooks, like

* The possibility of open the book just downloaded
* The possibility of see and open the downloaded books that remains in
journal

I sent this improves to Sayamindu

I made a new version of Get Books: "Get Books Ceibal" because we want to
open our own repository of books.


On Tue, Apr 27, 2010 at 9:36 PM, James Simmons  wrote:

> Sayamindu,
>
> As I had mentioned before, I am making a FLOSS Manual on e-book
> reading and Sugar.  I wanted to include a mention of your Get Books
> Activity in there, and I was surprised to find that Get Books is not
> in ASLO.  I really think it ought to be at this point.
>
> James Simmons
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar Labs Roadmap.

2013-12-10 Thread Daniel Castelo
Just to share information about Uruguay. Here we gave classmate machines to
some of our teachers. They prefer this laptops, instead of XO, because have
a better overall performance.

This machines have Ubuntu with Sugar Sweets Distribution. We prefer Ubuntu,
instead of Fedora as Linux Distribution, because has Long Term Support.
Additionally this, the provider has more experience in this distribution.

Today we use Fedora because is the Operating System of OLPC, but in case we
start to use other hardware we will prefer other linux distributions.

Regards

Daniel




2013/12/8 Peter Robinson 

> On Fri, Nov 8, 2013 at 12:10 PM, Walter Bender 
> wrote:
> > On Fri, Nov 8, 2013 at 5:33 AM, Daniel Narvaez 
> wrote:
> >> Top posting again, sorry.
> >>
> >> - Future availability of the XO
> >>
> >> From my perspective I don't see alternatives to a wait and see approach.
> >> Maybe someone more into OLPC things does though...
> >>
> >> - Hardware alternatives
> >>
> >> A few good options was brought in the other threads, a couple for
> >> deployments
> >>
> >> * Classmate
> >
> > Classmate and Classmate variants are already quick wide spread in some
> > deployments, e.g., Argentina
> >
> >> * Chromebook
> >
> > At least one deployment is looking at this option.
>
> Another option that while not perfect at the moment is some of the new
> x86 ‘Bay Trail’ based Windows tablets such as the Dell Venue 8 Pro or
> similar models from other manufacturers. The linux experience on them
> at the moment is far from great but I don't believe it'll be long
> before they're quite usable for people that wish to use sugar via
> tablet.
>
> >> Another couple more for community evaluation (evaluation, testing,
> >> marketing)
> >>
> >> * Linux compatible ARM boards
> >> * Virtualbox
> >
> > SoaS is our current offering for Virtualbox (As you pointed out in a
> > previous thread, it is a two-step process to install. In my
> > experience, that is 1 too many for our audience. Something we may be
> > able to address by approaching some of the VM suppliers.)
>
> The virtual box image, which isn't supported by me, is a terrible
> experience. It's almost impossible to support well and with a single
> click this form of deployment. Unfortunately this method of deployment
> is far from straight forward for the average end user without
> technical assistance.
>
> Peter
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Jefe de Desarrollo en Dispositivos
Plan Ceibal

Avda. Italia 6201 - Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2030
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Get Books in ASLO?

2010-05-04 Thread Daniel Castelo
On Thu, Apr 29, 2010 at 10:29 PM, James Simmons  wrote:

> Daniel,
>
> Get Books shares a fair amount of code (and an icon) with Get Internet
> Archive Books but is not a new version of it.  GB uses OPDS (Open
> Publication and Distribution System) which means it can support any
> source of books that uses that system.  I would *not* make a Get Books
> Ceibal.  What I would do is add your server as one of the possible
> book sources the Activity supports.  Currently it supports Internet
> Archive and Feedbooks plus "Library on a Stick" situations like the
> one the Rural Design Collective made from the Internet Archive
> Children's Book Collection.  Yours could (and should) be a fourth
> source.  Ultimately there should be a mechanism to add user-defined
> book sources to Get Books.
>
>
I think that this would be the best solution.


> As for Get Internet Archive Books, it use the Internet Archive
> Advanced Search, which is specific to IA.  It has some features not
> supported in Get Books so I feel it should continue to exist awhile
> longer.  I also have a Project Gutenberg-specific book search in Read
> Etexts and I think that needs to stay around awhile longer too.  OPDS
> is the future, my stuff is the imperfect present.
>
> I'm actually trying to write a FLOSS Manual that makes sense of our
> reading platform, helps people find the books they need, and also
> helps them create and publish their own e-books.
>
> Sounds really interesting and useful.

I got my own copy of GB from Git but if I'm going to recommend it in
> my book it really needs to be in ASLO.
>
> James Simmons
>
>
> On Thu, Apr 29, 2010 at 1:02 PM, Daniel Castelo
>  wrote:
> > I got the last version from
> http://dev.laptop.org/~sayamindu/GetBooks-5.xo<http://dev.laptop.org/%7Esayamindu/GetBooks-5.xo>
> .
> > But is necesary add it to ASLO.
> > I have a question. Is GetBooks like a new version of "Get Internet
> Archive
> > Books"? "Get Internet Archive Books" should be removed of ASLO?
> >
> > I made some little improves to GetBooks, like
> >
> > * The possibility of open the book just downloaded
> > * The possibility of see and open the downloaded books that remains
> in
> > journal
> >
> > I sent this improves to Sayamindu
> >
> > I made a new version of Get Books: "Get Books Ceibal" because we want to
> > open our own repository of books.
> >
> >
> > On Tue, Apr 27, 2010 at 9:36 PM, James Simmons 
> wrote:
> >>
> >> Sayamindu,
> >>
> >> As I had mentioned before, I am making a FLOSS Manual on e-book
> >> reading and Sugar.  I wanted to include a mention of your Get Books
> >> Activity in there, and I was surprised to find that Get Books is not
> >> in ASLO.  I really think it ought to be at this point.
> >>
> >> James Simmons
> >> ___________
> >> Sugar-devel mailing list
> >> Sugar-devel@lists.sugarlabs.org
> >> http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
> >
> > --
> > Ing. Daniel Castelo
> > Plan Ceibal - Área Técnica
> > Avda. Italia 6201
> > Montevideo - Uruguay.
> > Tel.: 601.57.73 Interno 2228
> > E-mail : dcast...@plan.ceibal.edu.uy
> >
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Support for EPUB with Read in sugar-jhbuild?

2010-05-04 Thread Daniel Castelo
I have tested your activity FBReader and i found some problems:

* If "rainbow" is enabled the activity doesn't work.
* If I open a book, i have to remove the content of "activity/instance/"
folder for open it again.

I know that this activity has sense on sugar 0.82. In sugar 0.84 I am able
to use the activity Read. However, in sugar 0.84 I have some problems with
"Read". When I want to change the page the activity get stuck. Maybe this
depend on the epub format version that I am testing.

Do you know if the activity FBReader for sugar 0.82 and the activity Read
for 0.84 have some problem?


On Mon, Apr 26, 2010 at 5:06 PM, Sayamindu Dasgupta wrote:

> On Sun, Apr 25, 2010 at 10:20 PM, Bernie Innocenti 
> wrote:
> > On Sat, 2010-04-24 at 22:21 -0500, James Simmons wrote:
> >> 1). How do I get Read as delivered by sugar-jhbuld to work with EPUBs?
> >>
> >> 2). Does Read support EPUBs on SoaS right now?  If not, what are our
> >> future plans regarding EPUB support?
> >
> > The only Linux reader that supports EPUB seems to be KDE's Okular,
> > through libepub (ebook-tools). Moreover, Okular does not seem to
> > dynamically reflow the text, which was the only useful feature EPUB had
> > over PDF.
> >
> > Anyway, if we *do* support it, does it have to be in Read? Can't we have
> > one activity per file format instead? It may be simpler from a
> > maintenance and UI design PoV. Besides, EPUB resembles more HTML than
> > PDF.
> >
> >
>
> Read supports EPUB if the right dependencies are installed. However,
> for OLPC 8.2.x builds, one has to use FBReader Activity
> (http://dev.laptop.org/~sayamindu/FBReader-4.xo<http://dev.laptop.org/%7Esayamindu/FBReader-4.xo>is
>  the latest
> version). It's an ugly hack, but it works.
> 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
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] jhbuild execution error

2010-05-13 Thread Daniel Castelo
When I run the last version of jhbuild  ./sugar-jhbuild run sugar-emulator
the emulator doesn't start.
This is the Shell.log output:

1273756965.523033 DEBUG root: STARTUP: Loading the mesh view
1273756965.558274 DEBUG root: Not an activity icon <_MyIcon object at
0x9d091bc (SugarFavoritesMyIcon at 0x9dad488)>
1273756965.558593 DEBUG root: Not an activity icon 
1273756965.612840 DEBUG sugar.presence.presenceservice: Reused proxy 
python: symbol lookup error:
/home/latu/sugar-jhbuild5May/install/lib/gtk-2.0/2.10.0/engines/libsugar.so:
undefined symbol: gtk_widget_is_sensitive

Any Idea?

Thanks!!!


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Bookserver for deployments

2010-05-13 Thread Daniel Castelo
Hi!
Where can I find the script to create the database?

Regards
Daniel


On Wed, May 12, 2010 at 5:42 PM, Sayamindu Dasgupta wrote:

> Hello,
> Kushal and I have been working on a bookserver, which we believe,
> would help deployments to distribute ebooks easily via the school
> server/or any centralized infrastructure (with the help of Get Books
> activity running at the Sugar end).
> The Bookserver follows the OPDS standard¹ and presents various ways to
> add/manage ebooks (web based interface, mass add via CSV files, mass
> add from a directory, etc).
> The code lives in http://github.com/sayamindu/pathagar
> We haven't yet made a release since the implementation is not fully
> compliant with OPDS. However, we do try to keep the code in a runnable
> state, so anyone who is interested can easily check it out.
> Thanks,
> Sayamindu
>
>
> [1] http://code.google.com/p/openpub/wiki/CatalogSpecDraft
>
> --
> Sayamindu Dasgupta
> [http://sayamindu.randomink.org/ramblings]
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Bookserver for deployments

2010-05-13 Thread Daniel Castelo
I answer to myself

python manage.py syncdb


On Thu, May 13, 2010 at 3:14 PM, Daniel Castelo  wrote:

> Hi!
> Where can I find the script to create the database?
>
> Regards
> Daniel
>
>
>
> On Wed, May 12, 2010 at 5:42 PM, Sayamindu Dasgupta 
> wrote:
>
>> Hello,
>> Kushal and I have been working on a bookserver, which we believe,
>> would help deployments to distribute ebooks easily via the school
>> server/or any centralized infrastructure (with the help of Get Books
>> activity running at the Sugar end).
>> The Bookserver follows the OPDS standard¹ and presents various ways to
>> add/manage ebooks (web based interface, mass add via CSV files, mass
>> add from a directory, etc).
>> The code lives in http://github.com/sayamindu/pathagar
>> We haven't yet made a release since the implementation is not fully
>> compliant with OPDS. However, we do try to keep the code in a runnable
>> state, so anyone who is interested can easily check it out.
>> Thanks,
>> Sayamindu
>>
>>
>> [1] http://code.google.com/p/openpub/wiki/CatalogSpecDraft
>>
>> --
>> Sayamindu Dasgupta
>> [http://sayamindu.randomink.org/ramblings]
>> _______
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
>
> --
> Ing. Daniel Castelo
> Plan Ceibal - Área Técnica
> Avda. Italia 6201
> Montevideo - Uruguay.
> Tel.: 601.57.73 Interno 2228
> E-mail : dcast...@plan.ceibal.edu.uy
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] jhbuild execution error

2010-05-13 Thread Daniel Castelo
On Thu, May 13, 2010 at 3:26 PM, Bernie Innocenti wrote:

> El Thu, 13-05-2010 a las 10:28 -0300, Daniel Castelo escribió:
> > When I run the last version of jhbuild  ./sugar-jhbuild run
> > sugar-emulator the emulator doesn't start.
> > This is the Shell.log output:
> >
> > 1273756965.523033 DEBUG root: STARTUP: Loading the mesh view
> > 1273756965.558274 DEBUG root: Not an activity icon <_MyIcon object at
> > 0x9d091bc (SugarFavoritesMyIcon at 0x9dad488)>
> > 1273756965.558593 DEBUG root: Not an activity icon
> > 
> > 1273756965.612840 DEBUG sugar.presence.presenceservice: Reused proxy
> > 
> > python: symbol lookup
> > error:
> /home/latu/sugar-jhbuild5May/install/lib/gtk-2.0/2.10.0/engines/libsugar.so:
> undefined symbol: gtk_widget_is_sensitive
>
> Are you perhaps using an old Linux distribution?
>

I am using Fedora 11. Maybe is time to update me.

>
> sugar-artwork will silently miscompile if GTK does not contain some of
> the required symbols.
>
> I've posted a patch to make it fail noisily (see below). Benjamin, can
> you ACK it, please?
>
> Besides, we should probably update configure.ac to require the minimum
> version of GTK which contains gtk_widget_is_sensitive().
>
>
>
> From: Bernie Innocenti 
> Date: Tue, 11 May 2010 18:44:12 -0400
> Subject: [PATCH] sugar-artwork: stricter compiler flags
> Organization: Sugar Labs Foundation
> X-Subversion: sucks
>
> WARN_CFLAGS was already used in gtk/engine/Makefile.am, but not
> initialized by configure.
>
> For backwards compatibility, GCC's by default is very permissive.
> In my case, it was silently miscompiling code which was calling
> a non-existent GTK function. For this particular case, the
> proposed WARN_CFLAGS should make the build fail early in this case.
>
> I'm not proposing -Werror because it frequetly results in broken
> builds for trivial reasons when distros update the toolchain.
>
> Signed-off-by: Bernie Innocenti 
> Reviewed-by: James Cameron 
> Tested-by: James Cameron 
> ---
>  configure.ac |6 +-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index f32dd32..c9f5c26 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -11,6 +11,10 @@ AM_DISABLE_STATIC
>
>  PKG_PROG_PKG_CONFIG([0.19])
>
> +dnl These catch plenty of subtle bugs and miscompilation problems
> +WARN_CFLAGS="-Wall -W -Werror=implicit-function-declaration"
> +AC_SUBST(WARN_CFLAGS)
> +
>  AC_PROG_CC
>  AC_HEADER_STDC
>  AC_PROG_LIBTOOL
> @@ -21,7 +25,7 @@ if test -z "$ICON_SLICER"; then
>  fi
>
>  PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0,,
> - AC_MSG_ERROR([GTK+-2.0 is required to compile
> redhat-artwork]))
> + AC_MSG_ERROR([GTK+-2.0 is required to compile
> sugar-artwork]))
>
>  GDK_PIXBUF2_CFLAGS=`$PKG_CONFIG --cflags gdk-pixbuf-2.0`
>  GDK_PIXBUF2_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
> --
> 1.7.0.1
>
> --
>   // Bernie Innocenti - http://codewiz.org/
>  \X/  Sugar Labs   - http://sugarlabs.org/
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] 3G Support: show connection errors- Patch 1759

2010-05-18 Thread Daniel Castelo
 self._device = device
diff --git a/src/jarabe/model/network.py b/src/jarabe/model/network.py
index 3a949da..579ed8d 100644
--- a/src/jarabe/model/network.py
+++ b/src/jarabe/model/network.py
@@ -54,6 +54,13 @@ NM_ACTIVE_CONNECTION_STATE_UNKNOWN = 0
 NM_ACTIVE_CONNECTION_STATE_ACTIVATING = 1
 NM_ACTIVE_CONNECTION_STATE_ACTIVATED = 2

+NM_DEVICE_STATE_REASON_NO_SECRETS = 7
+NM_DEVICE_STATE_REASON_PPP_DISCONNECT = 13
+NM_DEVICE_STATE_REASON_PPP_FAILED = 14
+NM_DEVICE_STATE_REASON_MODEM_NO_CARRIER = 25
+NM_DEVICE_STATE_REASON_MODEM_DIAL_TIMEOUT = 26
+NM_DEVICE_STATE_REASON_GSM_PIN_CHECK_FAILED = 34
+
 NM_802_11_AP_FLAGS_NONE = 0x
 NM_802_11_AP_FLAGS_PRIVACY = 0x0001

@@ -444,17 +451,22 @@ class NMSettingsConnection(dbus.service.Object):
 def GetSecrets(self, setting_name, hints, request_new, reply, error):
 logging.debug('Secrets requested for connection %s request_new=%s',
 self.path, request_new)
-if request_new or self._secrets is None:
-# request_new is for example the case when the pw on the AP
changes
-response = SecretsResponse(self, reply, error)
-try:
-self.secrets_request.send(self, response=response)
-except Exception:
-logging.exception('Error requesting the secrets via
dialog')
-else:
-reply(self._secrets.get_dict())
-
-
+if self._settings.connection.type is not 'gsm':
+if request_new or self._secrets is None:
+# request_new is for example the case when the pw on
the AP changes
+response = SecretsResponse(self, reply, error)
+try:
+self.secrets_request.send(self, response=response)
+except Exception:
+logging.exception('Error requesting the secrets via
dialog')
+else:
+reply(self._secrets.get_dict())
+else:
+if not request_new:
+reply(self._secrets.get_dict())
+else:
+raise Exception('The stored GSM secret has already been
supplied ')
+
 class AccessPoint(gobject.GObject):
 __gsignals__ = {
 'props-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE,
-- 
1.6.2.5


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 3G Support: show connection errors- Patch 1759

2010-05-19 Thread Daniel Castelo
On Wed, May 19, 2010 at 1:47 AM, James Cameron  wrote:

> On Tue, May 18, 2010 at 04:26:44PM -0300, Daniel Castelo wrote:
> > I have this ticket pending, could you give your feedback? Thanks!!!
> > http://bugs.sugarlabs.org/ticket/1759
> >
> > This patch improves the feature 3G Support (added in 0.88).
>
> It was also backported to 0.84, so the mention of 0.88 is probably
> unnecessarily restrictive.
>

The patch was created before that the feature has been backported


> Also, the same changes apply to other wireless network types, not just
> 3G, so I don't think "3G Support" is the right description.
>

Maybe you are right, but the feature has this name:
http://wiki.sugarlabs.org/go/Features/3G_Support



> By the way, if you produce a 0.84 re-spin, then I can easily test it for
> you.  See sucrose-0.84 branch in
> git://git.sugarlabs.org/sugar/mainline.git
>
> Backporting this patch to 0.84 is not trivial, i will try.


> > Includes:
> > Show the connection errors
> > Apply Eben's Mockup:  http://wiki.sugarlabs.org/go/File:3G_device.png
> >
> >
> > ---
> > index 94a4293..995446c 100644
> > --- a/extensions/deviceicon/network.py
> > +++ b/extensions/deviceicon/network.py
> > @@ -267,35 +282,89 @@ class GsmPalette(Palette):
>
> ...
>
> > +def _get_error_by_nm_reason(self, reason):
> > +if reason in [network.NM_DEVICE_STATE_REASON_NO_SECRETS,
> > network.NM_DEVICE_STATE_REASON_GSM_PIN_CHECK_FAILED]:
> > +message = _('The Pin/Puk configuration is not valid.')
>
> There can be other explanations for this reason, such as incorrect SIM
> inserted.  It is better to stick to the meaning; "PIN check failed."
>
> +elif reason in [network.NM_DEVICE_STATE_REASON_PPP_DISCONNECT,
> > network.NM_DEVICE_STATE_REASON_PPP_FAILED]:
> > +message = _('Check the APN configuration.')
>
> While APN is indeed known to cause PPP_DISCONNECT and PPP_FAILED, there
> are many other reasons, and so it is incorrect to specifically identify
> APN as the only cause.  An invalid APN is a common cause, but not the
> only cause.  Another cause commonly seen is lack of radio signal or
> antenna.
>

Maybe we have to shown two messages, the error message ("PPP_DISCONNECT")
and a possible solution to the user ("Check the APN configuration.")


>
> Also, "Access Point Name (APN)" is how it is described in the Modem
> Configuration control panel, and so that is how you should describe it
> in a message.
>
> > +elif reason in
> [network.NM_DEVICE_STATE_REASON_MODEM_NO_CARRIER]:
> > +message = _('Check the tel number configuration.')
>
> Again, this is not the only reason this can occur.
>
> Also, "tel number" is not the way it is described in the control panel,
> it uses "Number".
>
> > +elif reason in
> [network.NM_DEVICE_STATE_REASON_MODEM_DIAL_TIMEOUT]:
> > +message = _('Time out. Check the tel configuration')
>
> "tel number" should be "Number".
>
> > +else:
> > +message = _('Unexpected error.')
>
> More should be handled.
>
> > +return message
> > +
> >  def __toggle_state_cb(self, menuitem):
> >  if self._current_state == _GSM_STATE_NOT_READY:
> >  pass
>
> ...
>
> > index 3a949da..579ed8d 100644
> > --- a/src/jarabe/model/network.py
> > +++ b/src/jarabe/model/network.py
> > @@ -54,6 +54,13 @@ NM_ACTIVE_CONNECTION_STATE_UNKNOWN = 0
> >  NM_ACTIVE_CONNECTION_STATE_ACTIVATING = 1
> >  NM_ACTIVE_CONNECTION_STATE_ACTIVATED = 2
> >
> > +NM_DEVICE_STATE_REASON_NO_SECRETS = 7
> > +NM_DEVICE_STATE_REASON_PPP_DISCONNECT = 13
> > +NM_DEVICE_STATE_REASON_PPP_FAILED = 14
> > +NM_DEVICE_STATE_REASON_MODEM_NO_CARRIER = 25
> > +NM_DEVICE_STATE_REASON_MODEM_DIAL_TIMEOUT = 26
> > +NM_DEVICE_STATE_REASON_GSM_PIN_CHECK_FAILED = 34
>
> You seem to have selected a subset of available NM_DEVICE_STATE_REASON
> values.  A larger list is at
>
> http://projects.gnome.org/NetworkManager/developers/spec.html


I have consult this list. We try to catch just the most common messages.

>
> and shows several reasons that an Australian deployment would expect to
> encounter with the Australian wireless broadband provider networks.
>
> I think more reasons should be handled.
>
>
I'd like to know which error messages we should show in each case.

Thanks for your comments/corrections!


> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 3G Support: show connection errors- Patch 1759

2010-05-19 Thread Daniel Castelo
You can find the patch atached to the ticket:
http://bugs.sugarlabs.org/ticket/1759.


On Wed, May 19, 2010 at 2:07 AM, James Cameron  wrote:

> Oh, and your patch got wrapped or distorted ... "git am" gave errors ...
> please try to send it as a plain text mail, test it by sending to
> yourself and trying to apply the patch to a cloned repo.  Once this
> work, send to the mailing list.
>
> Apprently "git send-email" can work well, if you have a well configured
> mail system.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Problems adapting activity

2010-06-08 Thread Daniel Castelo
Have you read this tutorial?

http://en.flossmanuals.net/ActivitiesGuideSugar

On Tue, Jun 8, 2010 at 3:29 PM, Alberto Arruda de Oliveira <
alberto.a.o...@gmail.com> wrote:

> Hello,
>
> Recently, I've been trying to adapt a software a friend developed into an
> activity, but since I'm a bit newbie when it comes to sugar development, I'm
> having some trouble doing it.
>
> I've followed the tutorials in
>
> http://wiki.laptop.org/go/Creating_an_activity
>
> http://wiki.laptop.org/go/Activity_tutorial
>
> http://wiki.laptop.org/go/Activity_bundles
>
> with no success.
>
> I run the setup.py file on my computer, create the .xo package, export it
> to the XO system, install it and restart. The activity icon shows up, but
> when I click it, it stays on the loading screen ( white with the activity
> icon blinking ) but doesn't load the program.
>
> I'm trying to run it on an emulated image.
>
> Also, keep in mind that the software itself wasn't developed with the XO in
> mind, so, maybe I need to change something on the source code to make it
> work.
>
> Thank you for your help
>
>
>
> _______
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] control panel window

2010-06-24 Thread Daniel Castelo
If control panel window covers all the screen we will have less horizontal
scrolls. I think that will be more usefull for users.


On Thu, Jun 24, 2010 at 1:03 PM, Tomeu Vizoso  wrote:

> Hi,
>
> have heard in IRC that users are confused by the remainings of the
> screen that are displayed around the control panel dialog.
>
> The person reporting the issue believes that having the control panel
> window covering the whole screen would help.
>
> Anybody has any insights of which is this problem really about and
> which alternatives we have?
>
> Thanks,
>
> Tomeu
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Pathagar issue: I figured it out

2010-07-12 Thread Daniel Castelo
Sayamindu, Congrats for this work. I have tested it and seem very usefull.


On Sun, Jul 11, 2010 at 6:02 PM, Sameer Verma  wrote:

> On Sat, Jul 10, 2010 at 3:20 PM, James Simmons  wrote:
> > Sayamindu,
> >
> > I figured out how to set up Pathagar and get it running.  I'm going to
> > be writing it up in my book.
> >
> > One comment: the book list shows the books in sequence by how they
> > were entered into the database.  I would think other sort sequences
> > would be more useful.
> >
> > Second comment: I'd make the pictures for the book cover display
> > larger.  You have the space on the page, why not use it?  Also, I
> > wouldn't necessarily call it a "cover".  Books in the public domain
> > don't have nice book jackets, but they do have nice title pages,
> > interior illustrations, etc.  The image that represents the book best
> > is not necessarily its cover.
> >
> > I ended up commenting out the entries in settings.py that refer to the
> > debug toolbar.  You might put in comments showing how to do that.
> >
> > James Simmons
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
> I did the same...commented out the debug stuff. Nice project!  I can
> see how this would be immensely useful on a school server where
> books/media have to be served outside of a "course", like a local
> public library.
>
> cheers,
> Sameer
> --
> Dr. Sameer Verma, Ph.D.
> Associate Professor, Information Systems
> Director, Campus Business Solutions
> San Francisco State University
> http://verma.sfsu.edu/
> http://opensource.sfsu.edu/
> http://cbs.sfsu.edu/
> http://is.sfsu.edu/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Pathagar issue with Django middleware

2010-07-12 Thread Daniel Castelo
You could edit "settings.py" and comment this lines:

INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
#'debug_toolbar',
'pathagar.books'
)

MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
#'debug_toolbar.middleware.DebugToolbarMiddleware',
)


On Sat, Jul 10, 2010 at 1:28 PM, James Simmons  wrote:

> I am trying to install pathagar on Fedora 11.  Everything seems to
> work OK until I get to accessing the server on port 8000, then I get
> this:
>
> Traceback (most recent call last):
>
>  File "/usr/lib/python2.6/site-packages/django/core/servers/basehttp.py",
> line 279, in run
>self.result = application(self.environ, self.start_response)
>
>  File "/usr/lib/python2.6/site-packages/django/core/servers/basehttp.py",
> line 651, in __call__
>return self.application(environ, start_response)
>
>  File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py",
> line 230, in __call__
>self.load_middleware()
>
>  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py",
> line 42, in load_middleware
>raise exceptions.ImproperlyConfigured, 'Error importing middleware
> %s: "%s"' % (mw_module, e)
>
> ImproperlyConfigured: Error importing middleware
> debug_toolbar.middleware: "No module named debug_toolbar.middleware"
>
> Obviously siomething is missing, but I'm having a hard time figuring
> out what.  Can you point mein the right direction?
>
> Thanks,
>
> James Simmons
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Problem with Jhbuild and Fedora 11

2010-07-14 Thread Daniel Castelo
I think that we talked about this problem before, I want to install jhbuild
on fedora 11 and I get this error message. Seems like the problem is a
dependency between jhbuild and gtk.
should Jhbuild work over f11?
___

checking for METACITY_MESSAGE... configure: error: Package requirements
(gtk+-2.0 >= 2.20.0) were not met:

Requested 'gtk+-2.0 >= 2.20.0' but version of GTK+ is 2.16.6

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables METACITY_MESSAGE_CFLAGS
and METACITY_MESSAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

*** Error during phase configure of metacity: ## Error running
./autogen.sh --prefix /home/latu/sugar-jhbuild_13_Jul/install --libdir
'/home/latu/sugar-jhbuild_13_Jul/install/lib'*** [6/28]


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Error building jhbuild

2010-07-14 Thread Daniel Castelo
I get this error when I try to run the build command.

Thanks


make[4]: se ingresa al directorio
`/home/latu/sugar-jhbuild_13_Jul/source/sugar-artwork/icons/scalable/device'
make[4]: *** No hay ninguna regla para construir el objetivo
`network-adhoc-1-connected.svg', necesario para `all-am'.  Alto.
make[4]: se sale del directorio
`/home/latu/sugar-jhbuild_13_Jul/source/sugar-artwork/icons/scalable/device'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio
`/home/latu/sugar-jhbuild_13_Jul/source/sugar-artwork/icons/scalable'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio
`/home/latu/sugar-jhbuild_13_Jul/source/sugar-artwork/icons'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/home/latu/sugar-jhbuild_13_Jul/source/sugar-artwork'
make: *** [all] Error 2
*** Error during phase build of sugar-artwork: ## Error running
make   *** [13/28]


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Problem with Jhbuild and Fedora 11

2010-07-15 Thread Daniel Castelo
On Thu, Jul 15, 2010 at 10:34 AM, Sascha Silbe <
sascha-ml-ui-sugar-de...@silbe.org> wrote:

> Excerpts from Daniel Castelo's message of Wed Jul 14 18:15:01 + 2010:
> > I think that we talked about this problem before, I want to install
> jhbuild
> > on fedora 11 and I get this error message. Seems like the problem is a
> > dependency between jhbuild and gtk.
> > should Jhbuild work over f11?
> F11 has reached its end of life some weeks ago [1]. I'm rather reluctant
> on supporting and spending effort on something that doesn't even receive
> security updates anymore. Quite on the contrary, I'm glad F11 has finally
> reached EOL so I can clean up sugar-jhbuild a bit.
>

Ok, we have to move to a next version.
With tomeu's suggestion (download metacity 2.28.1 tarball) jhbuild works
fine.
This is just a workaround for F11 or we should submit a patch with this?

Thanks



> sugar-jhbuild is meant for Sugar core hacking. If you just want to run
> Sugar (including developing activities), please use native distribution
> packages instead.
>

Sascha
>
> [1]
> https://lists.fedoraproject.org/pipermail/announce/2010-June/002830.html
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Problem with Jhbuild and Fedora 11

2010-07-15 Thread Daniel Castelo
On Thu, Jul 15, 2010 at 11:30 AM, Tomeu Vizoso  wrote:

> On Thu, Jul 15, 2010 at 15:56, Daniel Castelo
>  wrote:
> >
> >
> > On Thu, Jul 15, 2010 at 10:34 AM, Sascha Silbe
> >  wrote:
> >>
> >> Excerpts from Daniel Castelo's message of Wed Jul 14 18:15:01 +
> 2010:
> >> > I think that we talked about this problem before, I want to install
> >> > jhbuild
> >> > on fedora 11 and I get this error message. Seems like the problem is a
> >> > dependency between jhbuild and gtk.
> >> > should Jhbuild work over f11?
> >> F11 has reached its end of life some weeks ago [1]. I'm rather reluctant
> >> on supporting and spending effort on something that doesn't even receive
> >> security updates anymore. Quite on the contrary, I'm glad F11 has
> finally
> >> reached EOL so I can clean up sugar-jhbuild a bit.
> >
> > Ok, we have to move to a next version.
> > With tomeu's suggestion (download metacity 2.28.1 tarball) jhbuild works
> > fine.
> > This is just a workaround for F11 or we should submit a patch with this?
>
> Sascha is the sugar-jhbuild maintainer, so if he says that we should
> drop F11 and you want to keep using it, then either you make a deal
> with him or you will have to maintain your own fork of it.
>
>
No problem. As soon as possible I move to a next version.
Thanks for all.



> Regards,
>
> Tomeu
>
> > Thanks
> >
> >
> >>
> >> sugar-jhbuild is meant for Sugar core hacking. If you just want to run
> >> Sugar (including developing activities), please use native distribution
> >> packages instead.
> >>
> >>
> >> Sascha
> >>
> >> [1]
> >>
> https://lists.fedoraproject.org/pipermail/announce/2010-June/002830.html
> >> --
> >> http://sascha.silbe.org/
> >> http://www.infra-silbe.de/
> >>
> >> ___
> >> Sugar-devel mailing list
> >> Sugar-devel@lists.sugarlabs.org
> >> http://lists.sugarlabs.org/listinfo/sugar-devel
> >>
> >
> >
> >
> > --
> > Ing. Daniel Castelo
> > Plan Ceibal - Área Técnica
> > Avda. Italia 6201
> > Montevideo - Uruguay.
> > Tel.: 601.57.73 Interno 2228
> > E-mail : dcast...@plan.ceibal.edu.uy
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Journal and Updating Software Process

2010-07-27 Thread Daniel Castelo
Maybe this topic was discussed before, teachers in Uruguay have reported as
a bug this scenario:

* The activities are updated
* The user delete the journal entry with the activity bundle downloaded
for this updating process.

The result of this is that the activity is deleted from sugar

This behavour is normal? Should I reported this as a bug?


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal and Updating Software Process

2010-07-28 Thread Daniel Castelo
On Tue, Jul 27, 2010 at 11:51 PM, Frederick Grose  wrote:

> On Tue, Jul 27, 2010 at 9:37 PM, James Cameron  wrote:
>
>> On Tue, Jul 27, 2010 at 06:37:18PM -0300, Daniel Castelo wrote:
>> > * The activities are updated
>>
>> With "Software update" or manually using Browse?
>>
>> > * The user delete the journal entry with the activity bundle
>> > downloaded for this updating process.
>> >
>> > The result of this is that the activity is deleted from sugar
>>
>> I've seen this on Sugar 0.84 if the activity was updated using Browse,
>> but not if the activity was updated using "Software update".
>>
>> > This behavour is normal? Should I reported this as a bug?
>>
>> If you think it is a bug, then check for it in bugs.sugarlabs.org
>
>
> See https://bugs.sugarlabs.org/ticket/1512
>

Great. Thanks!
The trac ticket suggest a new behavour:

"The download event record, as a system event, might have a 'hide event'
option or not be erasable. The code bundle behind the event should, perhaps,
only be erased from the Home list view (installed-Activity-code-bundle
management), while system or Activity events and their associated object
instances are managed from the Journal of Activity event instances."

Which is the next step that I should follow to solve this issue? I suposse
that is to discuss in this email list which could be the best solution.


>  <https://bugs.sugarlabs.org/ticket/1512>
>
>> or
>> report it there.  I'm not sure what the behaviour should be.  I'd be
>> happy to see it fixed though, so that a user would have to both remove
>> the download and remove the activity.
>>
>> --
>> James Cameron
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Audacity under Sugar

2010-07-29 Thread Daniel Castelo
In this page you could find a sugarized version of audacity
http://wiki.laptop.org/go/Activities/All

I dont know if this bundle has all the feature of the last audacity.

On Thu, Jul 29, 2010 at 12:34 AM, Sean Linton  wrote:

> Dear All,
>
> I am working on a conference presentation on ICT enabled networking
> for indigenous music foundations. I have been working on some ideas
> with David Leeming who as supplied me with an XO machine while I try
> to work some things out on it.
>
> We are looking at the potential for using Audacity as a tool to help
> enable and create content for community radio stations. The idea being
> that the XO can be used to record audio an then send low latency audio
> code to the radio hub as oggs or mp3s.
>
> I have installed audacity using
>
> yum install audacity
>
> It is no problem for me to run "audacity' from the command line,
> however I am aware that OLPC developers are trying to keep the sugar
> gui.
>
> I have been also trying to find the lame libraries to enble the mp3
> export function, but have limited success adjusting the
> /etc/yum.repos.d or /etc/yum.conf files. I think I need to access the
> ubuntu multiverse? I have no problem working in .ogg format but I am
> not sure if everyone feels that way?
>
> I would be interested in using the 'sugarize' script that you wrote to
> give audacity 'activity' status, with icon, and journal compatability.
>
> Would you be able to discuss with me how to sugarize audacity, or walk
> me through your script? Audacity has options for saving files; the
> "save" function creates a file that only audacity can read (aup).
> Mp3/Wav/Au/Ogg require "export". Perhaps the *aup file would be useful
> for journal use, eg. by chmod -x ( asigning it executble status have
> it run audacity from journal?  )
>
> I have also been looking at introducing new insruments to the
> tamtam suites, ethnic instruments based on the local instruments of
> the XO distributions, eg Panpipes on Tamtam for computers in the
> Solomon Islands? Can you suggest a way to implement this?
>
>
> Sincerely
>
> Sean Linton
> Ph D Student
> Otago University
> Music Department
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Audacity under Sugar

2010-07-29 Thread Daniel Castelo
Try installing this package: *compat-expat1
*
On Thu, Jul 29, 2010 at 7:33 PM, Sean Linton  wrote:

> The audacity.xo download is not loading on the computer I have.
> Is it known to work elsewhere?
>
> I am on:
> build 802
> Sugar 0.82.1
> Firmware Q2E41
>
> On 30/07/2010, Daniel Castelo  wrote:
> > In this page you could find a sugarized version of audacity
> > http://wiki.laptop.org/go/Activities/All
> >
> > I dont know if this bundle has all the feature of the last audacity.
> >
> > On Thu, Jul 29, 2010 at 12:34 AM, Sean Linton  wrote:
> >
> >> Dear All,
> >>
> >> I am working on a conference presentation on ICT enabled networking
> >> for indigenous music foundations. I have been working on some ideas
> >> with David Leeming who as supplied me with an XO machine while I try
> >> to work some things out on it.
> >>
> >> We are looking at the potential for using Audacity as a tool to help
> >> enable and create content for community radio stations. The idea being
> >> that the XO can be used to record audio an then send low latency audio
> >> code to the radio hub as oggs or mp3s.
> >>
> >> I have installed audacity using
> >>
> >> yum install audacity
> >>
> >> It is no problem for me to run "audacity' from the command line,
> >> however I am aware that OLPC developers are trying to keep the sugar
> >> gui.
> >>
> >> I have been also trying to find the lame libraries to enble the mp3
> >> export function, but have limited success adjusting the
> >> /etc/yum.repos.d or /etc/yum.conf files. I think I need to access the
> >> ubuntu multiverse? I have no problem working in .ogg format but I am
> >> not sure if everyone feels that way?
> >>
> >> I would be interested in using the 'sugarize' script that you wrote to
> >> give audacity 'activity' status, with icon, and journal compatability.
> >>
> >> Would you be able to discuss with me how to sugarize audacity, or walk
> >> me through your script? Audacity has options for saving files; the
> >> "save" function creates a file that only audacity can read (aup).
> >> Mp3/Wav/Au/Ogg require "export". Perhaps the *aup file would be useful
> >> for journal use, eg. by chmod -x ( asigning it executble status have
> >> it run audacity from journal?  )
> >>
> >> I have also been looking at introducing new insruments to the
> >> tamtam suites, ethnic instruments based on the local instruments of
> >> the XO distributions, eg Panpipes on Tamtam for computers in the
> >> Solomon Islands? Can you suggest a way to implement this?
> >>
> >>
> >> Sincerely
> >>
> >> Sean Linton
> >> Ph D Student
> >> Otago University
> >> Music Department
> >> ___
> >> Sugar-devel mailing list
> >> Sugar-devel@lists.sugarlabs.org
> >> http://lists.sugarlabs.org/listinfo/sugar-devel
> >>
> >
> >
> >
> > --
> > Ing. Daniel Castelo
> > Plan Ceibal - Área Técnica
> > Avda. Italia 6201
> > Montevideo - Uruguay.
> > Tel.: 601.57.73 Interno 2228
> > E-mail : dcast...@plan.ceibal.edu.uy
> >
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Setup local network on the olpc with python

2010-09-29 Thread Daniel Castelo
Maybe you could find some info here:

   - http://en.flossmanuals.net/ActivitiesGuideSugar/SugarCollaboration
   - http://wiki.laptop.org/go/Activity_sharing
   - http://wiki.sugarlabs.org/go/Development_Team/Almanac/Sugar.presence

Regards, Daniel

On Wed, Sep 29, 2010 at 7:37 AM, Tobi Neuner  wrote:

>  Hi guys,
>
> for my bachelor thesis i need to program a short demonstration for the
> game i worked out to show the main functionality. It's some kind of a
> multiplayer learning game with some rpg-ideas for motivation keeping.
> For the multiplayer approach i need so setup a local mesh network to
> send data from one XO to all other. The data, that is send, is always an
> integer or a string value. So what i read till now, the dbus tubes would
> fit perfectly for my approach. But at the moment i fail at this point. I
> don't understand how i have to implement it. So i'm on search for some
> good tutorial, some code snippets, where this is shown, or someone, who
> could explain it to me.
>
> Thanks very much for your help!
>
> grevenilvec
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Proposal of dotted activity version number

2010-10-07 Thread Daniel Castelo
On Wed, Oct 6, 2010 at 8:58 AM, Gonzalo Odiard  wrote:

>
>
> On Tue, Oct 5, 2010 at 9:49 PM, C. Scott Ananian wrote:
>
>> If you're going to use something other than simple integers, I suggest
>> either:
>>
>> a) a string of dotted integers.  You should *always* be able to
>> subdivide a release if necessary.
>> Strings like "peru" belong (in my opinion) in release notes or the
>> name of the activity or anywhere else.  They don't tell you anything
>> about version ordering.  If the problem is that you can't put a new
>> release between 0 and 1, why are you creating a system that causes the
>> same problem, except between 0.0.0 and 0.0.1?
>>
>>
> Yes, you are right. The string part don't tell us anything about version
> ordering
> The idea is use a string of dotted integers to indicate the order and the
> string part only to indicate a customization.
> Why? We have activity groups today for this.
> Because a teacher, a kid or a technician from Uruguay can see Peru have a
> customization, download, test and use.
> But the customization part does not imply order because it's not logic use
> the alphabetic order (Peru < Ruanda < Uruguay?)
> Then I plan to ignore the customization when I  compute the order.
>
>
>> b) use the debian version numbering system *exactly*.  It has been
>> shown to work in the real world, and it is well documented.  The
>> current proposal is neither (yet).  We do not need to burden the world
>> with yet another ad-hoc numbering system.  Please build on other
>> people's work instead of re-inventing the wheel.  Just because the
>> debian system has features you don't *think* you need (yet) is not a
>> reason to bypass it.  There are great benefits to sharing a commons.
>>
>>
> I agree with not reinvent the wheel, but not with using the debian
> versions. Why not the Fedora, Gentoo or OSX?
> If you want, we will be using the linux kernel numbering system :)
>
>
>
>> Of course, my preference is to keep the existing simple integers and
>> solve the version precedence problem in other ways.  Perhaps important
>> activities should be encouraged to "count by ten" when increasing
>> verson numbers -- or perhaps the tight dependency of Browse on a given
>> Sugar version should be fixed.
>>
>>
> Integer number does not solve the problems we have today.
> Not the problems of the developers, but the downstreams.
> I am working with OLPC fixing Browse in sugar 0.84. The version we are
> using is Browse 108, but I cant release Browse 109 because already exists.
> The same problem we have, will have Dextrose or anybody who maintains a
> older branch.
>

I Agree, is a real problem that we have in deployments.



> And "count by ten" it's not a good idea.
>
>
>
>> A truely forward-thinking replacement would replace the integer
>> version numbers with a git-style version tree.  Just say, "this
>> activity replaces the activity bundle with manifest hash abcdef".
>> That is more decentralized, and more accurate.  Each activity
>> could/should contain a list of URLs describing the canonical source
>> for both itself (authoritative) and its (say) 10 immediate parents
>> (non-authoritative).  This proposal could be elaborated -- and it
>> paves the way for a truely decentralized activity repository, where
>> activities are created *and hosted* by children *on their own
>> machines*.  (Isn't this stil the vision of Sugar?)
>>
>
> No. Git it's fantastic but it's not the solution to all.
> That would be a clear example of "Second system effect" [1]
>
> Gonzalo
>
>
> [1] http://en.wikipedia.org/wiki/Second-system_effect
>
>
>>  --scott
>> ___
>> 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
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Problem with Read activity and screen rotate feature

2010-11-17 Thread Daniel Castelo
We want to read books using the rotate screen capability of XO.  We have a
small problem,  if we open a book (pdf, epub) and we rotate the screen,  the
game pad buttons have the same use that the screen in a normal position, I
mean that user have to click in the "left game pad" button (the down button
in horizontal position) to go to the next page.

I think that all the game pad buttons have to be adapted according the
screen position. We want to know how can we catch the rotate screen event,
and be sure that this change in "Read" behaviour activity has sense.

Regards, Daniel

-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Messages notification

2010-11-17 Thread Daniel Castelo
Maybe we could group all the notifications that are repeated.
Journal is Full... (X 3)
Other Warning..
Other Warning (X2).

Could be useful show the date of the problem in the case of historical
warnings.



On Wed, Nov 17, 2010 at 12:02 PM, Anish Mangal wrote:

> * On top of ui changes, would it also make sense to play some
> 'notification' sounds as well? The HIG doesn't say anything about
> sounds AFAIK
>
> * Or flashing an icon or doing 'something' with the UI exactly when
> the notification occurs.
>
> * Also, what about conditionally (based on importance, urgency)
> displaying un-addressed notifications (or bringing up the frame) as
> soon as sugar UI boots up.
>
> Your screenshot [1] looks very good to me. How about adding another
> button "Display next 5 notations" next to the "Clear" one.
>
> [1]
> http://wiki.sugarlabs.org/go/File:Corner_notification_message_only_history.png
>
> On Wed, Nov 17, 2010 at 7:10 PM, Martin Abente
>  wrote:
> >
> >
> > On Wed, Nov 17, 2010 at 10:23 AM, Walter Bender  >
> > wrote:
> >>
> >> On Wed, Nov 17, 2010 at 8:07 AM, Martin Abente
> >>  wrote:
> >> > Hello again,
> >>
> >> [snip]
> >>
> >> > So far, I think this is the best idea we got :), but I guess it is
> >> > important
> >> > to have the approval of other members, So please everyone take a look
> at
> >> > [3]
> >> > and give us some feedback before my implementation gets to that point.
> >> >
> >> > 1. http://wiki.sugarlabs.org/go/Features/Messages_Notification
> >> > 2. 
> >> > http://people.sugarlabs.org/~tch/images/Screenshot-19.png<http://people.sugarlabs.org/%7Etch/images/Screenshot-19.png>
> >> > 3.
> >> >
> >> >
> http://wiki.sugarlabs.org/go/File:Corner_notification_message_only_history.png
> >> >
> >>
> >> This is visually consistent with our other use of menus. Presumably
> >> the most recent message will pop up first and the rest of the list
> >> will appear after a delay?
> >>
> >
> > Yes, also the notification protocol specifications defines an urgency
> level
> > that could modify the appearing order.
> >
> >>
> >> Any reason not to have a single Journal entry that accumulates all the
> >> messages over time so that even if you clear the list, you have a
> >> record?
> >>
> >
> > +1, even though I don't see the point of saving _all_ the messages
> > notifications, it would be great to have that option for each
> notification
> > individually (the user should save it explicitly if he finds it useful).
> It
> > would make sense for many scenarios.
> >
> >>
> >> -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
> >
> >
>
> --
> Anish
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Problem with Read activity and screen rotate feature

2010-11-17 Thread Daniel Castelo
Thanks for the information!
I've tested the build 351. I realize that the "Directional Pad" change the
Behaviour when the screen rotate. Great!

However, in the Read Activity the "Directional Pad" is useful for go forward
line per line, but if you want to change the page you have to use the "Game
Buttons". So, for Read Activity will be useful adapt the "Game Buttons" too.
What do you think?


On Wed, Nov 17, 2010 at 3:13 PM, Simon Schampijer wrote:

> On 11/17/2010 05:37 PM, Daniel Castelo wrote:
>
>> We want to read books using the rotate screen capability of XO.  We have a
>> small problem,  if we open a book (pdf, epub) and we rotate the screen,
>>  the
>> game pad buttons have the same use that the screen in a normal position, I
>> mean that user have to click in the "left game pad" button (the down
>> button
>> in horizontal position) to go to the next page.
>>
>> I think that all the game pad buttons have to be adapted according the
>> screen position. We want to know how can we catch the rotate screen event,
>> and be sure that this change in "Read" behaviour activity has sense.
>>
>> Regards, Daniel
>>
>
> Hi Daniel,
>
> this has been fixed in the recent OLPC builds [1]. The ticket is #10380
> [2]. Please let us know if that works for you now.
>
> Regards,
>   Simon
>
> [1] http://build.laptop.org/10.1.3/
> [2] http://dev.laptop.org/ticket/10380
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Problem with Read activity and screen rotate feature

2010-11-18 Thread Daniel Castelo
I understand that user could associate the symbols of each game pad button
(square, circle, etc.) to mean certain things, But in Read Activity is not
the case, is like an exception. Users will associate "Down" And "Up" buttons
(depending on the screen position) with the PageUp PageDown action.

So, in my opinion and the experiencie of teachers in schools, will be more
intuitive for user change the action of each button when screen rotate.

Do yo know if I can catch the screen rotate event in the activity?

Thanks for your answers.
Regards, Daniel


On Wed, Nov 17, 2010 at 4:38 PM, Gonzalo Odiard  wrote:

> In the Read activity in the build 353, the game key X and O keys do PageUp
> Page Down and the square and and check keys do zoom in / out.
>
> Gonzalo
>
>
> On Wed, Nov 17, 2010 at 3:29 PM, Daniel Castelo <
> dcast...@plan.ceibal.edu.uy> wrote:
>
>> Thanks for the information!
>> I've tested the build 351. I realize that the "Directional Pad" change the
>> Behaviour when the screen rotate. Great!
>>
>> However, in the Read Activity the "Directional Pad" is useful for go
>> forward line per line, but if you want to change the page you have to use
>> the "Game Buttons". So, for Read Activity will be useful adapt the "Game
>> Buttons" too. What do you think?
>>
>>
>>
>> On Wed, Nov 17, 2010 at 3:13 PM, Simon Schampijer wrote:
>>
>>> On 11/17/2010 05:37 PM, Daniel Castelo wrote:
>>>
>>>> We want to read books using the rotate screen capability of XO.  We have
>>>> a
>>>> small problem,  if we open a book (pdf, epub) and we rotate the screen,
>>>>  the
>>>> game pad buttons have the same use that the screen in a normal position,
>>>> I
>>>> mean that user have to click in the "left game pad" button (the down
>>>> button
>>>> in horizontal position) to go to the next page.
>>>>
>>>> I think that all the game pad buttons have to be adapted according the
>>>> screen position. We want to know how can we catch the rotate screen
>>>> event,
>>>> and be sure that this change in "Read" behaviour activity has sense.
>>>>
>>>> Regards, Daniel
>>>>
>>>
>>> Hi Daniel,
>>>
>>> this has been fixed in the recent OLPC builds [1]. The ticket is #10380
>>> [2]. Please let us know if that works for you now.
>>>
>>> Regards,
>>>   Simon
>>>
>>> [1] http://build.laptop.org/10.1.3/
>>> [2] http://dev.laptop.org/ticket/10380
>>>
>>> _______
>>> Sugar-devel mailing list
>>> Sugar-devel@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>
>>
>>
>> --
>> Ing. Daniel Castelo
>> Plan Ceibal - Área Técnica
>> Avda. Italia 6201
>> Montevideo - Uruguay.
>> Tel.: 2 601 57 73 Interno 2228
>> E-mail : dcast...@plan.ceibal.edu.uy
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Problem downloading files using Browse Activity

2011-02-23 Thread Daniel Castelo
We have some problems using browse activity V120. We can't download files
attached in gmail (apparently happen with many sites)

The activity doesn't show any error message. If I read the log I get::

ERROR:xpcom:Unhandled exception calling 'int8 createChromeWindow(in
nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'
1298464623.020300 ERROR xpcom: Unhandled exception calling 'int8
createChromeWindow(in nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'
ERROR:xpcom:Unhandled exception calling 'int8 createChromeWindow(in
nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'
1298464625.116524 ERROR xpcom: Unhandled exception calling 'int8
createChromeWindow(in nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'

I found this ticket http://bugs.sugarlabs.org/ticket/776

Have you got any idea?

Regards, Daniel


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] Olidata computers in Uruguay

2011-05-03 Thread Daniel Castelo
-
> > >>
> > >> Una cosa que no me parece correcta es que  la laptop de maestra sea
> > diferente ala XO: tiene más capacidad ara el Diario, eso es bueno(8 Gb
> contra
> > 1 Gb), pero la pantalla es diferente, el hardware es distinto, y el sugar
> no
> > funciona en forma identica, por lo tanto cualquier cosa que la Maestra
> use
> > en su Laptop no podrá ser repetido por los alumnos de la misma forma.
> > >>
> > >>
> > >> NO tiene sentido querer darle una maquina más potente a las MAestras,
> > ya que si por ejemplo la Maestra hace una actividad Etoys en su casa ,
> > usando sonidos, animación , etc etc, luego va a la clase y le dice a los
> niños
> > que lo repitan, pero resulta que lo mismo en las Xo tal vez va mas lento,
> o no
> > funciona igual, o se ve solo en partes
> > >>
> > >> Si se le quiere dar una maquina más potente a las Maestras, deberían
> > dejar que tengan las dos: la "potente" y la XO normal de los Niños. En
> este
> > momento se les cambia la XO por la Olidata.
> > >>
> > >> NOTA: cuando digo "potente" (hablando de la Olidata ), es en tono
> > jocoso, espero que se entienda.
> > >>
> > >>
> > >> La Olidata Tiene la pantalla un poco más chica que la XO , de 7" y
> > >> 800x400, en cambio la XO es de 7.5" y de 1200x900
> > >>
> > >>
> > >> Debe ser por esa razón que ciertas actividades se ven cortadas, al
> igual
> > que sucede con los emuladores.
> > >>
> > >> Estaría bueno que los programadores hicieran como ya hicieron con
> > ETOYS, que lo modificaron especialmente por estos problemas, y ahora los
> > iconos y menúes se adaptan a la pantalla y no se pierde ninguno.
> > >>
> > >>
> > >> PEro en muchas actividades no sucede eso.
> > >>
> > >> ---
> > >>
> > >> La verificación más simple sobre el tamaño de pantalla es entrar a
> > "TurtleART", si la Tortuga no está inicialmente en el medio de la
> pantalla
> > significa que a la pantalla le falta algo para visualizar.
> > >>
> > >> en el write, por ejemplo, los menúes de arriba a la derecha se
> pierden,
> > creo que es el botón para cambiar tipo de letra. No sé si han solucionado
> ese
> > problema del Write, pero en las primeras versiones teníamos ese problema.
> > >>
> > >> -
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> Paolo Benini
> > >> MOntevideo
> > >>
> > >> ___
> > >> Lista olpc-Sur
> > >>
> > >> olpc-...@lists.laptop.org
> > >> http://lists.laptop.org/listinfo/olpc-sur
> > > ___
> > > IAEP -- It's An Education Project (not a laptop project!)
> > > i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
> >
> > ___
> > 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
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] EduJAM day 2 Tour of Uruguay

2011-05-03 Thread Daniel Castelo
On Tue, May 3, 2011 at 12:24 PM,  wrote:

>  *
> >James Cameron wrote:
> >XO-1 touchpad behaviour was changed.
> *
>
>
>
> On the Xo 1.0 of Plan ceibal, With the new versions of Sugar 
> (0.88)<http://200.40.200.100/Portal.Base/Web/VerContenido.aspx?GUID=39ff79c8-1368-4c2e-8e70-167b3373b933&ID=203132>they
>  disabled the tap-to-click on the touchpad.
>
> The Tap-to click worked ok with previous image. (uy802c)
>
>
Maybe we disabled it unintentionally. However, I flashed a machine with
uy802c and tap-to-click doesn't work. Maybe depend on the version of the XO
hardware. Are you sure that was on the 802c image?
Thanks.
Daniel

---
>
> On the XO 1.5 is different because they came from factory without the
> tap-to-click , so there's no complain about that, it never existed. (I think
> that there are some drivers problems)
>
> But on the XO 1.0 the feature of tap-to-click was working ok, and now it is
> disabled (with the new image Dextrose, 
> os1bdxuy.img<http://200.40.200.100/Portal.Base/Web/VerContenido.aspx?GUID=39ff79c8-1368-4c2e-8e70-167b3373b933&ID=203132>,
> ), I don't Know Why.
>
>
> Paolo Benini
> RAP-CEIBAL
> Montevideo
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] Release Get Books-7

2011-05-18 Thread Daniel Castelo
On Wed, May 18, 2011 at 5:08 AM, Bastien  wrote:

> Sugar Labs Activities  writes:
>
> > Download Now:
> > http://activities.sugarlabs.org/downloads/file/27365/get_books-7.xo
>
> Thanks for this new release.
>
> > Release notes:
> > Display summary of books bassed in configuration (Daniel Castelo)
> > Don't show link in book description (Daniel Castelo)
> > Cancel previous download image threads (Daniel Castelo)
> > Arrange the text in the description to better fit in the widget space
>
> Can I safely infer that Daniel is the new maintainer?
>

godiart is the maintainer. I am collaborating with some fixes.


>
> (There is no AUTHORS file, I cannot find the right person to contact.)
>
> James Simmons told me that I could use GetBooks with a local OPDS xml
> file and a set of .ePub.
>
> Did anyone already do so?
>
> Can anyone point me at some existing (simple) OPDS file so that I can
> take a stab at this?
>

http://www.feedbooks.com/books/search.atom?query=wilde


>
> My goal is to provide a library of ePub readable with GetBooks in a
> place where there is no internet connection.
>

If you have a school server you could use pathagar. Is a simple book server.

I think that this is the repository https://github.com/manuq/pathagar.
Manuel Quiñones is improving this book server.
You could get more information here
http://en.flossmanuals.net/e-book-enlightenment/ch026_the-pathagar-book-server/
http://wiki.sugarlabs.org/go/Book_Server


>
> Thanks!
>
> --
>  Bastien
> _______
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Simple messages notification system

2012-07-12 Thread Daniel Castelo
This feature is very useful for us. For example we use it to notify users
about the release of new software images and to publish information about
contests that Ceibal promote. To send the notifications we use our updater
system.

Cheers, Daniel


2012/7/6 Anish Mangal 

> On Fri, Jul 6, 2012 at 6:49 PM, Gary Martin 
> wrote:
> > Hi Anish,
> >
> > On 6 Jul 2012, at 07:39, Anish Mangal wrote:
> >
> >> Hi,
> >>
> >> I would like to propose a feature for inclusion in 0.98 cycle, which
> >> we developed for dextrose, and is present in dextrose-3 (11.3.1 based)
> >> builds. The idea is to provide an api for simple notification messages
> >> to be displayed in the frame.
> >>
> >> The relevant details are mentioned in the associated feature page:
> >>
> >> http://wiki.sugarlabs.org/go/Features/Simple_Messages_Notification
> >
> > Thanks for starting the mail-list thread. Do you have any examples of
> how this notification feature is currently being used on the ground by
> dextrose users? Would be interesting to know some concrete examples and if
> you've had any direct user feedback.
> >
>
> Yes, there are a couple of examples in which this is feature is used:
>
> 1. There is a automatic-yum-based updater in dextrose, which installs
> updates to sugar and related  packages in the background, and upon
> installation, when a restart is required, a notification to that
> effect pops up. This is present in all flavors of dextrose (AU, UY,
> PY, Intl), and is also the one demonstrated on the feature page.
>
> 2. This feature has been used quite extensively in UY, where they use
> it to notify kids about a number of important information that the
> deployment administration needs to convey. I am cc-ing Esteban Bordon
> and Daniel Castelo, who might have more details.
>
>
> As far as feedback is concerned, we havent heard of complaints from
> deployments on this feature so far (I guess that's a positive ;-) ).
> The criticism has been to add more features to it.
> * Perhaps, there could be more notification classes. i.e., different
> alert types/icons
> * Prioritization of some alerts over others
>
> So far, this is a basic implementation which doesn't get in people's
> way and mostly works. We can add more bells and whistles to it, but I
> would want to upstream it first and add them later (with proper design
> discussions around them)
>
> Let me know if you need more clarification :-)
> > Regards,
> > --Gary
> >
>
> Cheers,
> Anish
>



-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Hulahop Support

2012-10-01 Thread Daniel Castelo
Hi. In Uruguay we use the program JClic, one of the componentes of this
program required hulahop.

Do you know if the library has support now? I know that the new Sugar
Browser is based on Webkit.

Regards, Daniel


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Turtle Blocks and sensors

2012-10-09 Thread Daniel Castelo
We are using this activity
http://activities.sugarlabs.org/es-ES/sugar/addon/4027 and the differents
blocks to use sensors in XO and Classmate machine.
We realized that in a Classmate machine the blocks "resistance" and
"voltage" are not displayed.
We want to know if the activity checks if the laptop could use this feature
or has a "hardcode" check to distinguish XO's machine for others.

Thanks

Regards.
-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel