[PyQt] Errors when quitting event loop

Bart Kroon pyqt at tarmack.eu
Thu Apr 12 20:55:34 BST 2012


When the Python interpreter is shutting down all objects are set to None. When 
another thread is then accessing the QObject subclass it finds None and gives 
an error.

You say you are not spawning QThreads but are you using Python threads?

These errors are mostly harmless but if you must get rid of them make sure all 
threads are joined before calling sys.exit().


More information about the PyQt mailing list