You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Amin Ghadersohi (JIRA)" <ji...@apache.org> on 2017/01/20 08:01:26 UTC

[jira] [Created] (AIRFLOW-776) Addition of cgroups to setup.py causes ImportError

Amin Ghadersohi created AIRFLOW-776:
---------------------------------------

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


cgroups = [
    'cgroupspy>=0.1.4',
]

The above was added to setup.py but is not installed with devel_minreq 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)