iameugenejo commented on issue #13504:
URL: https://github.com/apache/airflow/issues/13504#issuecomment-761978221
Experiencing the error.
```
Python version: 3.8.0
Airflow version: 2.0.0
Node: {REDACTED}
-------------------------------------------------------------------------------
Traceback (most recent call last):
File "/root/airflow/2.0.0/venv/lib/python3.8/site-packages/flask/app.py",
line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/root/airflow/2.0.0/venv/lib/python3.8/site-packages/flask/app.py",
line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/airflow/2.0.0/venv/lib/python3.8/site-packages/flask/app.py",
line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/flask/_compat.py", line
39, in reraise
raise value
File "/root/airflow/2.0.0/venv/lib/python3.8/site-packages/flask/app.py",
line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/root/airflow/2.0.0/venv/lib/python3.8/site-packages/flask/app.py",
line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/www/auth.py",
line 34, in decorated
return func(*args, **kwargs)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/www/decorators.py",
line 97, in view_func
return f(*args, **kwargs)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/www/decorators.py",
line 60, in wrapper
return f(*args, **kwargs)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/www/views.py",
line 1861, in tree
dag = current_app.dag_bag.get_dag(dag_id)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/utils/session.py",
line 65, in wrapper
return func(*args, session=session, **kwargs)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/models/dagbag.py",
line 171, in get_dag
self._add_dag_from_db(dag_id=dag_id, session=session)
File
"/root/airflow/2.0.0/venv/lib/python3.8/site-packages/airflow/models/dagbag.py",
line 227, in _add_dag_from_db
raise SerializedDagNotFound(f"DAG '{dag_id}' not found in serialized_dag
table")
airflow.exceptions.SerializedDagNotFound: DAG '60040d7f94fe6dd7d7c8a95b' not
found in serialized_dag table```
60+ dags are dynamically generated from a single file.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]