Python function terminated unexpectedly 'Application' object has no attribute 'styleHints' (Error Code: 1)