You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 18:05:03 UTC

[jira] [Assigned] (AIRFLOW-878) FileNotFoundError: 'gunicorn' after initial setup

     [ https://issues.apache.org/jira/browse/AIRFLOW-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned AIRFLOW-878:
------------------------------------

    Assignee:     (was: Holden Karau's magical unicorn)

> FileNotFoundError: 'gunicorn' after initial setup
> -------------------------------------------------
>
>                 Key: AIRFLOW-878
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-878
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>            Reporter: Manuel Barkhau
>            Priority: Major
>
> I get the following error after installing airflow and doing {{airflow init}}
> {code}
> $ venv/bin/airflow webserver 
> [2017-02-15 12:24:52,813] {__init__.py:56} INFO - Using executor SequentialExecutor
> [2017-02-15 12:24:52,886] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
> [2017-02-15 12:24:52,904] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python3.5/lib2to3/PatternGrammar.txt
>   ____________       _____________
>  ____    |__( )_________  __/__  /________      __
> ____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
> ___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
>  _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/
>  
> /home/mbarkhau/testproject/venv/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache in
> stead.
>   .format(x=modname), ExtDeprecationWarning
> [2017-02-15 12:24:53,145] [11995] {models.py:167} INFO - Filling up the DagBag from /home/mbarkhau/airflow/dags
> Traceback (most recent call last):
>   File "venv/bin/airflow", line 6, in <module>
>     exec(compile(open(__file__).read(), __file__, 'exec'))
>   File "/home/mbarkhau/testproject/venv/src/airflow/airflow/bin/airflow", line 28, in <module>
>     args.func(args)
>   File "/home/mbarkhau/testproject/venv/src/airflow/airflow/bin/cli.py", line 791, in webserver
>     gunicorn_master_proc = subprocess.Popen(run_args)
>   File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
>     restore_signals, start_new_session)
>   File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
>     raise child_exception_type(errno_num, err_msg)
> FileNotFoundError: [Errno 2] No such file or directory: 'gunicorn'
> Running the Gunicorn Server with:
> Workers: 4 sync
> Host: 0.0.0.0:8080
> Timeout: 120
> Logfiles: - -
> =================================================================            
> {code}
> My setup
> {code}
> $ venv/bin/python --version
> Python 3.5.2
> $ venv/bin/pip freeze | grep airflow
> -e git+ssh://git@github.com/apache/incubator-airflow.git@debc69e2787542cd56ab28b6c48db01c65ad05c4#egg=airflow
> $ uname -a
> Linux mbarkhau-office 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)