Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5835

UnicodeEncodeError when runnig airflow initdb for first time

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.10.6
    • Fix Version/s: None
    • Component/s: configuration
    • Labels:
      None
    • Environment:
      Redhat 7.7 / Python 3.7

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                atleypnorth Patrick Morris
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: