[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: tcl / tk without threads??!!

On Fri, Aug 7, 2009 at 6:27 PM, Paulo Cavalcanti <promac gmail com> wrote:

Can someone explain why tcl/tk is
compiled using:

%configure --disable-threads

This breaks some python programs, which use threads and Tk, with the following error:

Unhandled exception in thread started by <function updateClock at 0x7fb431cc28c0>
Traceback (most recent call last):
  File ".//08-clock-bezier.py", line 188, in updateClock
    setClock (h,m,s)
  File ".//08-clock-bezier.py", line 173, in setClock
    clock.itemconfigure("hands", fill=colors[sector])
  File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 2243, in itemconfigure
    return self._configure(('itemconfigure', tagOrId), cnf, kw)
  File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 1188, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: out of stack space (infinite loop?)

Please, check this issue:


It happens on F10 and F11.


and, yes. Recompiling tcl using

 %configure --enable-threads

fix the issue. I have just tested it.

Paulo Roma Cavalcanti

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]