You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (Jira)" <ji...@apache.org> on 2020/03/16 12:01:00 UTC

[jira] [Resolved] (AIRFLOW-3439) Logs with non-ascii characters can't be read from GCS

     [ https://issues.apache.org/jira/browse/AIRFLOW-3439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik resolved AIRFLOW-3439.
---------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.10
       Resolution: Fixed

> Logs with non-ascii characters can't be read from GCS
> -----------------------------------------------------
>
>                 Key: AIRFLOW-3439
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3439
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: logging, webserver
>    Affects Versions: 1.10.1
>            Reporter: Pavel Raschetnov
>            Assignee: Jarek Potiuk
>            Priority: Major
>              Labels: UTF-8, encoding, gcp, gcs_task_handler
>             Fix For: 1.10.10
>
>
> 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
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)