Tkinter._test() problem Tcl/Tk8.1 incompatibility python-1.5.2
Bill Barendse
bill.barendse at tag.csiro.au
Mon Jul 5 20:36:05 EDT 1999
More information about the Python-list mailing list
Mon Jul 5 20:36:05 EDT 1999
- Previous message (by thread): Tkinter._test() problem
- Next message (by thread): Tkinter._test() problem (THANKS!!)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Everyone, I believe that Tcl/Tk 8.1 is incompatible with python-1.5.2 due to the following experiences. I use a SPARC ultra running solaris 2.6 with GCC 2.8.1 as a C compiler. I downloaded python-1.5.2 earlier this month built and tested it and all implemented tests worked. I then downloaded Tcl/Tk8.1, built those in the proper order, tested them and installed them. Tcl failed the ASCII vs ISO character set test (not surprising since I only have ASCII) and Tk failed the focus test. I made clobber and rebuilt python specifying the locations, and installed after setting the LD_LIBRARY_PATH variable. I got the same answer as Per Kistler - can't find a usable init.tcl in the following directories - no directories specified. I checked and rebuilt python (YES) several times since a have a usable Tcl/Tk. I then downloaded Tcl/Tk 8.0p2, built and tested (it failed more tests than Tcl/Tk 8.1), rebuilt python and Tkinter generated the 'Hello World' widget. There are significant differences in the init.tcl of the two packages (I can provide a diff of the files for those that are interested) but I do not know enough about Tkinter to be able to say what it is about the init.tcl8.1 or the rest of the Tcl/Tk8.1 distribution that makes it incompatible. The distribution notes that come with Tcl/Tk8.1 note several bug fixes that will generate "***POTENTIAL INCOMPATIBILITY***" There is no note on the python homepage about this incompatibility. Cheers, Bill Barendse Bill.Barendse at tag.csiro.au Comonwealth Scientific and Industrial Research Organisation, Australia. Per Kistler wrote: > Hi All > > I installed py1.5.2 with tcl/tk.8.1 on SuSE6.1 Linux. > > After: > > import Tkinter > Tkinter._test() > > I get the following error, which I do not unerstand: > > -----cut > >>python > Python 1.5.2 (#4, Jul 4 1999, 12:25:56) [GCC egcs-2.91.66 19990314 > (egcs-1.1.2 on linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import Tkinter > >>> Tkinter._test() > Traceback (innermost last): > File "<stdin>", line 1, in ? > File "/per/lib/python1.5/lib-tk/Tkinter.py", line 1947, in _test > root = Tk() > File "/per/lib/python1.5/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: > > This probably means that Tcl wasn't installed properly. > ----cut > > It seems, that python looks in some directories, which it does not > have. What do I have to do? > > Thanks, Per. > -- > Per Kistler kistler at fnmail.com / kistler at gmx.net > ------------------------------------------------------------
- Previous message (by thread): Tkinter._test() problem
- Next message (by thread): Tkinter._test() problem (THANKS!!)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list