[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] wxPython and pygame - pygame window will not disappear
I don't mind that its not supported, I'm willing to
debug it, I just don't know how to start. It is still
revealing bugs in my pygame code, or pygames code in
relation to clean up that are not seen if the process
simply exits instead of still having the wxpython
process running.
I assume we are in C code which is why pythons
debugger is of no use.
Mark
--- René Dudfield <renesd@xxxxxxxxx> wrote:
> it's not really supported.
>
> See http://pygame.org/wiki/gui
>
>
>
> On Jan 20, 2008 7:24 PM, Mark Reed
> <markreed99@xxxxxxxxx> wrote:
> > I'm running my pygame game from my wxPython app, (
> it
> > pops up a new window instead of using the window
> > specified by SDL_WINDOWID, but thats ok. ) my
> problem
> > is the window does not destroy itself after all my
> > pygame related objects are deleted and if I try to
> > call pygame.quit() I get this:
> >
> > Fatal Python error: (pygame parachute)
> Segmentation
> > Fault
> >
> > How can I debug this? I tried using the python
> > debugger pdb, but it does not help.
> >
> > This works fine with a simple pygame app ( window
> > closes and pygame.quit() doesn't cause any
> problems )
> >
> > I assumed I had objects not deleted so matched
> > __init__'s and __del__'s for my code and
> everything is
> > gone, but the window is still around, so I want to
> try
> > debugging the pygame.quit() call, but don't know
> how.
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Never miss a thing. Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
> >
>
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs