I get the following error when starting pythonwin on a
particular script. I
would like to be able to debug the script, but pythonwin
won't seem to open it.
Has anyone any idea what could cause this? I assume it
must be something to
do with the way the script is laid out or some obscure
syntax I'm using.
File
"C:\Python\Lib\site-packages\pythonwin\pywin\fra
mework\intpyapp.py", line
171, in InitInstance
import interact
File
"C:\Python\Lib\site-packages\pythonwin\pywin\fra
mework\interact.py",
line 21, in ?
import pywin.scintilla.IDLEenvironment
File
"C:\Python\Lib\site-packages\pythonwin\pywin\sci
ntilla\IDLEenvironment.py", line
54, in ?
GetIDLEModule("AutoIndent").IndentSearcher.readl
ine = fast_readline
File
"C:\Python\Lib\site-packages\pythonwin\pywin\sci
ntilla\IDLEenvironment.py", line
24, in GetIDLEModule
__import__(modname)
File
"C:\Python\Lib\site-packages\pythonwin\pywin\idl
e\AutoIndent.py", line
503, in ?
import tokenize
File "C:\Python\lib\tokenize.py", line 38,
in ?
COMMENT = N_TOKENS
exceptions.NameError: name 'N_TOKENS' is not defined
--
Robin Becker
_______________________________________________
Python-win32 mailing list
Python-win32 python.org
http://mail.python.org/mailman/listinfo/python-win32
|