Can't find a variable that doesn't exist
The symptoms
You have a Python script or package that is running perfectly. After you make some alterations, "all of a sudden" you can't run it because it can't find a variable or name:
AttributeError: 'module' object has no attribute 'foobar'
But if you search for that name, it doesn't …