I have a number of Python programs which I wrote using TextWrangler. When I try to run them using ScrIDE if the Debugger option on the Python menu is set to anything other than 'None', I get the following error msg.:
Traceback (most recent call last):
File "/Applications/ScrIDE_0.4 2/ScrIDE.app/Contents/PlugIns/Python.plugin/Contents/Resources/ScrIDEBug.py", line 1038, in <module>
ScrIDEBugModule = compile(ScrIDEBugSource, ScrIDEBugSourceFile, "exec")
File "/Users/enea/Desktop/test.py", line 1
import wx
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/Applications/ScrIDE_0.4 2/ScrIDE.app/Contents/PlugIns/Python.plugin/Contents/Resources/ScrIDEBug.py", line 1054, in <module>
print "*syntax,file=\"%s\",msg=\"%s\",line=\"%d\",offset=\"%d\"" % (sys.argv[1],ScrIDEBugException.msg, ScrIDEBugException.lineno, ScrIDEBugException.offset)
IndexError: list index out of range
The program in this case is just:
import wx
If I type this program using the ScrIDE editor it works with every debugger setting. When I save the ScrIDE file and use a 'file compare' program to compare it to my TextWrangler program, they are identical.
What's going on here?
By the way, is ScrIDE being supported, and is it a good idea to rely on it as my main Python IDE. On a feature by feature basis I think that it's the best IDE available on the Mac
Horace Enea
Error running files developed with TextWrangler
Who is online
Users browsing this forum: No registered users and 2 guests