You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Patrick Morris (Jira)" <ji...@apache.org> on 2019/11/01 11:47:00 UTC
[jira] [Created] (AIRFLOW-5835) UnicodeEncodeError when runnig
airflow initdb for first time
Patrick Morris created AIRFLOW-5835:
---------------------------------------
Summary: UnicodeEncodeError when runnig airflow initdb for first time
Key: AIRFLOW-5835
URL: https://issues.apache.org/jira/browse/AIRFLOW-5835
Project: Apache Airflow
Issue Type: Bug
Components: configuration
Affects Versions: 1.10.6
Environment: Redhat 7.7 / Python 3.7
Reporter: Patrick Morris
After performing clean install of airflow 1.10.6 via pip install running `airflow initdb` gives UnicodeEncodeError and generates an empty airflow.cfg file
Issue seems to be smart quotes in default_airflow.cfg on line 126 (just before sql_alchemy_pool_pre_ping setting). Converting the smart quotes around SELECT 1 to normal quotes resolves the issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)