airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengo Seki (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-2344) Fix `airflow connections -l` to work with pipe and redirect
Date Thu, 19 Apr 2018 06:38:00 GMT
Kengo Seki created AIRFLOW-2344:

             Summary: Fix `airflow connections -l` to work with pipe and redirect
                 Key: AIRFLOW-2344
             Project: Apache Airflow
          Issue Type: Bug
          Components: cli
    Affects Versions: 1.9.0
            Reporter: Kengo Seki

{{airflow connections -l}} fails with pipe or redirect e.g.:

$ airflow connections -l > foo
Traceback (most recent call last):
  File "/home/sekikn/.virtualenvs/a/bin/airflow", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/sekikn/dev/incubator-airflow/airflow/bin/airflow", line 32, in <module>
  File "/home/sekikn/dev/incubator-airflow/airflow/utils/", line 77, in wrapper
    raise e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-141: ordinal not in

This message was sent by Atlassian JIRA

View raw message