Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DCAF9200CAE for ; Wed, 21 Jun 2017 16:39:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB706160BD0; Wed, 21 Jun 2017 14:39:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 358D7160BE2 for ; Wed, 21 Jun 2017 16:39:05 +0200 (CEST) Received: (qmail 26334 invoked by uid 500); 21 Jun 2017 14:39:04 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 26325 invoked by uid 99); 21 Jun 2017 14:39:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2017 14:39:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C7033CD862 for ; Wed, 21 Jun 2017 14:39:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id fCWvYewDrXxk for ; Wed, 21 Jun 2017 14:39:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5A84D60E2C for ; Wed, 21 Jun 2017 14:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9AA57E0C1D for ; Wed, 21 Jun 2017 14:39:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2ABF421940 for ; Wed, 21 Jun 2017 14:39:00 +0000 (UTC) Date: Wed, 21 Jun 2017 14:39:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRFLOW-1275) Fix `airflow pool` command exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Jun 2017 14:39:06 -0000 [ 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 > exec(compile(open(__file__).read(), __file__, 'exec')) > File "/home/stas/Work/incubator-airflow/airflow/bin/airflow", line 28, in > 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)