[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] PyQT UI freeze after long-run
From: "Robert Schilling" <robert.schilling () gmx ! at>
Date: 2013-09-27 12:18:34
Message-ID: trinity-1ce0ed11-4890-4f4e-b229-f6f33819bad6-1380284314331 () 3capp-gmx-bs63
[Download RAW message or body]
I've written a PyQT application for doing automized measurements.
The application layout is very simple:
The user interface lives in the main thread. There is a second thread (which is \
started by the main thread) for doing all the measurements. This measurement-thread \
implements a state-machine and reports status to the user-interface using signals.
Now my problem:
This measurement is running about an hour. It continuously sends signals to the UI \
which prints them in a text field. After a while the UI starts freezing (UI window \
title says it is that application is not responding) while the measurement is still \
ongoing. Then after a sudden all messages pops up in the UI again.
It seems that that the UI-main-thread doesn't get any computation time.
Does anyone also encounter that problem? How to deal with it respectively how to \
debug it or find the error?
Thanks in advance!
Robert
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic