1 | initial version |
Can you post the whole traceback? I've never seen a traceback that doesn't include the line where it happens.
It seems like you are hurting because you rely on global variables. The real solution is not to track down the offending global variable, but to write code that doesn't use global variables. Its simple, just create objects that encapsulate your data.