[ 
https://issues.apache.org/jira/browse/AIRFLOW-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848895#comment-15848895
 ] 

Joel Wilsson commented on AIRFLOW-693:
--------------------------------------

I had this issue trying to run 1.8.0b5 in a venv. Solved by running "pip 
uninstall airflow" to remove the non-beta version, then "python3 setup.py 
install" again for 1.8.0b5. Otherwise it imported the wrong settings.py (from 
1.7.1.3), which doesn't have all the necessary variables.

> 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.15#6346)

Reply via email to