[PyQt] "Abort Trap: 6" on exception on GUI thread

Patrick Stinson patrickkidd at gmail.com
Sat Feb 11 03:45:34 GMT 2017


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170210/ec57bc20/attachment.html>

More information about the PyQt mailing list