airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Potiuk (Jira)" <j...@apache.org>
Subject [jira] [Reopened] (AIRFLOW-3439) Logs with non-ascii characters can't be read from GCS
Date Tue, 17 Dec 2019 23:36:00 GMT

     [ 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)

Mime
View raw message