airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolke de Bruin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-776) Addition of cgroups to setup.py causes ImportError
Date Sun, 22 Jan 2017 15:59:26 GMT

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

Bolke de Bruin resolved AIRFLOW-776.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.1

Issue resolved by pull request #2009
[https://github.com/apache/incubator-airflow/pull/2009]

> Addition of cgroups to setup.py causes ImportError
> --------------------------------------------------
>
>                 Key: AIRFLOW-776
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-776
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Amin Ghadersohi
>            Assignee: Amin Ghadersohi
>            Priority: Trivial
>             Fix For: 1.8.1
>
>
> cgroups = [
>     'cgroupspy>=0.1.4',
> ]
> The above was added to setup.py but is not installed with pip install .[devel] and causes
the following on `airflow webserver`
> ```
> ~/work/airflow master ⇣⇡
> (env)❯ airflow webserver          
> [2017-01-19 23:54:35,957] {__init__.py:57} INFO - Using executor SequentialExecutor
> Traceback (most recent call last):
>   File "/Users/Amin/work/airflow/env/bin/airflow", line 18, in <module>
>     from airflow.bin.cli import CLIFactory
>   File "/Users/Amin/work/airflow/env/lib/python2.7/site-packages/airflow/bin/cli.py",
line 45, in <module>
>     from airflow import jobs, settings
>   File "/Users/Amin/work/airflow/env/lib/python2.7/site-packages/airflow/jobs.py", line
47, in <module>
>     from airflow.task_runner import get_task_runner
>   File "/Users/Amin/work/airflow/env/lib/python2.7/site-packages/airflow/task_runner/__init__.py",
line 16, in <module>
>     from airflow.contrib.task_runner.cgroup_task_runner import CgroupTaskRunner
>   File "/Users/Amin/work/airflow/env/lib/python2.7/site-packages/airflow/contrib/task_runner/cgroup_task_runner.py",
line 21, in <module>
>     from cgroupspy import trees
> ImportError: No module named cgroupspy
> ```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message