Re: tcl / tk without threads??!!

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

 





On Fri, Aug 7, 2009 at 7:04 PM, Paulo Cavalcanti <promac@xxxxxxxxx> wrote:


On Fri, Aug 7, 2009 at 6:27 PM, Paulo Cavalcanti <promac@xxxxxxxxx> 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:

http://mail.python.org/pipermail/python-bugs-list/2008-September/060100.html

It happens on F10 and F11.

Thanks.


and, yes. Recompiling tcl using

 %configure --enable-threads

fix the issue. I have just tested it.

and this is the link for a program that makes the problem show up: 

http://orion.lcg.ufrj.br/python/labs2/08-clock-bezier.py

--
Paulo Roma Cavalcanti
LCG - UFRJ
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux