[Bug 1164406] Re: ubuntu.py general hook gives error "UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1821152-1821153: invalid continuation byte"
Launchpad Bug Tracker
1164406 at bugs.launchpad.net
Tue May 5 06:37:18 UTC 2020
[Expired for apport (Ubuntu) because there has been no activity for 60
days.]
** Changed in: apport (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1164406
Title:
ubuntu.py general hook gives error "UnicodeDecodeError: 'utf-8' codec
can't decode bytes in position 1821152-1821153: invalid continuation
byte"
Status in apport package in Ubuntu:
Expired
Bug description:
As seen in HookError_ubuntu.txt attachment on bug 1163761:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 60, in add_info
log_file = get_attachment_contents(report, attachment)
File "/usr/share/apport/general-hooks/ubuntu.py", line 443, in get_attachment_contents
contents = report[attachment].decode('UTF-8')
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1821152-1821153: invalid continuation byte
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1164406/+subscriptions
More information about the foundations-bugs
mailing list