[Pythonmac-SIG] app won't quit?

Paul Wiseman poalman at gmail.com
Tue May 28 13:34:54 CEST 2013


On 27 May 2013 16:26, Charles Hartman <cohar at conncoll.edu> wrote:

> I'm coming back to all of this after years away, so I'm sure I'm missing
> something simple.  I've brought an old app into the current world:
>
>    Python 2.7.5
>    OS 10.8.3
>    wxPython 2.9.4.0
>    py2app 0.7.3
>
> and I rebuilt my setup.py to current specifications.  The resulting app
> works fine (though it's enormous!), but it won't respond to a Quit command
> (keyboard or menu).  The menu-bar header (with my app's name) flashes, but
> nothing else happens.
>
> Thanks for any help.
>
>
In wx the app will close if all top level frames are closed, so if some are
left open it wont, did you override some close event handlers possibly by
binding to EVT_CLOSE?

Also the app will stay running as long as any non-daemon threads are
running- are you using any threading in the app?


>
> --
>
> Charles O. Hartman
> Poet in Residence
> Lucy Marsh Haskell '19 Professor of Literatures in English
> oak.conncoll.edu/cohar
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20130528/e525b57a/attachment.html>


More information about the Pythonmac-SIG mailing list