Help: Tkinter, bad event type

Fredrik Lundh fredrik at pythonware.com
Tue Apr 13 11:58:41 EDT 1999


Mårten Hedman <Marten.Hedman at btk.utu.fi> wrote:
> I'm running Python 1.5.2c1 under Win NT with SP4 and Tcl/Tk 8.05. When I
> try to run any script that uses Tkinter, even hello.py from the Tkinter
> Life Preserver, I get two identical error messages:
>
>    bad event type or keysym "MouseWheel"
>    while executing "bind Listbox <MouseWheel> ..." invoked from
>    <Tk library path>/listbox.tcl
>    ...
>    invoked from <Tk library path>/tk.tcl
>
> I can work around this by editing listbox.tcl and commenting out the
> "bind Listbox <MouseWheel> ..." statement, but I have to do this every
> time I install a new version of Tcl/Tk, and it's annoying.

looks like you pick up the wrong Tcl/Tk DLL's when running
Python.  better double-check your installation.

</F>





More information about the Python-list mailing list