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

Bolke de Bruin resolved AIRFLOW-1275.
-------------------------------------
    Resolution: Fixed

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

> Fix `airflow pool` command exception
> ------------------------------------
>
>                 Key: AIRFLOW-1275
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1275
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 1.8.1
>            Reporter: Stanislav Kudriashev
>            Assignee: Stanislav Kudriashev
>             Fix For: 1.9.0
>
>
> {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.4.14#64029)

Reply via email to