1.5.2 install problems on NT

Fredrik Lundh fredrik at pythonware.com
Thu Apr 15 09:24:11 EDT 1999


Richard GRUET wrote:
> Tcl problems:
> ---------------
> shared by many ! see Hoon Yoon for instance... wish80;exe works (hence I
> conclude that tcl is installed properly) but IDLE or Tkdb don't, with
> insults like:
> C:/PROGRA~1/PYTHON/TCL/lib/tk8.0/tk.tcl: bad event type
> bad event type or keysym "MouseWheel"
>     while executing
> "bind Listbox <MouseWheel> {
>     %W yview scroll [expr - (%D / 120) * 4] units
> }"
>     (file "C:/PROGRA~1/PYTHON/TCL/lib/tk8.0/listbox.tcl
>     invoked from within
> "source [file join $tk_library listbox.tcl]"
>     (file "C:/PROGRA~1/PYTHON/TCL/lib/tk8.0/tk.tcl" lin
>     invoked from within
> "source C:/PROGRA~1/PYTHON/TCL/lib/tk8.0/tk.tcl"
>     ("uplevel" body line 1)
>     invoked from within
> "uplevel #0 [list source $tkfile]"
> 
> This probably means that Tk wasn't installed properly.

It means that you have several conflicting versions of Tk
installed on your machine (or rather, that Python is picking
up a version of tk80.dll that is older than the library files).

Most likely, you'll find the offender in the system directory.

See the thread "Tkinter, bad event type" for more info.

</F>





More information about the Python-list mailing list