Python icon indicating copy to clipboard operation
Python copied to clipboard

Error message does not include the filename

Open cldwalker opened this issue 9 years ago • 0 comments

From https://github.com/LightTable/LightTable/issues/2122:

The unknown file is the file that I was currently working in and trying to run the simulation from inline

screen shot 2016-01-19 at 8 39 57 am

Traceback (most recent call last): File "/Applications/LightTable.app/Contents/Resources/app/plugins/Python/py-src/ltmain.py", line 162, in handleEval toExec.append(handlePos(code, data[2]["pos"])) File "/Applications/LightTable.app/Contents/Resources/app/plugins/Python/py-src/ltmain.py", line 125, in handlePos a = ast.parse(string) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 37, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "", line 57 for i in range(0, ) ^ SyntaxError: invalid syntax

cldwalker avatar Jan 19 '16 14:01 cldwalker