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