[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Exception within Slot causes Abort
From: Baz Walter <bazwal () ftml ! net>
Date: 2016-03-22 20:59:38
Message-ID: 56F1B23A.4000201 () ftml ! net
[Download RAW message or body]
On 22/03/16 19:01, Damon Lynch wrote:
> In my code at least, sometimes when there's an uncaught exception, there
> can be a deluge of them (e.g. exceptions related to a QListView / Model /
> Delegate etc.) If you don't want the application to automatically exit
> after the user closes the message box then stopping the display of message
> box too many times is critical. For now at least I handle that rather
> crudely by only showing an error message via a QMessageBox if it's not been
> shown before, which is determined by checking the module and line number of
> the exception.
The first time I came across this kind of thing, I thought that somehow
the message-box wouldn't close. But of course it *was* closing - it's
just that there was enormous stack of identical message-boxes on top of
each other. Quite a good "WTF", I suppose.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic