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

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

Log workAgile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              potiuk Jarek Potiuk Assign to me
              Reporter:
              pavelevap Pavel Raschetnov

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment