TCL_LIBRARARY and making it work

Hoon Yoon hyoon at bigfoot.com
Thu Apr 15 09:19:35 EDT 1999


Thanks Duncan,

  As soon as I added c:\python\TCL\bin path and then killed off
tcl80.dll, tclpip80.dll, and tk80.dll from \WINNT\system32, everything
was fine!

Hoon Yoon wrote:
> 
> Hi,
> 
>   I think I found the problem by setting TKPATH, but now I got a
> different prob. All this used to work fine prior to install. I don't
> know what's going on.
> 
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
>   File "c:\TEMP\python-BEAf6p", line 2, in ?
>     Tkinter._test()
>   File "C:\Python\Lib\lib-tk\Tkinter.py", line 1947, in _test
>     root = Tk()
>   File "C:\Python\Lib\lib-tk\Tkinter.py", line 886, in __init__
>     self.tk = _tkinter.create(screenName, baseName, className)
> TclError: Can't find a usable tk.tcl in the following directories:
>     {C:\Python\TCL\lib\tk8.0} . C:/Python/TCL/lib/tk8.0 ./tk8.0
> ./lib/tk8.0 ./library ./tk8.0/library ./library
> C:/Python/TCL/tk8.0/library
> 
> C:/Python/TCL/lib/tk8.0/tk.tcl: bad event type or keysym "MouseWheel"
> bad event type or keysym "MouseWheel"
>     while executing
> "bind Listbox <MouseWheel> {
>     %W yview scroll [expr - (%D / 120) * 4] units
> }"
>     (file "C:/Python/TCL/lib/tk8.0/listbox.tcl" line 179)
>     invoked from within
> "source [file join $tk_library listbox.tcl]"
>     (file "C:/Python/TCL/lib/tk8.0/tk.tcl" line 151)
>     invoked from within
> "source C:/Python/TCL/lib/tk8.0/tk.tcl"
>     ("uplevel" body line 1)
>     invoked from within
> "uplevel #0 [list source $tkfile]"
> C:/Python/TCL/lib/tk8.0/tk.tcl: bad event type or keysym "MouseWheel"
> bad event type or keysym "MouseWheel"
>     while executing
> "bind Listbox <MouseWheel> {
>     %W yview scroll [expr - (%D / 120) * 4] units
> }"
>     (file "C:/Python/TCL/lib/tk8.0/listbox.tcl" line 179)
>     invoked from within
> "source [file join $tk_library listbox.tcl]"
>     (file "C:/Python/TCL/lib/tk8.0/tk.tcl" line 151)
>     invoked from within
> "source C:/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.
> 
> > --
> > *****************************************************************************
> > S. Hoon Yoon (Quant) Merrill Lynch Equity Trading,
> > yelled at yahoo.com hoon at bigfoot.com(w)
> > "Miracle is always only few standard deviations away, but so is
> > catastrophe."
> > * Expressed opinions are often my own, but NOT my employer's.
> > "I feel like a fugitive from the law of averages."    Mauldin
> > *****************************************************************************
> >
> >   ------------------------------------------------------------------------
> >
> >   Hoon Yoon <hyoon at bigfoot.com>
> >
> >   Hoon Yoon
> >     <hyoon at bigfoot.com>
> >     Netscape Conference Address
> >     Netscape Conference DLS Server
> >   Additional Information:
> >   Last Name
> >   First Name  Hoon Yoon
> >   Version     2.1
> 
> --
> *****************************************************************************
> S. Hoon Yoon (Quant) Merrill Lynch Equity Trading,
> yelled at yahoo.com hoon at bigfoot.com(w)
> "Miracle is always only few standard deviations away, but so is
> catastrophe."
> * Expressed opinions are often my own, but NOT my employer's.
> "I feel like a fugitive from the law of averages."    Mauldin
> *****************************************************************************
> 
>   ------------------------------------------------------------------------
> 
>   Hoon Yoon <hyoon at bigfoot.com>
> 
>   Hoon Yoon
>     <hyoon at bigfoot.com>
>     Netscape Conference Address
>     Netscape Conference DLS Server
>   Additional Information:
>   Last Name
>   First Name  Hoon Yoon
>   Version     2.1

-- 
*****************************************************************************
S. Hoon Yoon (Quant) Merrill Lynch Equity Trading, 
yelled at yahoo.com hoon at bigfoot.com(w)
"Miracle is always only few standard deviations away, but so is
catastrophe."
* Expressed opinions are often my own, but NOT my employer's.
"I feel like a fugitive from the law of averages."    Mauldin
*****************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 202 bytes
Desc: Card for Hoon Yoon
URL: <http://mail.python.org/pipermail/python-list/attachments/19990415/816f8678/attachment.vcf>


More information about the Python-list mailing list