A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
<type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 1) args = ('invalid syntax', ('<string>', 1, 1, '<html>\n')) filename = '<string>' lineno = 1 message = '' msg = 'invalid syntax' offset = 1 print_file_and_line = None text = '<html>\n'