[Tkinter] event problem
Russell E. Owen
no at spam.invalid
Thu Sep 25 16:12:42 EDT 2003
In article <bks0va$9mv$1 at ns.felk.cvut.cz>,
Ivan Letal <admin4055 at centrum.cz> wrote:
>I have just tried this code....
>Here is the error:
>
>Exception in Tkinter callback
>Traceback (most recent call last):
> File
>"/var/tmp/python-2.2.2-build//usr/lib/python2.2/lib-tk/Tkinter.py", line
>1299, in __call__
> args = apply(self.subst, args)
> File
>"/var/tmp/python-2.2.2-build//usr/lib/python2.2/lib-tk/Tkinter.py", line
>1035, in _substitute
> e.height = getint(h)
>ValueError: invalid literal for int(): ??
I think you are running mutually incompatible versions of Python and Tk.
Python 2.2.2 and earlier need Tk 8.4.1 or earlier. Python 2.3 is
compatible with later versions of Tk.
-- Russell
More information about the Python-list
mailing list