The following python code throws this error message, and I can\'t tell why, my tabs seem to be in line:
File \"test.py\", line 12 pass ^ TabError
open your code in a text editor, highlight all of it (ctr+a) and go to format and select either "Tabify region" or "Untabify region". It'll just make all the indents have the same format.