<br><br><div class="gmail_quote">On Fri, Aug 7, 2009 at 6:27 PM, Paulo Cavalcanti <span dir="ltr"><<a href="mailto:promac@gmail.com">promac@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br clear="all">Can someone explain why tcl/tk is<br>compiled using:<br><br>%configure --disable-threads<br><br>This breaks some python programs, which use threads and Tk, with the following error:<br><br>Unhandled exception in thread started by <function updateClock at 0x7fb431cc28c0><br>

Traceback (most recent call last):<br>  File ".//08-clock-bezier.py", line 188, in updateClock<br>    setClock (h,m,s)<br>  File ".//08-clock-bezier.py", line 173, in setClock<br>    clock.itemconfigure("hands", fill=colors[sector])<br>

  File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 2243, in itemconfigure<br>    return self._configure(('itemconfigure', tagOrId), cnf, kw)<br>  File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 1188, in _configure<br>

    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))<br>_tkinter.TclError: out of stack space (infinite loop?)<br><br>Please, check this issue:<br><br><a href="http://mail.python.org/pipermail/python-bugs-list/2008-September/060100.html" target="_blank">http://mail.python.org/pipermail/python-bugs-list/2008-September/060100.html</a><br>

<br>It happens on F10 and F11.<br><br>Thanks.<br><font color="#888888"><br></font></blockquote><div><br>and, yes. Recompiling tcl using<br><br> %configure --enable-threads<br><br>fix the issue. I have just tested it.<br>
</div></div><br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ<br>