How to use BLT2.4 and Tcl/tk8.3 under Windows9X/NT ?
Chris Arai
chris at araidesign.com
Thu Dec 7 20:59:53 EST 2000
Hello,
I am having the same problem trying to get Pmw.blt to work. The all.py
demo works for the Pmw part, but gives me the "BLT Package not installed"
message when I tried to use Blt.Graph.
My application that I wrote in Python 1.6 on linux gives me the
following:
Traceback (most recent call last):
File "polar_ed.py", line 332, in ?
tl.append(editor(root))
File "polar_ed.py", line 79, in __init__
self.grf= scoop.polgrf(mainpane.pane('plot'))
File "scoop.py", line 394, in polgrf
graph=Pmw.Blt.Graph(parent)
File "d:\program files\python20\Pmw\Pmw_0_8_4\lib\PmwBlt.py", line 260,
in __init__
Tkinter.Widget.__init__(self, master, _graphCommand, cnf, kw)
File "d:\program files\python20\lib\lib-tk\Tkinter.py", line 1758, in
__init__
self.tk.call(
TclError: invalid command name "::blt::graph"
Has anyone provided the answer to these problems yet?
Thanks in advance,
Chris
howard at eegsoftware.com wrote:
> 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
--
Chris Arai
Arai Design
chris at araidesign.com
http://www.araidesign.com
707 431 1299
FAX 431 1599
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chris.vcf
Type: text/x-vcard
Size: 224 bytes
Desc: Card for Chris Arai
URL: <http://mail.python.org/pipermail/python-list/attachments/20001207/9d0464a2/attachment.vcf>
More information about the Python-list
mailing list