diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-01 08:00:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 00:31:49 +0100 |
commit | 2f91565eab78a60569c9f79d8a9cd96c1cc27897 (patch) | |
tree | 1913b8db776f51a86b3159657f2ec30fa713fe7d /meta/recipes-support/gdbm | |
parent | 2ba5557e0b77c832c763b1051a30078a6ea73636 (diff) | |
download | poky-2f91565eab78a60569c9f79d8a9cd96c1cc27897.tar.gz |
oeqa/ssh: Avoid unicode decode exceptions
This code really needs to be rewritten to not split potential
multibyte characters, for now work around it to avoid exceptions like:
File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/target/ssh.py", line 211, in run
data = reader.read(1024, 4096)
File "/usr/lib64/python3.6/codecs.py", line 503, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
(From OE-Core rev: 53df0c93c46b6ab1366df44bd9927dc6f8699b29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gdbm')
0 files changed, 0 insertions, 0 deletions