[Pythonmac-SIG] Tkinter strikes again
Jack Jansen
jack@oratrix.nl
Sat, 12 Jan 2002 13:45:35 +0100
Recently, Christian Ebert <blacktrash@gmx.net> said:
> File "Christians PB HD:Applications (Mac OS 9):Scripting:Python 2.2:Lib:lib
> -tk:Tkinter.py", line 1487, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> TclError: can't find Init resource or a usable Init.tcl file
> in the following directories:
> {Christians PB HD:Systemordner:Systemerweiterungen:Tool Command Language:
> tcl8.3}
> perhaps you need to install Tcl or set your
> TCL_LIBRARY environment variable?
>
> Folder listing for
>
> Systemerweiterungen:Tool Command Language:
> tcl8.3
> Tcl8.3.shlb
> Tclapplescript.shlb
> tk8.3
> Tk8.3.shlb
>
> all alias. Should I replace some of these with copies of the
> originals? Same as I did with PythonCore to make my applets
> run after restart?
Ah, if you had to do this for Python there's a good reason you also
have to do this for Tcl. Although I still have absolutely no idea why
your aliases would start failing after restart:-)
What you could try is check to see whether the problem is
Python-only. I.e. if you make a copy of wish outside of the Tcl/Tk
folder, will it still run?
--
- Jack Jansen <Jack.Jansen@oratrix.com> http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma Goldman -