Re: G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Bert Freudenberg
Hi Ed,

so since there is no stock in Europe can we assume that the machines  
ordered at the UK site will all come with 8.2? Makes support way easier.

- Bert -

On 20.11.2008, at 03:48, Ed McNierney wrote:

> Ton -
>
> Thanks for supporting the G1G1 program with your purchases!  This  
> year it
> was extremely important for us to have Amazon stocked with inventory  
> so
> orders could be fulfilled and delivered right away, the first day of  
> the
> program.  That meant that manufacturing actually had to begin before  
> 8.2 was
> released; the machines being manufactured now have 8.2 built in, but  
> the
> first G1G1 buyers will be receiving the first manufactured machines.
>
> You can find instructions on upgrading and information about the 8.2  
> release
> on our wiki at http://wiki.laptop.org/go/Release_notes/8.2.0
>
> This mailing list is for XO software development discussion, so it's  
> not the
> best place to get help for G1G1 purchasers.  You can find  
> information about
> G1G1 support with lots of great info at http://wiki.laptop.org/go/Support
>
> Thanks again for being an "early adopter" this year - we really  
> appreciate
> it.
>
>- Ed
>
>
> On 11/19/08 9:41 PM, "Ton van Overbeek" <[EMAIL PROTECTED]> wrote:
>
>> Received my 2 XOs ordered last Monday today.
>> I was surprised they were booting up in 8.1 with the old sugar
>> interface and not with 8.2.
>> I was under the impression 8.2.0 was targeted for G1G1-2008, but this
>> does not seem to be the case,
>> at least not for the US machines currently in stock at Amazon.
>> Just curious to know if this was the intention.
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

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


Re: G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread S Page
Interesting...
So the wiki can't assume new users have 8.2, that means a lot of pages 
will need separate "Latest release / Earlier releases" sections and/or 
encourage users to upgrade.

I wonder how many users with 8.1 will visit 
http://wiki.laptop.org/go/Activities and download more recent activities 
that are incompatible with 8.1.  That Activities page's text seems wrong:

   This is a snapshot of the activities included on the list as of the 
launch of G1G1, not a list of all activities known to work on release 
8.2.0. These activities are pre-installed in machines received through 
the Give One Get One program.

Does the 8.1 build on the early G1G1 2008 laptops have, e.g. the Help 
activity?  (Which I thought is the 8.2.0 user manual.)  Someone who 
definitively knows should update that page.  Is there a downloadable 
image of what's on those laptops anywhere?

Ed McNierney wrote:

> Thanks for supporting the G1G1 program with your purchases!  This year it
> was extremely important for us to have Amazon stocked with inventory so
> orders could be fulfilled and delivered right away, the first day of the
> program.  That meant that manufacturing actually had to begin before 8.2 was
> released; the machines being manufactured now have 8.2 built in, but the
> first G1G1 buyers will be receiving the first manufactured machines.
> 
> You can find instructions on upgrading and information about the 8.2 release
> on our wiki at http://wiki.laptop.org/go/Release_notes/8.2.0

I added a mildly edited version of this to 


I also mention it in passing on 
http://wiki.laptop.org/go/Getting_started , which assumes users have the 
excellent Help activity.

"Getting started" is where the wiki navigation's "About the XO > Help 
using the XO" goes; I'm not sure what other places on the wiki new G1G1 
users hit first.

Ton,
What's the model number of your new machine?  (`olpc-netstatus -i`) ?

--
=S Page
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Audio routing question

2008-11-19 Thread Guylhem Aznar
Hello

Whenever a jack is plugged in, the audio is routed to the jack instead
of the main speakers. It may not always be desirable (ex: wakeup
clock)

Did try to tweak alsa settings, but I couldn't change that.

Is there a way to override it?

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


Re: G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Sameer Verma
On Wed, Nov 19, 2008 at 6:48 PM, Ed McNierney <[EMAIL PROTECTED]> wrote:
> Ton -
>
> Thanks for supporting the G1G1 program with your purchases!  This year it
> was extremely important for us to have Amazon stocked with inventory so
> orders could be fulfilled and delivered right away, the first day of the
> program.  That meant that manufacturing actually had to begin before 8.2 was
> released; the machines being manufactured now have 8.2 built in, but the
> first G1G1 buyers will be receiving the first manufactured machines.
>
> You can find instructions on upgrading and information about the 8.2 release
> on our wiki at http://wiki.laptop.org/go/Release_notes/8.2.0
>
> This mailing list is for XO software development discussion, so it's not the
> best place to get help for G1G1 purchasers.  You can find information about
> G1G1 support with lots of great info at http://wiki.laptop.org/go/Support
>
> Thanks again for being an "early adopter" this year - we really appreciate
> it.
>
>- Ed
>

Hi Ed,

Will there be a way to communicate with G1G1 v2 purchasers/donors that
they can (and should) update to 8.2 with either a link to instructions
or an automated push of the newer build?

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/


>
> On 11/19/08 9:41 PM, "Ton van Overbeek" <[EMAIL PROTECTED]> wrote:
>
>> Received my 2 XOs ordered last Monday today.
>> I was surprised they were booting up in 8.1 with the old sugar
>> interface and not with 8.2.
>> I was under the impression 8.2.0 was targeted for G1G1-2008, but this
>> does not seem to be the case,
>> at least not for the US machines currently in stock at Amazon.
>> Just curious to know if this was the intention.
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Ton van Overbeek
Ed,

Thanks for the explanation.
I am not new to OLPC, also participated in the first G1G1, but that XO
is now with my grandson (and has 8.2 on it). Right now I am going to
run olpc-update to get the new XOs on 8.2.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Ed McNierney
Ton -

Thanks for supporting the G1G1 program with your purchases!  This year it
was extremely important for us to have Amazon stocked with inventory so
orders could be fulfilled and delivered right away, the first day of the
program.  That meant that manufacturing actually had to begin before 8.2 was
released; the machines being manufactured now have 8.2 built in, but the
first G1G1 buyers will be receiving the first manufactured machines.

You can find instructions on upgrading and information about the 8.2 release
on our wiki at http://wiki.laptop.org/go/Release_notes/8.2.0

This mailing list is for XO software development discussion, so it's not the
best place to get help for G1G1 purchasers.  You can find information about
G1G1 support with lots of great info at http://wiki.laptop.org/go/Support

Thanks again for being an "early adopter" this year - we really appreciate
it.

- Ed


On 11/19/08 9:41 PM, "Ton van Overbeek" <[EMAIL PROTECTED]> wrote:

> Received my 2 XOs ordered last Monday today.
> I was surprised they were booting up in 8.1 with the old sugar
> interface and not with 8.2.
> I was under the impression 8.2.0 was targeted for G1G1-2008, but this
> does not seem to be the case,
> at least not for the US machines currently in stock at Amazon.
> Just curious to know if this was the intention.
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


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


G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Ton van Overbeek
Received my 2 XOs ordered last Monday today.
I was surprised they were booting up in 8.1 with the old sugar
interface and not with 8.2.
I was under the impression 8.2.0 was targeted for G1G1-2008, but this
does not seem to be the case,
at least not for the US machines currently in stock at Amazon.
Just curious to know if this was the intention.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libertas firmware version query

2008-11-19 Thread Ricardo Carrano
On Wed, Nov 19, 2008 at 8:37 PM, S Page <[EMAIL PROTECTED]> wrote:
> Ricardo Carrano wrote:
>
>> For differences between firmware releases:
>> http://dev.laptop.org/pub/firmware/libertas/RELEASE_NOTES.
>> The current recommended firmware release is 22.p18.
>
> Nice, I added these to the http://wiki.laptop.org/go/Libertas wiki page
>
> I've never flashed the Libertas firmware on my 2007 G1G1 XO, yet
> olpc-netstatus -i says I have Libertas: 5.110.22.p18 (from August 2008).
>  Does upgrading the OS image on your XO also install new Libertas firmware,
> the same way that it may update Open Firmware?  If so, is there any way to
> tell it's happening?
>

The libertas firmware is just the /lib/firmware/usb8388.bin file that
is uploaded to the wireless subsystem at boot time. So, it is part of
the distribution.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libertas firmware version query

2008-11-19 Thread pgf
s wrote:
 > Ricardo Carrano wrote:
 > 
 > > For differences between firmware releases:
 > > http://dev.laptop.org/pub/firmware/libertas/RELEASE_NOTES.
 > > The current recommended firmware release is 22.p18.
 > 
 > Nice, I added these to the http://wiki.laptop.org/go/Libertas wiki page
 > 
 > I've never flashed the Libertas firmware on my 2007 G1G1 XO, yet 
 > olpc-netstatus -i says I have Libertas: 5.110.22.p18 (from August 2008). 
 >   Does upgrading the OS image on your XO also install new Libertas 
 > firmware, the same way that it may update Open Firmware?  If so, is 
 > there any way to tell it's happening?

you get a fresh copy, which might or might not be different than the
last copy, with every OS release.  no flashing is involved -- it's more
of a download, every time you boot.

paul
=-
 paul fox, [EMAIL PROTECTED]
 give one laptop, get one laptop --- http://www.amazon.com/xo
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libertas firmware version query

2008-11-19 Thread S Page
Ricardo Carrano wrote:

> For differences between firmware releases:
> http://dev.laptop.org/pub/firmware/libertas/RELEASE_NOTES.
> The current recommended firmware release is 22.p18.

Nice, I added these to the http://wiki.laptop.org/go/Libertas wiki page

I've never flashed the Libertas firmware on my 2007 G1G1 XO, yet 
olpc-netstatus -i says I have Libertas: 5.110.22.p18 (from August 2008). 
  Does upgrading the OS image on your XO also install new Libertas 
firmware, the same way that it may update Open Firmware?  If so, is 
there any way to tell it's happening?

Thanks,
--
=S Page
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libertas firmware version query

2008-11-19 Thread Ricardo Carrano
Hi!

For differences between firmware releases:
http://dev.laptop.org/pub/firmware/libertas/RELEASE_NOTES.
The current recommended firmware release is 22.p18.

Cheers!
Ricardo Carrano

On Wed, Nov 19, 2008 at 5:59 PM, Peter Robinson <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Quick query on the libertas-usb8388-firmware package. Is the firmware
> version dependent on the kernel version or anything else?
>
> The reason I ask is that the version in joyride is
> 2:5.110.22.p18-1.olpc2 from the old olpc2 branch and the one in Fedora
> mainline is 2:5.110.22.p14-1.fc10. So there's a difference of p18 vs
> p14. Is there any reason not to push the later version into Fedora
> mainline and just use that package for all?
>
> Peter
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: libertas firmware version query

2008-11-19 Thread Daniel Drake
On Wed, Nov 19, 2008 at 7:59 PM, Peter Robinson <[EMAIL PROTECTED]> wrote:
> Quick query on the libertas-usb8388-firmware package. Is the firmware
> version dependent on the kernel version or anything else?
>
> The reason I ask is that the version in joyride is
> 2:5.110.22.p18-1.olpc2 from the old olpc2 branch and the one in Fedora
> mainline is 2:5.110.22.p14-1.fc10. So there's a difference of p18 vs
> p14. Is there any reason not to push the later version into Fedora
> mainline and just use that package for all?

Can't speak for those specific versions, but there certainly has been
interdependence between the kernel and the firmware in the past. We
had a bug during the 8.2 runup for a few weeks where collaboration
just didn't work. I tracked this down to the fact that multicasts
weren't happening, and I traced that bug to a mismatch between kernel
and firmware.

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


Future Feature Roadmap Meeting Minutes from 11/19

2008-11-19 Thread Greg Smith
Ed, CJL, Mel, Greg, and CJB (and maybe others) met on IRC On Wed. 11/19

Minutes:

- Update on January camp and reminder to fill in details on proposals.

GS - January camp proposals update

Exact meeting dates to be set ASAP, target Monday. The conference will 
be held either week before or after January 9 - 11.

- Start work on reviewing and prioritizing the Feature Roadmap 
http://wiki.laptop.org/go/Feature_roadmap.

GS - We will add two fields to each feature on the roadmap page.
* Helps deployability
* Target for OLPC resources

That flagging is my interpretation of the discussion. Any comments welcome.

Deployability was chosen because its currently the main goal for 9.1. 
More definition of goals for 9.1 will be forthcoming with Ed leading.

"Target for OLPC resources" defines which will get an OLPC engineer 
assigned. Many other features are important and we want to highlight 
those to encourage other open source developers focus their time on 
useful items.

This is discussion is preparation for a quick triage of the Feature 
Roadmap page. Before we start that, we need another pass to ensure all 
well defined features are included. Target is to complete the first 
triage by the end of the first week of December.

Next meeting Wed. November 26, 2PM US ET IRC Freednode.net #olpc-meeting

Agenda for next week:

10 minutes - XO Camp status and updates.

15 minutes - Status and action items for getting all feature requests on 
the feature roadmap page and for tagging per minutes above. Any other 
tags needed to focus engineering on the right priorities for 9.1?

15 minutes - Trac usage conventions for 9.1. Choosing and defining which 
fields we will use for tracking target bugs and features.

15 minutes - Status of 9.1 goals definition and plans for creation of a 
9.1 page.

5 minutes - Set agenda for next week and review action items

Thanks,

Greg S


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


Re: Differents behaviours of my application

2008-11-19 Thread Tomeu Vizoso
On Wed, Nov 19, 2008 at 4:15 PM, Aleix Palet <[EMAIL PROTECTED]> wrote:
> Here you have it (the implicated parts):
> from sugar.activity import activity
> def __init__(self, handle):
> activity.Activity.__init__(self, handle)
> toolbox = activity.ActivityToolbox(self)
> self.set_toolbox(toolbox)
> toolbox.show()
> self.project = None
> self.bgImageOrigin = Point()
> if handle.object_id == None:
>f = FileChooser()
>file = f.chooseFile()
>  pygame.init()
>self.screen = pygame.display.set_mode((1200, 900), 0, 32)
>self.load(file, None, None, None)
>
> def read_file(self, fileame):
> pygame.init()
> self.screen = pygame.display.set_mode((1200, 900), 0, 32)
> self.load(filename, None, None, None)
> Maybe the problem is how I create the activity?

I think the problem is that you are creating a pygame window that
occupies the whole screen. Just found this code that may help you:

http://code.google.com/p/geoquiz/source/browse/trunk/olpcgames/activity.py

Regards,

Tomeu


> 2008/11/19 Tomeu Vizoso <[EMAIL PROTECTED]>
>>
>> 2008/11/19 Aleix Palet <[EMAIL PROTECTED]>:
>> > Ok, now with Gary's code when i do resume i get the desired behaviour in
>> > the
>> > __init__ funcion, but i don't get the code of my read_file emthod to be
>> > called. Do I have to do something special?? thanks!
>> > Another thing, how can i put the toolbox in a pygame window?? because i
>> > don't get to see the toolbox whereever i put the initiating code! thanks
>> > again!!
>>
>> Hmm, can we see the code of your activity class?
>>
>> Thanks,
>>
>> Tomeu
>>
>> > 2008/11/18 Gary C Martin <[EMAIL PROTECTED]>
>> >>
>> >> On 18 Nov 2008, at 17:55, Gary C Martin wrote:
>> >>
>> >>> Hi Aleix,
>> >>>
>> >>> On 18 Nov 2008, at 17:13, Aleix Palet wrote:
>> >>>
>>  To do this, I've reading the wiki (which is a bit confusing) and I
>>  learned that I have to play with the read_file and write_file
>>  options. What I've done is what I write next (with the consequent
>>  problems):
>> >>>
>> >>> Wiki baptism by fire :-) I think the best effort is:
>> >>>
>> >>>http://wiki.laptop.org/go/Sugar_Almanac
>> >>>
>>  - in the init method of my app, I do the the
>>  acticity.Activity.__init__ and then I create the filechooser, I
>>  choose the file and then load, I guess i shouldn't do it like this,
>>  because when my app is executed through the read_file method, first
>>  this __init__ method is called, showing me the filechooser which I
>>  don't want!
>> >>>
>> >>> OK. I made some slightly naughty timing trick, after hitting the same
>> >>> problem (Moon activity). After asking the list Tomeu suggested the
>> >>> less naught trick is to see if you are offered a Journal object_id.
>> >>> I've been deflected by localisation/Pootle since then (my excuse), so
>> >>> I've not implemented this yet. It should go something like this:
>> >>>
>> >>> from sugar.datastore import datastore
>> >>> ... ...
>> >>> ... ...
>> >>> dataStore = datastore.get(self.handle.object_id)
>> >>> if dataStore == None:
>> >>># I'm a journal virgin
>> >>> else:
>> >>># resumed
>> >>>
>> >>> --Gary
>> >>
>> >> OK. Serves me right for copy pasting, I of course actually meant to
>> >> write
>> >> the much simpler (and working):
>> >>
>> >> def __init__(self, handle):
>> >>
>> >>
>> >>if handle.object_id == None:
>> >>print "I'm a journal virgin"
>> >>else:
>> >>print "I was resumed"
>> >>
>> >>
>> >>
>> >> :-)
>> >>
>> >> --Gary
>> >>
>> >>>
>> >>>
>>  - another problem is that the read_file filename parameter, gives me
>>  the path of the journal file copy, which is not a .jclic,zip file,
>>  then is not the file that I want.
>> 
>>  So my questions are:
>> 
>>  - how to organize my code to get the behabiour that I want?
>>  - how to get the real path?
>> 
>>  And finally, I've got another problem which is not as important as
>>  the ones before, but if I get an asnwer I would really grateful.
>>  When I open the filechooser which is made with and wx.app, which it
>>  also has an wx.frame, then I choose the file, but I don't get the
>>  window closed and the execution returned to the main app. The window
>>  stays opened without showing anything (a grey window).
>> 
>>  Thank you for everything, maybe the questions are a bit basic, but
>>  as I said, is really hard to find some documentation in the olpc
>>  wiki. Bye!
>> 
>> 
>>  ___
>>  Devel mailing list
>>  Devel@lists.laptop.org
>>  http://lists.laptop.org/listinfo/devel
>> >>>
>> >>> ___
>> >>> Devel mailing list
>> >>> Devel@lists.laptop.org
>> >>> http://lists.laptop.org/listinfo/devel
>> >>
>> >
>> >
>> > __

Re: Differents behaviours of my application

2008-11-19 Thread Aleix Palet
Here you have it (the implicated parts):
from sugar.activity import activity

def __init__(self, handle):
activity.Activity.__init__(self, handle)
toolbox = activity.ActivityToolbox(self)
self.set_toolbox(toolbox)
toolbox.show()
self.project = None
self.bgImageOrigin = Point()
if handle.object_id == None:
f = FileChooser()
file = f.chooseFile()
 pygame.init()
self.screen = pygame.display.set_mode((1200, 900), 0, 32)
self.load(file, None, None, None)

def read_file(self, fileame):
pygame.init()
self.screen = pygame.display.set_mode((1200, 900), 0, 32)
self.load(filename, None, None, None)

Maybe the problem is how I create the activity?

2008/11/19 Tomeu Vizoso <[EMAIL PROTECTED]>

> 2008/11/19 Aleix Palet <[EMAIL PROTECTED]>:
> > Ok, now with Gary's code when i do resume i get the desired behaviour in
> the
> > __init__ funcion, but i don't get the code of my read_file emthod to be
> > called. Do I have to do something special?? thanks!
> > Another thing, how can i put the toolbox in a pygame window?? because i
> > don't get to see the toolbox whereever i put the initiating code! thanks
> > again!!
>
> Hmm, can we see the code of your activity class?
>
> Thanks,
>
> Tomeu
>
> > 2008/11/18 Gary C Martin <[EMAIL PROTECTED]>
> >>
> >> On 18 Nov 2008, at 17:55, Gary C Martin wrote:
> >>
> >>> Hi Aleix,
> >>>
> >>> On 18 Nov 2008, at 17:13, Aleix Palet wrote:
> >>>
>  To do this, I've reading the wiki (which is a bit confusing) and I
>  learned that I have to play with the read_file and write_file
>  options. What I've done is what I write next (with the consequent
>  problems):
> >>>
> >>> Wiki baptism by fire :-) I think the best effort is:
> >>>
> >>>http://wiki.laptop.org/go/Sugar_Almanac
> >>>
>  - in the init method of my app, I do the the
>  acticity.Activity.__init__ and then I create the filechooser, I
>  choose the file and then load, I guess i shouldn't do it like this,
>  because when my app is executed through the read_file method, first
>  this __init__ method is called, showing me the filechooser which I
>  don't want!
> >>>
> >>> OK. I made some slightly naughty timing trick, after hitting the same
> >>> problem (Moon activity). After asking the list Tomeu suggested the
> >>> less naught trick is to see if you are offered a Journal object_id.
> >>> I've been deflected by localisation/Pootle since then (my excuse), so
> >>> I've not implemented this yet. It should go something like this:
> >>>
> >>> from sugar.datastore import datastore
> >>> ... ...
> >>> ... ...
> >>> dataStore = datastore.get(self.handle.object_id)
> >>> if dataStore == None:
> >>># I'm a journal virgin
> >>> else:
> >>># resumed
> >>>
> >>> --Gary
> >>
> >> OK. Serves me right for copy pasting, I of course actually meant to
> write
> >> the much simpler (and working):
> >>
> >> def __init__(self, handle):
> >>
> >>
> >>if handle.object_id == None:
> >>print "I'm a journal virgin"
> >>else:
> >>print "I was resumed"
> >>
> >>
> >>
> >> :-)
> >>
> >> --Gary
> >>
> >>>
> >>>
>  - another problem is that the read_file filename parameter, gives me
>  the path of the journal file copy, which is not a .jclic,zip file,
>  then is not the file that I want.
> 
>  So my questions are:
> 
>  - how to organize my code to get the behabiour that I want?
>  - how to get the real path?
> 
>  And finally, I've got another problem which is not as important as
>  the ones before, but if I get an asnwer I would really grateful.
>  When I open the filechooser which is made with and wx.app, which it
>  also has an wx.frame, then I choose the file, but I don't get the
>  window closed and the execution returned to the main app. The window
>  stays opened without showing anything (a grey window).
> 
>  Thank you for everything, maybe the questions are a bit basic, but
>  as I said, is really hard to find some documentation in the olpc
>  wiki. Bye!
> 
> 
>  ___
>  Devel mailing list
>  Devel@lists.laptop.org
>  http://lists.laptop.org/listinfo/devel
> >>>
> >>> ___
> >>> Devel mailing list
> >>> Devel@lists.laptop.org
> >>> http://lists.laptop.org/listinfo/devel
> >>
> >
> >
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> >
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Differents behaviours of my application

2008-11-19 Thread Tomeu Vizoso
2008/11/19 Aleix Palet <[EMAIL PROTECTED]>:
> Ok, now with Gary's code when i do resume i get the desired behaviour in the
> __init__ funcion, but i don't get the code of my read_file emthod to be
> called. Do I have to do something special?? thanks!
> Another thing, how can i put the toolbox in a pygame window?? because i
> don't get to see the toolbox whereever i put the initiating code! thanks
> again!!

Hmm, can we see the code of your activity class?

Thanks,

Tomeu

> 2008/11/18 Gary C Martin <[EMAIL PROTECTED]>
>>
>> On 18 Nov 2008, at 17:55, Gary C Martin wrote:
>>
>>> Hi Aleix,
>>>
>>> On 18 Nov 2008, at 17:13, Aleix Palet wrote:
>>>
 To do this, I've reading the wiki (which is a bit confusing) and I
 learned that I have to play with the read_file and write_file
 options. What I've done is what I write next (with the consequent
 problems):
>>>
>>> Wiki baptism by fire :-) I think the best effort is:
>>>
>>>http://wiki.laptop.org/go/Sugar_Almanac
>>>
 - in the init method of my app, I do the the
 acticity.Activity.__init__ and then I create the filechooser, I
 choose the file and then load, I guess i shouldn't do it like this,
 because when my app is executed through the read_file method, first
 this __init__ method is called, showing me the filechooser which I
 don't want!
>>>
>>> OK. I made some slightly naughty timing trick, after hitting the same
>>> problem (Moon activity). After asking the list Tomeu suggested the
>>> less naught trick is to see if you are offered a Journal object_id.
>>> I've been deflected by localisation/Pootle since then (my excuse), so
>>> I've not implemented this yet. It should go something like this:
>>>
>>> from sugar.datastore import datastore
>>> ... ...
>>> ... ...
>>> dataStore = datastore.get(self.handle.object_id)
>>> if dataStore == None:
>>># I'm a journal virgin
>>> else:
>>># resumed
>>>
>>> --Gary
>>
>> OK. Serves me right for copy pasting, I of course actually meant to write
>> the much simpler (and working):
>>
>> def __init__(self, handle):
>>
>>
>>if handle.object_id == None:
>>print "I'm a journal virgin"
>>else:
>>print "I was resumed"
>>
>>
>>
>> :-)
>>
>> --Gary
>>
>>>
>>>
 - another problem is that the read_file filename parameter, gives me
 the path of the journal file copy, which is not a .jclic,zip file,
 then is not the file that I want.

 So my questions are:

 - how to organize my code to get the behabiour that I want?
 - how to get the real path?

 And finally, I've got another problem which is not as important as
 the ones before, but if I get an asnwer I would really grateful.
 When I open the filechooser which is made with and wx.app, which it
 also has an wx.frame, then I choose the file, but I don't get the
 window closed and the execution returned to the main app. The window
 stays opened without showing anything (a grey window).

 Thank you for everything, maybe the questions are a bit basic, but
 as I said, is really hard to find some documentation in the olpc
 wiki. Bye!


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


libertas firmware version query

2008-11-19 Thread Peter Robinson
Hi All,

Quick query on the libertas-usb8388-firmware package. Is the firmware
version dependent on the kernel version or anything else?

The reason I ask is that the version in joyride is
2:5.110.22.p18-1.olpc2 from the old olpc2 branch and the one in Fedora
mainline is 2:5.110.22.p14-1.fc10. So there's a difference of p18 vs
p14. Is there any reason not to push the later version into Fedora
mainline and just use that package for all?

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


Re: Differents behaviours of my application

2008-11-19 Thread Aleix Palet
Ok, now with Gary's code when i do resume i get the desired behaviour in the
__init__ funcion, but i don't get the code of my read_file emthod to be
called. Do I have to do something special?? thanks!
Another thing, how can i put the toolbox in a pygame window?? because i
don't get to see the toolbox whereever i put the initiating code! thanks
again!!

2008/11/18 Gary C Martin <[EMAIL PROTECTED]>

> On 18 Nov 2008, at 17:55, Gary C Martin wrote:
>
>  Hi Aleix,
>>
>> On 18 Nov 2008, at 17:13, Aleix Palet wrote:
>>
>>  To do this, I've reading the wiki (which is a bit confusing) and I
>>> learned that I have to play with the read_file and write_file
>>> options. What I've done is what I write next (with the consequent
>>> problems):
>>>
>>
>> Wiki baptism by fire :-) I think the best effort is:
>>
>>http://wiki.laptop.org/go/Sugar_Almanac
>>
>>  - in the init method of my app, I do the the
>>> acticity.Activity.__init__ and then I create the filechooser, I
>>> choose the file and then load, I guess i shouldn't do it like this,
>>> because when my app is executed through the read_file method, first
>>> this __init__ method is called, showing me the filechooser which I
>>> don't want!
>>>
>>
>> OK. I made some slightly naughty timing trick, after hitting the same
>> problem (Moon activity). After asking the list Tomeu suggested the
>> less naught trick is to see if you are offered a Journal object_id.
>> I've been deflected by localisation/Pootle since then (my excuse), so
>> I've not implemented this yet. It should go something like this:
>>
>> from sugar.datastore import datastore
>> ... ...
>> ... ...
>> dataStore = datastore.get(self.handle.object_id)
>> if dataStore == None:
>># I'm a journal virgin
>> else:
>># resumed
>>
>> --Gary
>>
>
> OK. Serves me right for copy pasting, I of course actually meant to write
> the much simpler (and working):
>
> def __init__(self, handle):
>
>
>if handle.object_id == None:
>print "I'm a journal virgin"
>else:
>print "I was resumed"
>
>
>
>
> :-)
>
> --Gary
>
>
>>
>>  - another problem is that the read_file filename parameter, gives me
>>> the path of the journal file copy, which is not a .jclic,zip file,
>>> then is not the file that I want.
>>>
>>> So my questions are:
>>>
>>> - how to organize my code to get the behabiour that I want?
>>> - how to get the real path?
>>>
>>> And finally, I've got another problem which is not as important as
>>> the ones before, but if I get an asnwer I would really grateful.
>>> When I open the filechooser which is made with and wx.app, which it
>>> also has an wx.frame, then I choose the file, but I don't get the
>>> window closed and the execution returned to the main app. The window
>>> stays opened without showing anything (a grey window).
>>>
>>> Thank you for everything, maybe the questions are a bit basic, but
>>> as I said, is really hard to find some documentation in the olpc
>>> wiki. Bye!
>>>
>>>
>>> ___
>>> Devel mailing list
>>> Devel@lists.laptop.org
>>> http://lists.laptop.org/listinfo/devel
>>>
>>
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>>
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: joyride build fixes cont

2008-11-19 Thread Peter Robinson
>> Hi All,
>>
>> Looking further at the issues with joyride in particular the
>> following 3 packages:
>>
>> ntpdate
>> olpcsound
>> olpc-logos
>>
>> Looking at the output of the pilgrim build logs [1] I see the following
>> errors:
>>
>> Setting up Install Process
>> Parsing package install arguments
>> No package olpc-logos available.
>> No package olpcsound available.
>> No package ntp-ntpdate available.
>> Resolving Dependencies
>>
>> The ntp-ntpdate package is now called just ntpdate. I've tagged the
>> standard F-10 build package for olpc-4 in koji so if someone could
>> update the build script for the new name it should be fixed.
> please untag it.  it will be picked up through regular inheritance.  by having
> it tagged any fedora updates will not get picked up automatically.

Done. Sorry, still a bit raw on how the whole tagging side of things
works. There doesn't seem to be a lot of documentation on how it
works.

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


Re: joyride build fixes cont

2008-11-19 Thread Peter Robinson
>> please untag it.  it will be picked up through regular inheritance.  by 
>> having
>> it tagged any fedora updates will not get picked up automatically.
>
> Hmm, then perhaps I should undo what I did yesterday (tagged 3
> packages in the f10-updates queue for quicker joyride inclusion).

Those would then drop out as they haven't been pushed to F-10 due to
the immentant release of F-10 so I can do them once I've had
confirmation they've been pushed to mainline.

> But, I'm pretty sure we had things working differently for F9. If
> there was something pending we would tag it for earlier inclusion than
> normal. I'm pretty sure it was you who told me this, I documented it
> here:
> http://wiki.laptop.org/go/Joyride#Packages_without_OLPC-3_disttags
>
> Can we make things work the same way for F10? Saves the pain of
> waiting for the updates queue which is out of our hands.

Once F-10 is out and rolling I suspect it will be less painful. Its
just that we're so close to release.

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


Re: joyride build fixes cont

2008-11-19 Thread Daniel Drake
On Wed, Nov 19, 2008 at 4:25 PM, Dennis Gilmore <[EMAIL PROTECTED]> wrote:
> please untag it.  it will be picked up through regular inheritance.  by having
> it tagged any fedora updates will not get picked up automatically.

Hmm, then perhaps I should undo what I did yesterday (tagged 3
packages in the f10-updates queue for quicker joyride inclusion).

But, I'm pretty sure we had things working differently for F9. If
there was something pending we would tag it for earlier inclusion than
normal. I'm pretty sure it was you who told me this, I documented it
here:
http://wiki.laptop.org/go/Joyride#Packages_without_OLPC-3_disttags

Can we make things work the same way for F10? Saves the pain of
waiting for the updates queue which is out of our hands.

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


Re: joyride build fixes cont

2008-11-19 Thread Dennis Gilmore
On Wednesday 19 November 2008 05:50:29 am Peter Robinson wrote:
> Hi All,
>
> Looking further at the issues with joyride in particular the
> following 3 packages:
>
> ntpdate
> olpcsound
> olpc-logos
>
> Looking at the output of the pilgrim build logs [1] I see the following
> errors:
>
> Setting up Install Process
> Parsing package install arguments
> No package olpc-logos available.
> No package olpcsound available.
> No package ntp-ntpdate available.
> Resolving Dependencies
>
> The ntp-ntpdate package is now called just ntpdate. I've tagged the
> standard F-10 build package for olpc-4 in koji so if someone could
> update the build script for the new name it should be fixed.
please untag it.  it will be picked up through regular inheritance.  by having 
it tagged any fedora updates will not get picked up automatically.

> The olpcsound package is built and tagged so should be pulled in for
> the next joyride.

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


Re: [Server-devel] Setting up XS-0.5 for testing

2008-11-19 Thread Martin Langhoff
On Tue, Nov 18, 2008 at 6:58 PM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
> That is what I saw earlier on firstboot, named assumes a default name and
> starts up without /etc/sysconfig/xs_domain_name, while dhcpd doesn't start
> because /etc/sysconfig/xs_domain_name is not set. Shouldn't dhcpd be setup
> with the same default server domain and role for firstboot?

I hope to revamp all the domain setting stuff soon. There's breakage
left and right with the current approach :-/


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


New joyride build 2555

2008-11-19 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2555

Changes in build 2555 from build: 2554

Size delta: 0.00M

+ntpdate 4.2.4p5-2.fc10

--- Included ntpdate version 4.2.4p5-2.fc10 ---

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: joyride build fixes cont

2008-11-19 Thread Daniel Drake
On Wed, Nov 19, 2008 at 11:50 AM, Peter Robinson <[EMAIL PROTECTED]> wrote:
> The ntp-ntpdate package is now called just ntpdate. I've tagged the
> standard F-10 build package for olpc-4 in koji so if someone could
> update the build script for the new name it should be fixed.

Ah, I was wondering where this had gone. Updated pilgrim, thanks.

> The olpcsound package is built and tagged so should be pulled in for
> the next joyride.

Great!

> The olpc-logos package I can't even see in 8.2-767 package list [2] so
> is it even relevant any more? If not can the person who can fix the
> ntpdate issue remove it from  the list.

Hmm, I'll leave this one for someone who understands more about the
build system. This package is only included in the ext3 builds (which
we don't use on the XO), and I don't really understand that
difference.

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


joyride build fixes cont

2008-11-19 Thread Peter Robinson
Hi All,

Looking further at the issues with joyride in particular the
following 3 packages:

ntpdate
olpcsound
olpc-logos

Looking at the output of the pilgrim build logs [1] I see the following errors:

Setting up Install Process
Parsing package install arguments
No package olpc-logos available.
No package olpcsound available.
No package ntp-ntpdate available.
Resolving Dependencies

The ntp-ntpdate package is now called just ntpdate. I've tagged the
standard F-10 build package for olpc-4 in koji so if someone could
update the build script for the new name it should be fixed.

The olpcsound package is built and tagged so should be pulled in for
the next joyride.

The olpc-logos package I can't even see in 8.2-767 package list [2] so
is it even relevant any more? If not can the person who can fix the
ntpdate issue remove it from  the list.

Cheers,
Peter

[1] 
http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/latest/devel_ext3/build.log
[2] http://dev.laptop.org/~bert/8.2/767
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel