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


Groups > comp.lang.python > #91842

Re: Python.exe has stopped working

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!lightspeed.eweka.nl!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'override': 0.07; 'event):': 0.09; 'issue?': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'advance': 0.10; 'def': 0.14; 'alexis': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'quit.': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:stopped': 0.16; 'app': 0.16; 'laura': 0.18; 'windows': 0.20; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'idea': 0.26; 'specify': 0.27; '-0700,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.31; 'url:python': 0.33; 'url:listinfo': 0.35; 'stopped': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'tue,': 0.38; 'things': 0.39; 'method': 0.39; 'whatever': 0.39; 'header:Message-Id:1': 0.62; 'more': 0.62; 'online': 0.71; 'received:89': 0.80; 'nice,': 0.84
To Alexis Dubois <alex@duboaa.net>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Python.exe has stopped working
In-Reply-To Message from Alexis Dubois <alex@duboaa.net> of "Tue, 02 Jun 2015 06:09:34 -0700." <8a6ed08d-7dd6-4a4a-a466-9d3ad98f8dff@googlegroups.com>
References <8a6ed08d-7dd6-4a4a-a466-9d3ad98f8dff@googlegroups.com>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <30142.1433254379.1@fido>
Content-Transfer-Encoding quoted-printable
Date Tue, 02 Jun 2015 16:12:59 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Tue, 02 Jun 2015 16:13:06 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.62.1433254395.13271.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1433254395 news.xs4all.nl 2954 [2001:888:2000:d::a6]:53517
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3895
X-Received-Body-CRC 3136607817
Xref csiph.com comp.lang.python:91842

Show key headers only | 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