[PyQt] Fwd: Incomplete tracebacks

Michael Herrmann michael at herrmann.io
Wed Apr 4 07:30:06 BST 2018


Hi all,

I found out today that exception tracebacks in PyQt apps are
sometimes cut off. That is, instead of

Traceback (most recent call last):
  File ..., line ..., in f()
  File ..., line ..., in g()
  File ..., line ..., in h()
Exception


You only get

Traceback (most recent call last):
  File ..., line ..., in g()
  File ..., line ..., in h()
Exception


I wrote a blog post <https://fman.io/blog/pyqt-excepthook/> with an
example, an explanation and a
solution. Maybe some of you will find it useful.

Best wishes,
Michael
Author of fbs <https://github.com/mherrmann/fbs> - Create PyQt apps in
minutes, not months
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180404/162fb87f/attachment.html>


More information about the PyQt mailing list