"TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType"

that's the error I got...