Fokko commented on issue #4338: [AIRFLOW-3172] Fix error creation dag link URL: https://github.com/apache/airflow/pull/4338#issuecomment-480253505 Thanks 孙宇博 , From only the stack trace it is very hard to see what's going on. How did you get this error? Cheers, Fokko Op do 4 apr. 2019 om 14:44 schreef 孙宇博 <[email protected]>: > File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in > reraise > raise value.with_traceback(tb) > File > "/usr/local/lib/python3.6/dist-packages/airflow/www/templates/airflow/list_dags.html", > line 22, in top-level template code > {% import 'admin/actions.html' as actionlib with context %} > File > "/usr/local/lib/python3.6/dist-packages/airflow/www/templates/admin/master.html", > line 18, in top-level template code > {% extends 'admin/base.html' %} > File > "/usr/local/lib/python3.6/dist-packages/flask_admin/templates/bootstrap3/admin/base.html", > line 37, in top-level template code > {% block page_body %} > File > "/usr/local/lib/python3.6/dist-packages/airflow/www/templates/admin/master.html", > line 107, in block "page_body" > {% block body %} > File > "/usr/local/lib/python3.6/dist-packages/airflow/www/templates/airflow/list_dags.html", > line 67, in block "body" > {% block model_list_table %} > File > "/usr/local/lib/python3.6/dist-packages/airflow/www/templates/airflow/list_dags.html", > line 115, in block "model_list_table" > {% block list_row scoped %} > File > "/usr/local/lib/python3.6/dist-packages/airflow/www/templates/airflow/list_dags.html", > line 143, in block "list_row" > {{ get_value(row, c) }} > File "/usr/local/lib/python3.6/dist-packages/flask_admin/model/base.py", > line 1834, in get_list_value > self.column_type_formatters, > File "/usr/local/lib/python3.6/dist-packages/flask_admin/model/base.py", > line 1799, in _get_list_value > value = column_fmt(self, context, model, name) > File "/usr/local/lib/python3.6/dist-packages/airflow/www/views.py", line > 115, in dag_link > execution_date=m.execution_date) > AttributeError: 'DagModel' object has no attribute 'execution_date' > > I am running python 3.6 and airflow 1.10.2 & 1.10.1 and getting the error > on both > > I got the same error. Airflow 1.10.2 > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/apache/airflow/pull/4338#issuecomment-479881672>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/ABFOqGQ8f6pnc9edZpPmxOHTlM-nYcxcks5vdfO0gaJpZM4ZX6TZ> > . >
---------------------------------------------------------------- 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] With regards, Apache Git Services
