Python threw 'TypeError'. Took 4 hours to realize what it actually meant.
Python exceptions point at one line but the problem is somewhere else entirely.

Source: DEV Community
Python exceptions point at one line but the problem is somewhere else entirely.