You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/06 17:21:33 UTC
[GitHub] [airflow] warrenstephens commented on issue #15607: airflow throws error: airflow.exceptions.SerializedDagNotFound: DAG 'dns-basic-1min' not found in serialized_dag table
warrenstephens commented on issue #15607:
URL: https://github.com/apache/airflow/issues/15607#issuecomment-874943564
Using airflow 2.1.1 with docker-compose as well.
I would love to be able to clean out this DAG 'tutorial' stuff, but I have no idea where the "serialized dag table" is! How do I get to it?
```
airflow-webserver_1 | 172.20.0.1 - - [06/Jul/2021:17:15:43 +0000] "GET /object/task_instances?dag_id=annotate_dug&execution_date=2021-07-02T21%3A19%3A24.504747%2B00%3A00 HTTP/1.1" 200 4564 "http://localhost:8080/graph?dag_id=annotate_dug" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
airflow-webserver_1 | [2021-07-06 17:15:45,148] {app.py:1891} ERROR - Exception on /object/task_instances [GET]
airflow-webserver_1 | Traceback (most recent call last):
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
airflow-webserver_1 | response = self.full_dispatch_request()
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
airflow-webserver_1 | rv = self.handle_user_exception(e)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
airflow-webserver_1 | reraise(exc_type, exc_value, tb)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
airflow-webserver_1 | raise value
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
airflow-webserver_1 | rv = self.dispatch_request()
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
airflow-webserver_1 | return self.view_functions[rule.endpoint](**req.view_args)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/airflow/www/auth.py", line 34, in decorated
airflow-webserver_1 | return func(*args, **kwargs)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/airflow/www/decorators.py", line 60, in wrapper
airflow-webserver_1 | return f(*args, **kwargs)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/airflow/www/views.py", line 2611, in task_instances
airflow-webserver_1 | dag = current_app.dag_bag.get_dag(dag_id)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/session.py", line 65, in wrapper
airflow-webserver_1 | return func(*args, session=session, **kwargs)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/airflow/models/dagbag.py", line 178, in get_dag
airflow-webserver_1 | self._add_dag_from_db(dag_id=dag_id, session=session)
airflow-webserver_1 | File "/home/airflow/.local/lib/python3.8/site-packages/airflow/models/dagbag.py", line 234, in _add_dag_from_db
airflow-webserver_1 | raise SerializedDagNotFound(f"DAG '{dag_id}' not found in serialized_dag table")
airflow-webserver_1 | airflow.exceptions.SerializedDagNotFound: DAG 'tutorial' not found in serialized_dag table
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org