469,579 Members | 1,181 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

Can't run BLT program more than once?

I'm running activestate Python 2.4 for windows, and the latest BLT,
under XP. I'm using pythonWin as my environment.

When I run my plotting program the first time, it works just fine. If I
exit out (normally), and then run it again from PythonWin, I get the
following error. It's as if something isn't getting properly
re-initialized. If I quit out of PythonWin, and relaunch it, I can run
the program again, once. Any ideas?

Error: 1
TclError Exception in Tk callback
Function: <bound method PathEval.doOpenTrace of <__main__.PathEval
instance at 0x0127AC60>> (type: <type 'instancemethod'>)
Args: ()
Traceback (innermost last):
File "C:\Python24\lib\Pmw\Pmw_1_2\lib\PmwBase.py", line 1747, in
__call__
None
File
"C:\NBU\perforce\hardware\test\home_survey\data\ho me_007\raw_data\KitchenToDen\AMPLITUDE\PathEval.py ",
line 89, in doOpenTrace
self.doPlotTrace() # go plot the thing
File
"C:\NBU\perforce\hardware\test\home_survey\data\ho me_007\raw_data\KitchenToDen\AMPLITUDE\PathEval.py ",
line 117, in doPlotTrace
self.graph = Pmw.Blt.Graph(tkRoot) # make a new
graph area
File "C:\Python24\lib\Pmw\Pmw_1_2\lib\PmwBlt.py", line 260, in
__init__
None
File "C:\Python24\lib\lib-tk\Tkinter.py", line 1861, in __init__
self.tk.call(
TclError: invalid command name "::blt::graph"

Jul 19 '05 #1
0 937

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

47 posts views Thread by Mountain Bikn' Guy | last post: by
11 posts views Thread by gopal srinivasan | last post: by
9 posts views Thread by kwindham | last post: by
6 posts views Thread by scottyman | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.