Re: tkinter errors out without clear message

2014-05-22 Thread Serhiy Storchaka
21.05.14 20:19, Terry Reedy написав(ла): There is also the issue that TkVersion == 8.5 is underspecied -- there are multiple bugfix releases. root.call('info', 'patchlevel') returns more detailed info. -- https://mail.python.org/mailman/listinfo/python-list

Re: tkinter errors out without clear message

2014-05-21 Thread Terry Reedy
On 5/21/2014 12:11 PM, Kai Song wrote: Dear Python community, I have been trying to make Tkinter work on my Scientific Linux 6 (SL6) system. The python version is the SL6 default Python/2.6.6, and the tkinter is also from SL6 repository, tkinter-2.6.6-51.el6.x86_64. I was able to import

Re: tkinter errors out without clear message

2014-05-21 Thread Kai Song
Hi Terry, Thanks for your reply! Nasty. I have seen TclErrors, but with a message. Here is a simple test I just ran (from within Idle) on Win7, 2.7.6. import Tkinter as tk root = tk.Tk() tk.Label(root, text = 'label text').pack() tk.mainloop() and I see a window with label with

Re: tkinter errors out without clear message

2014-05-21 Thread Kai Song
Hi Terry, I managed to find the problem! As you suggested, I installed newer version of tk/8.5.15. Then, the same test will still fail, but the error message has content now. It complains about missing font. I did some google, then fix it by installing dejavu-sans-fonts. I laughed when I found