From dev-return-4457-archive-asf-public=cust-asf.ponee.io@airflow.incubator.apache.org Wed Jan 17 07:50:08 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id E73FD18062C for ; Wed, 17 Jan 2018 07:50:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D7795160C35; Wed, 17 Jan 2018 06:50:08 +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 32DD9160C1B for ; Wed, 17 Jan 2018 07:50:08 +0100 (CET) Received: (qmail 52785 invoked by uid 500); 17 Jan 2018 06:50:07 -0000 Mailing-List: contact dev-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 dev@airflow.incubator.apache.org Received: (qmail 52771 invoked by uid 99); 17 Jan 2018 06:50:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2018 06:50:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5393518067F for ; Wed, 17 Jan 2018 06:50:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VpRef99V7NM2 for ; Wed, 17 Jan 2018 06:50:05 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 512CA5FB29 for ; Wed, 17 Jan 2018 06:50:05 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id f71so12897784wmf.0 for ; Tue, 16 Jan 2018 22:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :references:in-reply-to:to; bh=z5+M9B9Zwu6TsV6IEUDRsFIjb7In3KlBj7b5pHCCxUQ=; b=fUlwVjK+pC8CDy8O//SQc/W92Db2rDGdwKzq4KwOVZnLox/0URZ1MbeGI4kAO3uB4s DI3a7tGgAtmmPe+8ptf5PscN1Uwnp/bsCqL2PpcjTRHavLopQtdjflxBrcdpDR+8fAUJ ePKuCVYwyKnRJSWRbN81KghbCjHz0n9aYr383qBqvXQwH/8WjrrlkElK+jrKh+FV2Pr/ pXE77xERuOIelpmgqCNpqQOmlnNMSu0uyGQviuFBhjg7Ldt4Z0rEq/gNgWdoESk80wKW Yr7n2xcba0gy9wrS0LvztnGK1pCzLQCCnAe6NXiepGqI/qSQyxCrh0Go5ERiXRPzc1mv 4vuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:references:in-reply-to:to; bh=z5+M9B9Zwu6TsV6IEUDRsFIjb7In3KlBj7b5pHCCxUQ=; b=hr+xmoLmsBcpoxMuSgIm6/ffpEUf7DqNRJMxXTcJd6tOxsFNKSNGRGA9vQyj5M+sXz V7Umd1jQqQya/JQ4qRzaojDFF1TjrWQNceg5zEcIxM0/DQk3BAIvHy0Z5MkPMNRZ55MO lNS1CuzeoNcxoElbPa6debuNKrb6ePOaTW339Hy1yd83aHCkITDpxZyggaRkf69SxSB+ zaWwqlcjtAen0SgvRptawtEU0ZghnUSPsd2u9AdTZyrkr7Nvj+lIGdZjoxrRX6x6zFsd DmNsCCJreeE22BYO1sRgdZH8mU9xbdGuTn08Vaa9xeH0P3sP76KUXQ7EJlXtNoUU8mY5 3cng== X-Gm-Message-State: AKwxytfswUFPLocf3QthWD2OvHjx+64NBs22fP4Ygfb6vsguErVupyMS 0Nn9is+T9+GPDNiX7zblJVYSDpmqNqAR X-Google-Smtp-Source: ACJfBosA4Xlf9wpjlTqtyiDOYvLJ8zKAHQPOzVpGKd3mYXeZq7j0u8LveJiWeaWnJ/JwOrDpndQGzw== X-Received: by 10.80.142.188 with SMTP id w57mr1383385edw.11.1516171803944; Tue, 16 Jan 2018 22:50:03 -0800 (PST) Received: from [10.0.1.99] (f248061.upc-f.chello.nl. [80.56.248.61]) by smtp.gmail.com with ESMTPSA id h20sm2426544edh.35.2018.01.16.22.50.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 22:50:03 -0800 (PST) From: Bolke de Bruin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 17 Jan 2018 07:50:02 +0100 Subject: Re: AttributeError: 'NoneType' object has no attribute 'tzinfo' Message-Id: References: In-Reply-To: To: dev@airflow.incubator.apache.org X-Mailer: iPad Mail (15C202) Good point, but you have upgraded to master. Can you provide a PR? Verstuurd vanaf mijn iPad > Op 17 jan. 2018 om 00:10 heeft Ruslan Dautkhanov he= t volgende geschreven: >=20 > Upgraded Airflow .. getting following error [1] when processing a DAG >=20 > We have 'start_date': None set in default_args.. but this used to work im > previous airflow versions. > This is a '@once DAG.. so we don't need a start_date (no back fill). >=20 >=20 >=20 > [1] >=20 > [2018-01-16 16:05:25,283] {models.py:293} ERROR - Failed to import: >> /home/rdautkha/airflow/dags/discover/discover-ora-load-2.py >> Traceback (most recent call last): >> File >> "/opt/airflow/airflow-20180116/src/apache-airflow/airflow/models.py", lin= e >> 290, in process_file >> m =3D imp.load_source(mod_name, filepath) >> File "/home/rdautkha/airflow/dags/discover/discover-ora-load-2.py", line= >> 66, in >> orientation =3D 'TB', # >> default graph view >> File >> "/opt/airflow/airflow-20180116/src/apache-airflow/airflow/models.py", lin= e >> 2951, in __init__ >> self.timezone =3D self.default_args['start_date'].tzinfo >> AttributeError: 'NoneType' object has no attribute 'tzinfo' >=20 >=20 >=20 > --=20 > Ruslan Dautkhanov