airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1275) Fix `airflow pool` command exception
Date Wed, 21 Jun 2017 14:39:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057618#comment-16057618
] 

ASF subversion and git services commented on AIRFLOW-1275:
----------------------------------------------------------

Commit 9958aa9d5326b75cf7082c0bc36c13b063f1924f in incubator-airflow's branch refs/heads/master
from [~skudriashev]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=9958aa9 ]

[AIRFLOW-1275] Put 'airflow pool' into API

Closes #2346 from skudriashev/airflow-1275


> 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)

Mime
View raw message