[ https://issues.apache.org/jira/browse/AIRFLOW-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700408#comment-16700408 ]
jack commented on AIRFLOW-3364: ------------------------------- This could be related to: [https://issues.apache.org/jira/projects/AIRFLOW/issues/AIRFLOW-419] I'm also running PostgreSQL and the issue occurs when trying to change task status. could be more than a mere coincidence. > Change Ooops Exception to something meanningfull > ------------------------------------------------- > > Key: AIRFLOW-3364 > URL: https://issues.apache.org/jira/browse/AIRFLOW-3364 > Project: Apache Airflow > Issue Type: Improvement > Affects Versions: 1.9.0 > Reporter: jack > Priority: Major > Attachments: oops.PNG > > > When I try to manually change tasks state (from up_for_retry) to success or > whatever. > I often get: > h1. > {code:java} > Ooops. Traceback (most recent call last): File > "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app > response = self.full_dispatch_request() File > "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in > full_dispatch_request rv = self.handle_user_exception(e) File > "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in > handle_user_exception reraise(exc_type, exc_value, tb) File > "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1639, in > full_dispatch_request rv = self.dispatch_request() File > "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1625, in > dispatch_request return self.view_functions[rule.endpoint](**req.view_args) > File "/usr/local/lib/python2.7/dist-packages/flask_admin/base.py", line 69, > in inner return self._run_view(f, *args, **kwargs) File > "/usr/local/lib/python2.7/dist-packages/flask_admin/base.py", line 368, in > _run_view return fn(self, *args, **kwargs) File > "/usr/local/lib/python2.7/dist-packages/flask_admin/model/base.py", line > 2068, in action_view return self.handle_action() File > "/usr/local/lib/python2.7/dist-packages/flask_admin/actions.py", line 113, in > handle_action response = handler[0](ids) File > "/usr/local/lib/python2.7/dist-packages/airflow/www/views.py", line 2502, in > action_set_success self.set_task_instance_state(ids, State.SUCCESS) File > "/usr/local/lib/python2.7/dist-packages/airflow/utils/db.py", line 50, in > wrapper result = func(*args, **kwargs) File > "/usr/local/lib/python2.7/dist-packages/airflow/www/views.py", line 2540, in > set_task_instance_state raise Exception("Ooops") Exception: Ooops{code} > > > It's unclear what this oops is and why it's needed. > If there is exception it should shown the actual error. > > Usually I simply delete the task to solve this. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)