Re: Any luck w/1.2 (or 1.2 betas), Linux, and Tk?

Farzad FARID (farzy@farzy.via.ecp.fr)
12 Apr 1995 23:40:44 GMT

Steven Miale (smiale@cs.indiana.edu) wrote:
: I think I posted a similar note a few weeks ago, and never got any responses,
: and so decided to try again...

: I'm running the latest Slackware (2.2), along with the last major releases
: of Tcl and Tk (i.e. not the current betas.) Whenever I try to run a program
: which uses Tk menus, it doesn't work; the program _runs_, but when I click
: on the menu button, nothing happens.

Same for me :( At first I tought it was because I recompiled everything
using the new ELF format, but it seems the problem is not here. Tcl is
version 7.3 and Tk 3.6. The menus do not work, and some demo programs
give me even error messages on the console. For example
Demo/tkinter/guido/dialog.py gives me the following input after
displaying the 3rd dialog box ("File Modified"):

1:39 [root:p2] farzy:/usr/src/Python-1.2/Demo/tkinter/guido# python dialog.py
pressed button 0
Exception in Tkinter callback
Traceback (innermost last):
File "/usr/local/lib/python/tkinter/Tkinter.py", line 435, in apply_func
return apply(func, args)
File "dialog.py", line 91, in go
i = dialog(mainWidget,
File "dialog.py", line 50, in dialog
b.pack ({'in': bd, 'side': 'left',
File "/usr/local/lib/python/tkinter/Tkinter.py", line 556, in config
apply(self.tk.call,
TclError: bad window path name "135192736"

All the demos used to work for me under python 1.1.1 and tcl tk with
the same versions as above.

-- 
* Farzad FARID                                    Ecole Centrale Paris *
  faridf6@cti.ecp.fr                     <http://www.ecp.fr/~faridf6/>
                Save a life, kill an anti-abortionist