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