(fixed) no more stack traceback with 2011?

(fixed) no more stack traceback with 2011?

sebastienpaviot
Participant Participant
249 Views
2 Replies
Message 1 of 3

(fixed) no more stack traceback with 2011?

sebastienpaviot
Participant
Participant
I am attempting to fix a script I wrote that crashes with 2011 and I seem unable to get a stack traceback with 2011. The only thing I get is not quite really usable, see example below when I am running the same bad code with 2011 et 2009.

example I get with 2011:
# Error: SyntaxError: invalid syntax #


the exact same code when ran from 2009:
# Error: ('invalid syntax', ('E:\\mayascript\\spPaint3d\\spPaint3dGui.py', 582, 7, '\t\telif:\n'))
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "E:\mayascript\spPaint3d\spPaint3dGui.py", line 582
# elif:
# ^
# SyntaxError: invalid syntax #



Is there a way to restore that behavior with 2011?
thanks
0 Likes
250 Views
2 Replies
Replies (2)
Message 2 of 3

sebastienpaviot
Participant
Participant
never mind this post.

I found the history/show trace option.

everything is fine again :&#41;
0 Likes
Message 3 of 3

n8skow
Collaborator
Collaborator
excellent
=&#41;
0 Likes