airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanislav Kudriashev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1275) Fix exception when execution `airflow pool` command
Date Sun, 04 Jun 2017 16:11:04 GMT

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

Stanislav Kudriashev updated AIRFLOW-1275:
------------------------------------------
    Component/s: cli

> 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
>          Components: cli
>    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)

Mime
View raw message