Re: [Tkinter-discuss] Help: _tkinter.createfilehandler not supported for threaded Tcl

2005-06-22 Thread Jeff Epler
My system is: Fedora Core 2 python-2.3.3-6 tk-8.4.5-8 I wrote the following program, in which a worker thread writes to a pipe which is read by the main thread by a handler that was created by 't.tk.createfilehandler()'. The program seems to work as expected, except that the thread usu

Re: [Tkinter-discuss] Help: _tkinter.createfilehandler not supported for threaded Tcl

2005-06-22 Thread Michael Lange
On Tue, 21 Jun 2005 13:24:19 -0500 Jeff Epler <[EMAIL PROTECTED]> wrote: > > I think this means the .tk attribute of any widget object, or the object > returned by _tkinter.create() if you aren't using Tkinter widget > classes. > > >>> import Tkinter > >>> t = Tkinter.Tk() > >>> t.tk > > > Jef

Re: [Tkinter-discuss] Help: _tkinter.createfilehandler not supported for threaded Tcl

2005-06-21 Thread Jeff Epler
On Tue, Jun 21, 2005 at 08:01:56PM +0200, Michael Lange wrote: > When I googled for the traceback one of the results said: > > > If your Tcl installation is threaded, you should use > > tkapp.createfilehandler instead. > > however (on my box) I cannot find tkapp anywhere (or should it be > _tki

[Tkinter-discuss] Help: _tkinter.createfilehandler not supported for threaded Tcl

2005-06-21 Thread Michael Lange
Hello list, the following error happened on a program I wrote that uses tkinter.createfilehandler() to catch the output of a shell command on someone else's box (for me it runs fine): Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.4/lib-tk/Tkinter.py",