New submission from Steve Carll <spcmi...@maine.rr.com>:
I'm having a problem with an application that uses threads and TKinter. Sometimes everything works fine but there are 2 errors that I can't seem to figure out why they are happening. The first error is the GUI completely locking up with no text cursor in the textbox. The second problem is a crash after the input has been entered. I have created a bare minimum test application that demonstrates the problem. The problems are easily reproducible. I've attached a simpleteTKinter test application that I created using Page. I've also attached 3 screen captures. 1. threadTest-OK.jpg is proper behavior 2. threadTest-Hung.jpg shows the unresponsive application 3. threadTest-Exception.jpg shows the exception thrown when input window is closed It looks like a race condition to me. I've tried putting in delays and using after but I can't seem to work around it. Am I doing something wrong here? ---------- components: Tkinter files: threadTest.zip messages: 381990 nosy: spcmicro priority: normal severity: normal status: open title: TKinter hanging intermittently - sometimes throwing exception type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file49631/threadTest.zip _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42491> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com