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

Logs with non-ascii characters can't be read from GCS

    XMLWordPrintableJSON

Details

    Description

      Can't see task logs in web interface due to

      *** Unable to read remote log from gs://bucket/dag/abcd61826/2018-11-23T00:00:00+00:00/1.log *** 'ascii' codec can't decode byte 0xc3 in position 4421445: ordinal not in range(128)

      GCSTaskHandler should use `.decode('utf-8') instead of `.decode` in gcs_read() method

       

      Attachments

        Issue Links

          Activity

            People

              potiuk Jarek Potiuk
              pavelevap Pavel Raschetnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: