here is a python exception I got while reporting a bug:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 89, in add_info
check_attachment_for_errors(report, attachment)
File "/usr/share/apport/general-hooks/ubuntu.py", line 208, in check_attachment_for_errors
trim_dpkg_log(report)
File "/usr/share/apport/general-hooks/ubuntu.py", line 508, in trim_dpkg_log
report['DpkgTerminalLog'] = '\n'.join([str(line.decode('utf-8')) for line in lines])
File "/usr/share/apport/general-hooks/ubuntu.py", line 508, in <listcomp>
report['DpkgTerminalLog'] = '\n'.join([str(line.decode('utf-8')) for line in lines])
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 3070: invalid continuation byte
Hi,
here is a python exception I got while reporting a bug:
Traceback (most recent call last): python3/ dist-packages/ apport/ report. py", line 198, in _run_hook 'add_info' ](report, ui) apport/ general- hooks/ubuntu. py", line 89, in add_info attachment_ for_errors( report, attachment) apport/ general- hooks/ubuntu. py", line 208, in check_attachmen t_for_errors dpkg_log( report) apport/ general- hooks/ubuntu. py", line 508, in trim_dpkg_log 'DpkgTerminalLo g'] = '\n'.join( [str(line. decode( 'utf-8' )) for line in lines]) apport/ general- hooks/ubuntu. py", line 508, in <listcomp> 'DpkgTerminalLo g'] = '\n'.join( [str(line. decode( 'utf-8' )) for line in lines])
File "/usr/lib/
symb[
File "/usr/share/
check_
File "/usr/share/
trim_
File "/usr/share/
report[
File "/usr/share/
report[
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 3070: invalid continuation byte
It can also be seen here:
https:/ /launchpadlibra rian.net/ 367002573/ HookError_ ubuntu. txt
ProblemType: Bug 041603- generic x86_64
DistroRelease: Ubuntu 18.04
Package: apport 2.20.9-0ubuntu6
Uname: Linux 4.16.3-
ApportLog:
ApportVersion: 2.20.9-0ubuntu6 ture: all DIR=<set>
Architecture: amd64
CurrentDesktop: MATE
Date: Mon Apr 23 20:13:24 2018
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)