airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Bowden (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-2464) Unicode character in default_airflow.cfg
Date Mon, 14 May 2018 22:10:00 GMT
Matthew Bowden created AIRFLOW-2464:

             Summary: Unicode character in default_airflow.cfg
                 Key: AIRFLOW-2464
             Project: Apache Airflow
          Issue Type: Bug
          Components: configuration
    Affects Versions: Airflow 2.0
            Reporter: Matthew Bowden
            Assignee: Matthew Bowden

2018-05-14T21:39:16.180900435Z Traceback (most recent call last):
2018-05-14T21:39:16.180950267Z File "/opt/airflow-venv/bin/airflow", line 21, in <module>
2018-05-14T21:39:16.180958056Z from airflow import configuration
2018-05-14T21:39:16.180964143Z File "/opt/airflow-venv/lib/python3.5/site-packages/airflow/",
line 35, in <module>
2018-05-14T21:39:16.180971685Z from airflow import configuration as conf
2018-05-14T21:39:16.180988053Z File "/opt/airflow-venv/lib/python3.5/site-packages/airflow/",
line 110, in <module>
2018-05-14T21:39:16.180997872Z DEFAULT_CONFIG =
2018-05-14T21:39:16.181003351Z File "/opt/airflow-venv/lib/python3.5/encodings/",
line 26, in decode
2018-05-14T21:39:16.181009074Z return codecs.ascii_decode(input, self.errors)[0]
2018-05-14T21:39:16.181021048Z UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in
position 18912: ordinal not in range(128){code}
It appears that this commit introduced a unicode character into the {{default_airflow.cfg}}
This looks like it's a unicode apostrophe, and is causing the {{}} call to crash. 

This message was sent by Atlassian JIRA

View raw message