(<class 'NameError'>, NameError("name 'InvalidPage' is not defined"), <traceback object at 0x7f991aa924c0>)