TypeError: exceptions must derive from BaseException #430
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I ran script nothing happened. The program has been stuck here, and ended with: TypeError: exceptions must derive from BaseException

I also met this problem. Have you resolved it?
Well just raise an exception in that exact line, like so:
raise Exception('Generator must exist!')But the problem is that you haven't extracted the stuff from this step properly inside a
checkpointsfolder.