You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/12/17 23:36:00 UTC

[jira] [Reopened] (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 ]

Jarek Potiuk reopened AIRFLOW-3439:
-----------------------------------

> 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
>            Priority: Major
>              Labels: UTF-8, encoding, gcs_task_handler
>
> 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)