[
https://issues.apache.org/jira/browse/AIRFLOW-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15810288#comment-15810288
]
Jerzy J. Gangi commented on AIRFLOW-742:
----------------------------------------
Airflow was installed with Seashell (https://github.com/jerzygangi/seashell)
using the install_airflow command
(https://github.com/jerzygangi/seashell/blob/master/commands/install_airflow)
> Fresh Airflow install throwing "duplicate argument 'l_1_caller'" error from
> GET /admin/airflow/graph
> ----------------------------------------------------------------------------------------------------
>
> Key: AIRFLOW-742
> URL: https://issues.apache.org/jira/browse/AIRFLOW-742
> Project: Apache Airflow
> Issue Type: Bug
> Components: webserver
> Affects Versions: Airflow 1.7.1.3
> Environment: Airflow 1.7.1.3
> Python 2.7.12
> Reporter: Jerzy J. Gangi
> Priority: Critical
>
> Fresh install of AF giving the following error when nagivating to `GET
> /admin/airflow/graph?dag_id=example_bash_operator`:
> {noformat}
> [2017-01-09 00:04:38,521] {app.py:1423} ERROR - Exception on
> /admin/airflow/graph [GET]
> Traceback (most recent call last):
> File "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/app.py",
> line 1817, in wsgi_app
> response = self.full_dispatch_request()
> File "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/app.py",
> line 1477, in full_dispatch_request
> rv = self.handle_user_exception(e)
> File "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/app.py",
> line 1381, in handle_user_exception
> reraise(exc_type, exc_value, tb)
> File "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/app.py",
> line 1475, in full_dispatch_request
> rv = self.dispatch_request()
> File "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/app.py",
> line 1461, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask_admin/base.py",
> line 68, in inner
> return self._run_view(f, *args, **kwargs)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask_admin/base.py",
> line 367, in _run_view
> return fn(self, *args, **kwargs)
> File "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask_login.py",
> line 755, in decorated_view
> return func(*args, **kwargs)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/airflow/www/utils.py",
> line 213, in view_func
> return f(*args, **kwargs)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/airflow/www/utils.py",
> line 118, in wrapper
> return f(*args, **kwargs)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/airflow/www/views.py",
> line 1412, in graph
> edges=json.dumps(edges, indent=2),)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask_admin/base.py",
> line 307, in render
> return render_template(template, **kwargs)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/templating.py",
> line 128, in render_template
> context, ctx.app)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/flask/templating.py",
> line 110, in _render
> rv = template.render(context)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/jinja2/environment.py",
> line 1008, in render
> return self.environment.handle_exception(exc_info, True)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/jinja2/environment.py",
> line 780, in handle_exception
> reraise(exc_type, exc_value, tb)
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/airflow/www/templates/airflow/graph.html",
> line 2, in top-level template code
> {% import 'admin/lib.html' as lib with context %}
> File
> "/opt/virtualenvs/airflow/lib/python2.7/site-packages/jinja2/environment.py",
> line 551, in _compile
> return compile(source, filename, 'exec')
> SyntaxError: duplicate argument 'l_1_caller' in function definition
> (lib.html, line 255)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)