You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Stanislav Kudriashev (JIRA)" <ji...@apache.org> on 2017/06/04 16:11:04 UTC

[jira] [Created] (AIRFLOW-1275) Fix exception when execution `airflow pool` command

Stanislav Kudriashev created AIRFLOW-1275:
---------------------------------------------

             Summary: Fix exception when execution `airflow pool` command
                 Key: AIRFLOW-1275
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1275
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: 1.8.1
            Reporter: Stanislav Kudriashev
            Assignee: Stanislav Kudriashev
             Fix For: 1.8.2


{code}
$ airflow pool
[2017-06-04 19:07:49,805] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
[2017-06-04 19:07:49,821] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
[2017-06-04 19:07:49,896] {__init__.py:45} INFO - Using executor SequentialExecutor
Traceback (most recent call last):
  File "/home/stas/Work/incubator-airflow/.venv/bin/airflow", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/stas/Work/incubator-airflow/airflow/bin/airflow", line 28, in <module>
    args.func(args)
  File "/home/stas/Work/incubator-airflow/airflow/bin/cli.py", line 195, in pool
    .filter(Pool.pool == name)
UnboundLocalError: local variable 'name' referenced before assignment
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)