[PyQt] "Abort Trap: 6" on exception on GUI thread
Patrick Stinson
patrickkidd at gmail.com
Sat Feb 11 03:46:00 GMT 2017
Oh yes, and I’m using Qt/PyQt at 5.7.1 with python3.5
> On Feb 10, 2017, at 7:45 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>
> Hello!
>
> Is there any way to configure PyQt5 not to trigger an abort trap when an exception is raised in the gui thread?
>
> turin:pkdiagram patrick$ make run
> Traceback (most recent call last):
> File "/Users/patrick/Documents/dev/pkdiagram/pkdiagram/scene.py", line 28, in mousePressEvent
> raise 'sdsdfsd'
> TypeError: exceptions must derive from BaseException
> make: *** [run] Abort trap: 6
> turin:pkdiagram patrick$
>
>
> Thank you!
> -P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170210/5ee92821/attachment.html>
More information about the PyQt
mailing list