[ASLO] [SANDBOX] Cells-3
Walter Bender
walter.bender at gmail.com
Sat Apr 13 18:40:42 EDT 2013
On Sat, Apr 13, 2013 at 6:37 PM, Alan Jhonn Aguiar Schwyn <
alanjas at hotmail.com> wrote:
> The only error that I found is this:
>
> The program 'sugar-activity' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
> (Details: serial 2923 error_code 9 request_code 130 minor_code 3)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the --sync command line
> option to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error()
> function.)
>
>
> Any suggestions? Appears in all Pygame's activities...
>
I think that is the error that prevents Sugar from properly closing the
activity. If you call pygame.display.quit() before quitting Sugar, that
error goes away (in my tests at least).
regards.
-walter
>
> ------------------------------
> From: alanjas at hotmail.com
> To: walter.bender at gmail.com
> CC: aslo at lists.sugarlabs.org
> Subject: RE: [ASLO] [SANDBOX] Cells-3
> Date: Sat, 13 Apr 2013 22:33:14 +0000
>
>
> Ok. I will try with pygame.quit.
>
> The wiki:
>
> http://wiki.sugarlabs.org/go/Activities/Cells
>
> ------------------------------
> Date: Sat, 13 Apr 2013 07:24:11 -0400
> Subject: Re: [ASLO] [SANDBOX] Cells-3
> From: walter.bender at gmail.com
> To: alanjas at hotmail.com
> CC: aslo at lists.sugarlabs.org
>
>
>
>
> On Sat, Apr 13, 2013 at 4:34 AM, Alan Jhonn Aguiar Schwyn <
> alanjas at hotmail.com> wrote:
>
> By parts :-)
>
> >How about a Sugarized icon?
> Ready.
>
>
> thx.
>
>
> >Also, it doesn't exit cleanly (a problem with lots of pygame
> activities... I think you need to quit pygame before quitting the activity.
> What means "exit cleanly" ? All Pygame activities works in the same way
> with sugargames: never use pygame.quit
>
>
> Not sure what is going on with pygames of late, but it seems that many
> sugar activities that use it are not exiting properly. I tried subclassing
> the activity Stop Button to call pygame.display.quit() and pygame.quit()
> before calling self.close() and it seems to help.
>
>
> >I have no idea how to play the game
> Maybe add a help button with basic info?
>
>
> Or at least a page in the wiki?
>
> regards.
>
> -walter
>
>
>
>
> > To: aslo at lists.sugarlabs.org
> > Date: Thu, 11 Apr 2013 00:13:24 -0400
> > From: activities at sugarlabs.org
> > Subject: [ASLO] [SANDBOX] Cells-3
>
> >
> > Your nominated activity, Cells, has been reviewed by a Sugar Labs
> Activities editor who decided to retain it in the sandbox.
> >
> > Review Information:
> > Reviewer: Walter Bender
> > Comments: How about a Sugarized icon? Also, it doesn't exit cleanly (a
> problem with lots of pygame activities... I think you need to quit pygame
> before quitting the activity. Plus, I have no idea how to play the game,
> despite reading the help.
> >
> > If you have questions about this review, please answer to this e-mail or
> join #sugar on chat.freenode.net.
> >
> > Sugar Labs Activities
> > http://activities.sugarlabs.org
> >
> > _______________________________________________
> > ASLO mailing list
> > ASLO at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/aslo
>
> _______________________________________________
> ASLO mailing list
> ASLO at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/aslo
>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
> _______________________________________________
> ASLO mailing list
> ASLO at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/aslo
>
>
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/aslo/attachments/20130413/4887f330/attachment.html>
More information about the ASLO
mailing list