Mailing List Archive

TCL_LIBRARARY and making it work
This is a multi-part message in MIME format.
--------------83B0E810D07305026EE12FE9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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@yahoo.com hoon@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@bigfoot.com>
>
> Hoon Yoon
> <hyoon@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@yahoo.com hoon@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
*****************************************************************************
--------------83B0E810D07305026EE12FE9
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Hoon Yoon
Content-Disposition: attachment; filename="vcard.vcf"

begin: vcard
fn: Hoon Yoon
n: ;Hoon Yoon
email;internet: hyoon@bigfoot.com
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard


--------------83B0E810D07305026EE12FE9--
TCL_LIBRARARY and making it work [ In reply to ]
This is a multi-part message in MIME format.
--------------26970E1A6A6ECDDC61BCC36B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I forgot how to set up my TCL_LIBRARY and TK_LIBRARY env variables on
NT to make it work.

Directory of C:\Python\Tcl\lib\tcl8.0
02/10/99 07:06p 47,407 init.tcl
1 File(s) 47,407 bytes

C:\Python>tcltst.py
Traceback (innermost last):
File "C:\Python\tcltst.py", 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 init.tcl in the following directories:
{C:\Python\TCL\lib} {} ./lib/tcl8.0 C:/tcl8.0/library C:/library
This probably means that Tcl wasn't installed properly.

I thought this was right on Control Panel System Properties:
TCL_LIBRARY
C:\Python\TCL\lib\tcl8.0
Can someone tell me how it's set up again?

--
*****************************************************************************
S. Hoon Yoon (Quant) Merrill Lynch Equity Trading,
yelled@yahoo.com hoon@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
*****************************************************************************
--------------26970E1A6A6ECDDC61BCC36B
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Hoon Yoon
Content-Disposition: attachment; filename="vcard.vcf"

begin: vcard
fn: Hoon Yoon
n: ;Hoon Yoon
email;internet: hyoon@bigfoot.com
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard


--------------26970E1A6A6ECDDC61BCC36B--
TCL_LIBRARARY and making it work [ In reply to ]
This is a multi-part message in MIME format.
--------------614F4109BB80DEDC935F786D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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@yahoo.com hoon@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@bigfoot.com>
> >
> > Hoon Yoon
> > <hyoon@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@yahoo.com hoon@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@bigfoot.com>
>
> Hoon Yoon
> <hyoon@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@yahoo.com hoon@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
*****************************************************************************
--------------614F4109BB80DEDC935F786D
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Hoon Yoon
Content-Disposition: attachment; filename="vcard.vcf"

begin: vcard
fn: Hoon Yoon
n: ;Hoon Yoon
email;internet: hyoon@bigfoot.com
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard


--------------614F4109BB80DEDC935F786D--