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