hello and thanks,
the following code is a small sub-snippet from a program i am trying to
learn/write.
the source code will run fine the first time inside of AP(active python).
if i press the run button again i get the following error.
why, o why?
what changes inside of ap from the point before i run this code and the
point after i stop running the code.
perhaps a path issue?
extra facts:
if i run the code from the windows nt command line, everything is ok.
if i run the code from komodo, i can run it over and over, no problem.
if i run the code from ultraedt, a windows editor, everything is ok.
thanks,
dave
code:
------------------
from Tkinter import * # The Tkinter package
import Pmw # The Python MegaWidget package
master = Tk() # build Tk-environment
g = Pmw.Blt.Graph(master) # make a new graph area
----------------------
error:
----------------------
Traceback (most recent call last):
File "C:\Python20\Pythonwin\pywin\framework\scriptutils.py", line 298, in
RunScript
debugger.run(codeObject, __main__.__dict__, start_stepping=0)
File "c:\python20\pythonwin\pywin\debugger\__init__.py", line 60, in run
_GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
File "c:\python20\pythonwin\pywin\debugger\debugger.py", line 582, in run
_doexec(cmd, globals, locals)
File "c:\python20\pythonwin\pywin\debugger\debugger.py", line 921, in
_doexec
exec cmd in globals, locals
File "C:\Downloads\python\HelloWorld1.py", line 5, in ?
g = Pmw.Blt.Graph(master) # make a new graph area
File "c:\python20\lib\Pmw\Pmw_0_8_5\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"
----------------------
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython