You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dmitriy Krasnikov (JIRA)" <ji...@apache.org> on 2016/12/12 19:48:58 UTC
[jira] [Created] (AIRFLOW-693) Cannot initialize webserver with
blueprints plugins
Dmitriy Krasnikov created AIRFLOW-693:
------------------------------------------
Summary: Cannot initialize webserver with blueprints plugins
Key: AIRFLOW-693
URL: https://issues.apache.org/jira/browse/AIRFLOW-693
Project: Apache Airflow
Issue Type: Bug
Components: webserver
Affects Versions: Airflow 1.8
Environment: Master branch
Reporter: Dmitriy Krasnikov
When starting webserver with `airflow webserver -p 8080`
generates following error: `0m Error: 'airflow.www.gunicorn_config' doesn't exist`
Running python and issue import airflow.www.gunicorn_config works. So I can only assume it's related to plugin manager or something.
I have not tested without plugin, I only assume master works otherwise and error occurs after blueprint import. Full command line below
```
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
/usr/local/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
.format(x=modname), ExtDeprecationWarning
[2016-12-12 19:21:31,091] [35593] {models.py:168} INFO - Filling up the DagBag from /airflow/dags
[2016-12-12 19:21:31,189] [35593] {app.py:120} INFO - Adding view About
[2016-12-12 19:21:31,189] [35593] {app.py:123} INFO - Adding blueprint turbine_plugin_asset
[2016-12-12 19:21:31,190] [35593] {app.py:123} INFO - Adding blueprint turbine_plugin_asset_schema
[2016-12-12 19:21:31,191] [35593] {app.py:123} INFO - Adding blueprint turbine_plugin_import
[2016-12-12 19:21:31,191] [35593] {app.py:123} INFO - Adding blueprint turbine_plugin_actor_schema
[2016-12-12 19:21:31,192] [35593] {app.py:123} INFO - Adding blueprint turbine_plugin_bundle
[2016-12-12 19:21:31,193] [35593] {app.py:123} INFO - Adding blueprint turbine_swagger
[2016-12-12 19:21:31,193] [35593] {app.py:123} INFO - Adding blueprint turbine_plugin_trigger
Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120
Logfiles: - -
=================================================================
Error: 'airflow.www.gunicorn_config' doesn't exist
```
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)