LightTable / Python

Python language plugin for Light Table
MIT License
98 stars 51 forks source link

Error message does not include the filename #48

Open cldwalker opened 8 years ago

cldwalker commented 8 years ago

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