Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread laurent bernabe
Thank you very much. I fixed the problem with a lazy intialisation method inside the Game class. Now I will be more careful about where I call pygame.init(). I've also commited the changes. Thanks 2013/9/26 Alan Jhonn Aguiar Schwyn alan...@hotmail.com You can't call pygame.init in the game

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread laurent bernabe
Thank you very much. In fact I had already solved the problem and commited when I read your message : my idea was the same than yours, but I've done it with a lazy initialisation, thanks to a flag self._initialized (boolean). Thanks :) 2013/9/26 Alan Jhonn Aguiar Schwyn alan...@hotmail.com A

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread Alan Jhonn Aguiar Schwyn
There are not problem with call pygame.init all times that you want (see the documentation).The problem is call outside of self._pygamecanvas.run_pygame function.It's one thing of SugarGames. Date: Fri, 27 Sep 2013 09:03:25 +0200 Subject: Re: [Sugar-devel] PyGame can be run only once assertion

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread James Cameron
Could this be fixed in SugarGames in future? (Not an invitation to discuss deprecation in favour of alternate technologies; clearly it is in use, why can't we fix it?) On Fri, Sep 27, 2013 at 04:07:11AM -0300, Alan Jhonn Aguiar Schwyn wrote: There are not problem with call pygame.init all times

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread laurent bernabe
Ok. I've understood. I must call pygames related functions inside show_menu as it is the method declared to be run by SugarGames wrapper. Thanks. 2013/9/27 Alan Jhonn Aguiar Schwyn alan...@hotmail.com There are not problem with call pygame.init all times that you want (see the

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread Alan Jhonn Aguiar Schwyn
Exactly! In sugargame/canvas.py there are an assert that explain that common problem: # Preinitialize Pygame with the X window ID.assert pygame.display.get_init() == False, Pygame must not be initialized before calling PygameCanvas.run_pygame. Date: Fri, 27 Sep 2013 09:52:29 +0200 Subject: Re:

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread James Cameron
Hmm, not terrific, yes. But 100% of the developers who have used SugarGames in the past nine months have stumbled on it. ;-) On Fri, Sep 27, 2013 at 05:19:04AM -0300, Alan Jhonn Aguiar Schwyn wrote: I think that is not terrific problem. The problem must be documented, it's a easy to solve

[Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
Hello everyone, Now I feel I am ready to set up translation system to my aplication (HitTheBalls) : so I am wondering whether I should use Pootle, or whether this mechanism has been replaced in 0.100 (or close minor versions). Also, I went to this page : http://wiki.laptop.org/go/Pootle. As I

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread Gonzalo Odiard
May be you want http://wiki.sugarlabs.org/go/Translation_Team/i18n_Best_Practices Pootle is alive, probably you want contact Chris Leonard cjlhomeaddr...@gmail.com head of the localization team to add your activity to pootle, but I think is better do it when you have finished development, and

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
Thank you. Indeed, I think that my activity is finished and that I won't add more (otherwise won't add many) functionnality to it. So I'll contact Chris Leonard. Regards 2013/9/27 Gonzalo Odiard gonz...@laptop.org May be you want

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread Chris Leonard
Pootle migrated from OLPC to Sugar Labs, but it is very much alive. http://translate.sugarlabs.org/ Open a ticket in the Sugar Labs Trac (component = localization) to begin Poolte set up of an activity after following the I18n best Practices mentioned in rpevious messages. cjl Sugar Labs

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
Thanks, I even think that I must look up for resources about gettext and other prerequesites, before reading the best practices pages. So when I feel ready, I will open the ticket. Regards 2013/9/27 Chris Leonard cjlhomeaddr...@gmail.com Pootle migrated from OLPC to Sugar Labs, but it is

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread Chris Leonard
Try this chapter http://en.flossmanuals.net/make-your-own-sugar-activities/going-international-with-pootle/ On Fri, Sep 27, 2013 at 7:38 AM, laurent bernabe laurent.bern...@gmail.com wrote: Thanks, I even think that I must look up for resources about gettext and other prerequesites, before

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread laurent bernabe
Thank you very much. 2013/9/27 Chris Leonard cjlhomeaddr...@gmail.com Try this chapter http://en.flossmanuals.net/make-your-own-sugar-activities/going-international-with-pootle/ On Fri, Sep 27, 2013 at 7:38 AM, laurent bernabe laurent.bern...@gmail.com wrote: Thanks, I even think

Re: [Sugar-devel] Setting translations : is Pootle still up to date for that ?

2013-09-27 Thread Chris Leonard
Thank you for thinking internationally. On Fri, Sep 27, 2013 at 8:09 AM, laurent bernabe laurent.bern...@gmail.com wrote: Thank you very much. 2013/9/27 Chris Leonard cjlhomeaddr...@gmail.com Try this chapter

[Sugar-devel] Adding pootle as user

2013-09-27 Thread laurent bernabe
Hello everyone, As I would like to manage intertionalization for my activity (HitTheBalls), I know that I need to add pootle as a private commiter. But what is the git command in order to do it ? Regards. ___ Sugar-devel mailing list

Re: [Sugar-devel] Adding pootle as user

2013-09-27 Thread laurent bernabe
Oh, also, what is the trac page for making the new ticket, in order to intertionalize my application, please ? (I have no account yet). Regards. 2013/9/27 laurent bernabe laurent.bern...@gmail.com Hello everyone, As I would like to manage intertionalization for my activity (HitTheBalls), I

Re: [Sugar-devel] Adding pootle as user

2013-09-27 Thread Chris Leonard
http://bugs.sugarlabs.org/ On Fri, Sep 27, 2013 at 8:47 AM, laurent bernabe laurent.bern...@gmail.com wrote: Oh, also, what is the trac page for making the new ticket, in order to intertionalize my application, please ? (I have no account yet). Regards. 2013/9/27 laurent bernabe

Re: [Sugar-devel] Adding pootle as user

2013-09-27 Thread laurent bernabe
Thanks 2013/9/27 Chris Leonard cjlhomeaddr...@gmail.com http://bugs.sugarlabs.org/ On Fri, Sep 27, 2013 at 8:47 AM, laurent bernabe laurent.bern...@gmail.com wrote: Oh, also, what is the trac page for making the new ticket, in order to intertionalize my application, please ? (I have no

Re: [Sugar-devel] PyGame can be run only once assertion error

2013-09-27 Thread Manuel Quiñones
2013/9/27 James Cameron qu...@laptop.org: Could this be fixed in SugarGames in future? (Not an invitation to discuss deprecation in favour of alternate technologies; clearly it is in use, why can't we fix it?) Absolutly. As the current maintainer, I will give it a try. -- .. manuq ..

Re: [Sugar-devel] [support-gang] Helping test Sugar 0.100

2013-09-27 Thread Manuel Quiñones
2013/9/26 James Cameron qu...@laptop.org: On Thu, Sep 26, 2013 at 05:50:57PM -0300, Manuel Quiñones wrote: 2013/9/26 Gonzalo Odiard gonz...@laptop.org: To all the people interested in help to test the new features in Sugar 0.100, I have prepared rpms to install over a 13.2.0 image on

Re: [Sugar-devel] [support-gang] Helping test Sugar 0.100

2013-09-27 Thread Gonzalo Odiard
No, I never had a koji user. How can I have one? Gonzalo On Fri, Sep 27, 2013 at 11:18 AM, Manuel Quiñones ma...@laptop.org wrote: 2013/9/26 James Cameron qu...@laptop.org: On Thu, Sep 26, 2013 at 05:50:57PM -0300, Manuel Quiñones wrote: 2013/9/26 Gonzalo Odiard gonz...@laptop.org: To

Re: [Sugar-devel] Helping test Sugar 0.100

2013-09-27 Thread Gonzalo Odiard
Your .zip has more levels than you planned, I think. su rpm -e sugar-update-control Needed here: pushd run/media/gonzalo/E8B1-F3D9/i386-0100 Sorry, I fixed that and uploaded a new zip file. These patches have more fun, in development for Australia. [...] Some of these feature

Re: [Sugar-devel] [support-gang] Helping test Sugar 0.100

2013-09-27 Thread Manuel Quiñones
2013/9/27 Gonzalo Odiard gonz...@laptop.org: No, I never had a koji user. How can I have one? According to https://fedoraproject.org/wiki/Using_the_Koji_build_system you need to be a Fedora package maintainer. And according to

Re: [Sugar-devel] Helping test Sugar 0.100

2013-09-27 Thread Gonzalo Odiard
Confirmame si esto te sirve para probarlo en la 1.5 Gonzalo On Thu, Sep 26, 2013 at 7:07 PM, Flavio Danesse fdane...@gmail.com wrote: Hay alguna imagen disponible para instalar en xo 1.5 o 1.75? 2013/9/26 Manuel Quiñones ma...@laptop.org 2013/9/26 Gonzalo Odiard gonz...@laptop.org: To

Re: [Sugar-devel] sugar-build won't start

2013-09-27 Thread Manuel Quiñones
Today I tried a fresh install of Fedora 19 with this in the prefs.json file: { use_broot: false } Got this error: [manuq@localhost sugar-build]$ ./osbuild build = Building = * Building automake Traceback (most recent call last): File

Re: [Sugar-devel] sugar-build won't start

2013-09-27 Thread Daniel Narvaez
I pushed an untested fix (not on F19 anymore so I can't test here...). Can you try with a clean clone and see if it helps? On 27 September 2013 18:48, Manuel Quiñones ma...@laptop.org wrote: Today I tried a fresh install of Fedora 19 with this in the prefs.json file: { use_broot: false

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-09-27 Thread Manuel Quiñones
Yes, I think you will not have a problem. Please try and tell us. 2013/9/27 laurent bernabe laurent.bern...@gmail.com: Hi, As I developped my activity (HitTheBalls) under sugar-build 0.100, I am wondering if I can test the bundle with SOAS 0.98 (installing it on Virtual Box). I mean :

Re: [Sugar-devel] Testing the activity bundle of my activity before submitting it to ASLO.

2013-09-27 Thread laurent bernabe
Thanks, So I'll try with the SoaS v8 appliance for Virtual Box. I will report the success or failure, and possibly post bundle on ASLO. 2013/9/27 Manuel Quiñones ma...@laptop.org Yes, I think you will not have a problem. Please try and tell us. 2013/9/27 laurent bernabe

Re: [Sugar-devel] Helping test Sugar 0.100

2013-09-27 Thread Gonzalo Odiard
OK, thanks for testing. Gonzalo On Fri, Sep 27, 2013 at 7:49 PM, James Cameron qu...@laptop.org wrote: On Fri, Sep 27, 2013 at 11:35:32AM -0300, Gonzalo Odiard wrote: gconftool-2 -s --type \ boolean /desktop/sugar/extensions/network/conf_hidden_ssid true Thanks. A restart was needed,