If i understand you correctly you want to handle an exception that is thrown 
withing a thread in the main-thread right ?

You could just catch the exception within the thread and send a signal to the 
main-thread.


Von: pyqt-boun...@riverbankcomputing.com 
[mailto:pyqt-boun...@riverbankcomputing.com] Im Auftrag von José M. Rodriguez 
Bacallao
Gesendet: Dienstag, 18. Dezember 2012 14:34
An: PyQt Mailing List
Betreff: Re: [PyQt] QThreads and exceptions

anyone?

On Mon, Dec 17, 2012 at 3:53 PM, José M. Rodriguez Bacallao 
<jmr...@gmail.com<mailto:jmr...@gmail.com>> wrote:
how to catch an exception thrown from a QThread, if I use python threads, I can 
catch it but no from QThread.




. . . . . . . . . . . . . . . . . . . . . . . . . .

Ing. Patrick Szabo

Developer

LexisNexis

A-1030 Wien, Marxergasse 25



patrick.sz...@lexisnexis.at<mailto:patrick.sz...@lexisnexis.at>

Tel.: +43 1 53452 1573

Fax.: +43 1 534 52 146

. . . . . . . . . . . . . . . . . . . . . . . . . .


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to