classification
Title: Threading issue with Tkinter Frame.insert
Type: behavior Stage:
Components: Tkinter Versions: Python 2.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: moraygrieve
Priority: normal Keywords:

Created on 2009-09-17 17:01 by moraygrieve, last changed 2009-09-17 17:04 by moraygrieve.

Files
File name Uploaded Description Edit
example.py moraygrieve, 2009-09-17 17:00
Messages (2)
msg92781 - (view) Author: Moray Grieve (moraygrieve) Date: 2009-09-17 17:00
The attached file has an example where a Tk GUI is launched as a
seperate thread - this all works fine in Python 2.5, but in Python 2.6
the thread hangs. 

The issue seems to be in the line;

self.messageBoxDetails.insert(INSERT, "Hello world")

Comment this line out, or use an empty string rather than "Hello World",
and the example works in both Python 2.5 and Python 2.6. I have not been
able to seen any related issues to this and wonder if this is a bug in
the 2.6 Tkinter module.
msg92782 - (view) Author: Moray Grieve (moraygrieve) Date: 2009-09-17 17:04
I should say this is running on Windows XP
History
Date User Action Args
2009-09-17 17:04:23moraygrievesetmessages: + msg92782
2009-09-17 17:01:00moraygrievecreate