How to use BLT2.4 and Tcl/tk8.3 under Windows9X/NT ?

howard at eegsoftware.com howard at eegsoftware.com
Fri Nov 3 19:06:47 EST 2000


Following up on myself as it were.....

I was unable to get the blt2.4u for 8.3 bltwish shell to run until I
copied the library directories to be under Python20\Libs.  Bltwish
then was able to run its own demos (graph1.tcl).

The following program :
   from Tkinter import *
   import Pmw

   root=Tk()
   graph=Pmw.Blt.Graph(root)

works in 1.5.2 but fails as follows on 2.0:

Traceback (most recent call last):
  File "test.py", line 5, in ?
    graph=Pmw.Blt.Graph(root)
  File "c:\python20\Pmw\Pmw_0_8_4\lib\PmwBlt.py", line 260, in
__init__
    Tkinter.Widget.__init__(self, master, _graphCommand, cnf, kw)
  File "c:\python20\lib\lib-tk\Tkinter.py", line 1758, in __init__
    self.tk.call(
TclError: invalid command name "::blt::graph"


Significantly, the Dos window hangs after this and must be terminated
forcefully (forceably ?).  It seems to me that this is a symptom of
mismatched DLL's somewhere.

Still hoping for a good idea from someone......
Howard Lightstone
EEGSoftware
howard at eegsoftware.com



More information about the Python-list mailing list