<div dir="ltr">Hi Terry,<div><br></div><div>Thanks for your reply!</div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Nasty. I have seen TclErrors, but with a message.<br>
<br>
Here is a simple test I just ran (from within Idle) on Win7, 2.7.6.<br>
<br>
>>> import Tkinter as tk<br>
>>> root = tk.Tk()<br>
>>> tk.Label(root, text = 'label text').pack()<br>
>>> tk.mainloop()<br>
<br>
and I see a window with label with text.<br>
<br>
tk._test() works too, with slightly more involved window.<br></blockquote><div><br></div><div>I tried this, but it panics in the same way when running tk.Label(). Again, I can see an empty window after "root=tk.Tk()". </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
You said you tried 2.7.5. I believe 2.7.6 has some tkinter bug fixes.<br>
There is also the issue that TkVersion == 8.5 is underspecied -- there are multiple bugfix releases. The 2.7 Windows installer has been installing 8.5.2, which has some bugs, but 2.7.7 will install 8.5.13, which is much better.</blockquote>
<div><br></div><div>Sure, I can try with some other combinations of python/tk versions. However, I tried on other SL6 machines, they have the same version (SL6.5), and same tests work on those systems. So, the python/2.6.6 and tk-6.5.7 should work... </div>
<div><br></div><div>I can't recall how I set up these systems differently, but I am worried that there are other non-tk/python related issues... I am just curious if there are other ways to debug this other than python gdb?</div>
<div><br></div><div>Thanks again for your help!</div><div><br></div><div>Kai</div><div><br></div></div><br clear="all"><div><br></div>-- <br>Kai Song<br><<a href="mailto:ksong@lbl.gov" target="_blank">ksong@lbl.gov</a>> 1.510.495.2180<br>
1 Cyclotron Rd. Berkeley, CA94720, MS-50B 3209<br>High Performance Computing Services (HPCS) <br>Lawrence Berkeley National Laboratory - <a href="http://scs.lbl.gov" target="_blank">http://scs.lbl.gov</a>
</div></div>