You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Oleg Yamin (JIRA)" <ji...@apache.org> on 2018/01/10 02:11:00 UTC
[jira] [Created] (AIRFLOW-1981) Initial AirFlow run unable to
create airflow.cfg
Oleg Yamin created AIRFLOW-1981:
-----------------------------------
Summary: Initial AirFlow run unable to create airflow.cfg
Key: AIRFLOW-1981
URL: https://issues.apache.org/jira/browse/AIRFLOW-1981
Project: Apache Airflow
Issue Type: Bug
Components: configuration
Affects Versions: 1.10.0
Environment: airflow oyamin$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G1114
airflow oyamin$ uname -a
Darwin 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64
Reporter: Oleg Yamin
After setting up airflow and then just running "airflow" command on MacOS terminal, I get the following error:
airflow oyamin$ airflow
/usr/local/opt/airflow/unittests.cfg
/usr/local/opt/airflow/airflow.cfg
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/airflow", line 16, in <module>
from airflow import configuration
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/airflow/__init__.py", line 30, in <module>
from airflow import configuration as conf
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/airflow/configuration.py", line 400, in <module>
f.write(cfg.split(TEMPLATE_START)[-1].strip())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 10906: ordinal not in range(128)
airflow oyamin$ ls -ltr
total 8
-rw-r--r-- 1 oyamin admin 1803 Jan 9 18:07 unittests.cfg
-rw-r--r-- 1 oyamin admin 0 Jan 9 18:07 airflow.cfg
airflow.cfg is empty.
Airflow version = '1.10.0dev0+incubating'
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)