airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kosel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-3124) Broken webserver debug mode (RBAC)
Date Wed, 26 Sep 2018 23:11:00 GMT
Aaron Kosel created AIRFLOW-3124:
------------------------------------

             Summary: 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


{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)

Mime
View raw message