[ https://issues.apache.org/jira/browse/AIRFLOW-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor resolved AIRFLOW-3124. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.10.1 > Broken webserver debug mode (RBAC) > ---------------------------------- > > Key: AIRFLOW-3124 > URL: https://issues.apache.org/jira/browse/AIRFLOW-3124 > Project: Apache Airflow > Issue Type: Bug > Components: webapp, webserver > Reporter: Aaron Kosel > Assignee: Aaron Kosel > Priority: Minor > Fix For: 1.10.1 > > > {code:java} > Traceback (most recent call last): > File "/usr/local/bin/airflow", line 7, in <module> > exec(compile(f.read(), __file__, 'exec')) > File "/airflow/airflow/bin/airflow", line 32, in <module> > args.func(args) > File "/airflow/airflow/utils/cli.py", line 74, in wrapper > return f(*args, **kwargs) > File "/airflow/airflow/bin/cli.py", line 875, in webserver > app.run(debug=True, port=args.port, host=args.hostname, > AttributeError: 'tuple' object has no attribute 'run' > {code} > Nearly the same issue as https://issues.apache.org/jira/browse/AIRFLOW-2204, > but only affecting RBAC debug mode. The problem is that `create_app` returns > a tuple, but the `cli` script expects to just receive the flask app back > without the appbuilder. -- This message was sent by Atlassian JIRA (v7.6.3#76005)