A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
AttributeError: module 'cgi' has no attribute 'escape' args = ("module 'cgi' has no attribute 'escape'",) with_traceback = <built-in method with_traceback of AttributeError object>