Project

General

Profile

Actions

Bug #15655

closed

[CWL] encoding error when printing error log tail

Added by Peter Amstutz about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Eric Biagiotti
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

2019-09-23T14:05:07.603414105Z Traceback (most recent call last):
2019-09-23T14:05:07.603414105Z   File "/usr/share/python2.7/dist/python-arvados-cwl-runner/lib/python2.7/site-packages/arvados_cwl/arvcontainer.py", line 342, in done
2019-09-23T14:05:07.603414105Z     "%s (%s) error log:" % (label, record["uuid"]), maxlen=40)
2019-09-23T14:05:07.603414105Z   File "/usr/share/python2.7/dist/python-arvados-cwl-runner/lib/python2.7/site-packages/arvados_cwl/done.py", line 74, in logtail
2019-09-23T14:05:07.603414105Z     for l in f:
2019-09-23T14:05:07.603414105Z   File "/usr/share/python2.7/dist/python-arvados-cwl-runner/lib/python2.7/encodings/ascii.py", line 26, in decode
2019-09-23T14:05:07.603414105Z     return codecs.ascii_decode(input, self.errors)[0]
2019-09-23T14:05:07.603414105Z UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 173: ordinal not in range(128)

The log in question has non-ascii characters, so this seems to be an arvados-cwl-runner encoding bug.


Files

15655-unicode-log-fail.cwl (257 Bytes) 15655-unicode-log-fail.cwl Eric Biagiotti, 10/09/2019 12:25 PM

Subtasks 1 (0 open1 closed)

Task #15664: Review 15655-logtail-encodingResolvedPeter Amstutz10/09/2019Actions

Related issues 1 (0 open1 closed)

Related to Arvados - Bug #15358: [cwl] CWL conformance test formattest2 fails with C localeResolvedPeter Amstutz07/03/2019Actions
Actions

Also available in: Atom PDF