Problem Re-running wxPython script under PythonWin
Mike Brenner
mikeb at mitre.org
Mon Aug 13 23:02:43 EDT 2001
Double clicking on various wxPython scripts
in Windows (NT, ME, 95, and 2000) works.
However, those same scripts, fail to run a
second time when run from the
Python WIndows Extensions Editor and Debugger.
The second time they are run they get the
error message:
PythonWin has caused an error in PYTHON21.DLL.
Pythonwin will now close.
At that point you cannot close the Pythonwin
window or click or press escape. However,
you can ctl-alt-delete and close the task.
An example of the source code that does this
is pythonDialogUnits.py
in the wxPython demo directory.
I am running the following:
Python2.1
Pythonwin win32all build 139
wxPY2.2
wxPYTHON-2.25-PY21.exe
Has anyone seen these symptoms and
knows how to make the programs run
a second time using control-R in
the PythonWin editor without
crashing PythonWin?
Thanks,
Mike Brenner
More information about the Python-list
mailing list