Actions
Bug #15655
closed[CWL] encoding error when printing error log tail
Story points:
-
Release:
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
Actions