Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91842

Re: Python.exe has stopped working

From Laura Creighton <lac@openend.se>
Subject Re: Python.exe has stopped working
References <8a6ed08d-7dd6-4a4a-a466-9d3ad98f8dff@googlegroups.com>
Date 2015-06-02 16:12 +0200
Newsgroups comp.lang.python
Message-ID <mailman.62.1433254395.13271.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Tue, 02 Jun 2015 06:09:34 -0700, Alexis Dubois writes:
>Hello !
>
>I have this kind of message every time I quit my PyQt4 app whatever the method to quit is: a quit action menu, the windows "red cross", by quit(), close(), destroy(), deletelater(), ...
>
>"python.exe has stopped working"
>->Check online for a solution
>->Close the program
>
>I need to specify that the app is working nice, just have this message when quit.
>Do you have an idea to help me understand this issue?
>
>Thanks in advance
>Best regards
>Alexis
>-- 
>https://mail.python.org/mailman/listinfo/python-list

You can override closeEvent

def closeEvent(self, event):
    QtGui.qApp.quit()
        event.ignore()

This just shuts it up, you may have more complicated things you want to do.

Laura


Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-02 06:09 -0700
  Re: Python.exe has stopped working Laura Creighton <lac@openend.se> - 2015-06-02 16:12 +0200
    Re: Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-02 07:29 -0700
  Re: Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-05 02:03 -0700
    Re: Python.exe has stopped working Christian Gollwitzer <auriocus@gmx.de> - 2015-06-05 11:15 +0200
      Re: Python.exe has stopped working Laura Creighton <lac@openend.se> - 2015-06-06 13:39 +0200
        [Solved] Python.exe has stopped working Alexis Dubois <alex@duboaa.net> - 2015-06-19 00:01 -0700
    Re: Python.exe has stopped working Stephen Hansen <me+python@ixokai.io> - 2015-06-05 09:24 -0700

csiph-web