At a simple level, the traceback you’re looking at may end in Python
builtins or stdlib objects, but there’s almost always an entry into
them from your script. Read the traceback from the bottom up,
looking for the first reference to a file included in the
application you’re troubleshooting, and the problem is likely
somewhere in the vicinity of that call (though it could be even
higher up in the traceback/earlier in the call stack depending on
what’s wrong with it).
1 Like