Menu

Help I can't get Pmw.Blt.Graph to work

Help
Ed Keith
2005-03-12
2013-02-21
  • Ed Keith

    Ed Keith - 2005-03-12

    I'm getting the folowing error:
    >>> Pmw.Blt.Graph(master)
    Traceback (most recent call last):
      File "<stdin>", line 1, in ?
      File "Pmw\Pmw_1_2\lib\PmwBlt.py", line 260, in __init__
        Tkinter.Widget.__init__(self, master, _graphCommand, cnf, kw)
      File "C:\Python23\lib\lib-tk\Tkinter.py", line 1835, in __init__
        self.tk.call(
    _tkinter.TclError: invalid command name "::blt::graph"

    I am running Python 2.3, Tcl 8.4, & Pmw 1.2 on Windows XP.

    Any help would be greatly appresiated.

       -EdK

     
    • Ken Miller

      Ken Miller - 2005-08-24

      I came to post for the same problem....now this is what i've noticed.

      I'm running PMW/BLT on Mac OS X and on SuSE Linux.

      When I call Pmw.Blt.Graph() first, I have no problems. Try doing that in your code. If I call something before that, say Pmw.Blt.Vectors, that error occurs. The same if I call Pmw.Blt.Graph in a main program and then in an imported class, can anyone provide any more insight?

      Regards,
      Ken

       

Log in to post a comment.