ParseError thrown

Unclosed '(' on line 302 does not match '}'