Pmw.Blt in separate windows

sirotenko at fnal.gov sirotenko at fnal.gov
Fri Nov 3 09:37:11 EST 2000


Hi,

We have the following question: when we are trying to open two separate
windows with graphs from the
same application, we have the following error:

Linux:onl->python
Python 1.5.2 (#7, Aug 18 2000, 14:37:35)  [GCC egcs-2.91.66
19990314/Linux
(egcs
- on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> from Tkinter import *
>>> import Pmw
>>> r1 = Tk()
>>> g1 = Pmw.Blt.Graph(r1)
>>> g1.pack()
>>> r2 = Tk()
>>> g2 = Pmw.Blt.Graph(r2)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File
"/online/products/epics_ext/Linux/TclBltPython/lib/python1.5/Pmw/Pmw_0_8
_
4/lib/PmwBlt.py", line 260, in __init__
    Tkinter.Widget.__init__(self, master, _graphCommand, cnf, kw)
  File
"/online/products/epics_ext/Linux/TclBltPython/lib/python1.5/lib-
tk/Tkint
er.py", line 1084, in __init__
    self.tk.call(
TclError: invalid command name "::blt::graph"
>>>

This is true for both Linux and Windows. Can someone help us to
understand if this is a limitation?
Or there is some trick here?

The error message is similar to one which people receive when
blt is not installed .. but this is not the case here

Thanks,
Vladimir





Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list