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