Greetings. Does anyone know a way to get TM2 to display the full Traceback for the Python bundle "Run Script (cmd r)". Example:
assert 1 == 2
Traceback is:
Traceback (most recent call last): File "~/Desktop/test.py", line 1, in <module> assert 1 == 2 AssertionError
But in Textmate 1 & 2 is converted to:
Assertion Error: (adds colon)
Any guidance would be greatly appreciated. Happy holidays.
On 27 Dec 2011, at 05:02, Monte Bel wrote:
Greetings. Does anyone know a way to get TM2 to display the full Traceback for the Python bundle "Run Script (cmd r)". […]
I think this is more likely that you have setup TM2 to run another version of Python for which the stack trace code has issues, although I am uncertain exactly what you should see, are seeing, and are expecting to see.
I am using 2.6.1 and ran this script:
def main(): """docstring for main""" assert 1 == 2
main()
For that I get the following result:
Looks good to me.