The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.....ERROR: hook /usr/share/apport/package-hooks/source_apparmor.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
TypeError: add_info() takes 1 positional argument but 2 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in _run_hook
symb['add_info'](report)
File "/usr/share/apport/package-hooks/source_apparmor.py", line 48, in add_info
report['KernLog'] = recent_kernlog(sec_re)
File "/usr/share/apport/package-hooks/source_apparmor.py", line 24, in recent_kernlog
for line in open(file):
File "/usr/lib/python3.4/codecs.py", line 313, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 6574: invalid continuation byte
jenkins@dagmar:~$ sudo apport-bug apparmor --save testlib.apport
*** Collecting problem information
The collected information can be sent to the developers to improve the apport/ package- hooks/source_ apparmor. py crashed: python3/ dist-packages/ apport/ report. py", line 197, in _run_hook 'add_info' ](report, ui)
application. This might take a few minutes.
.....ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
TypeError: add_info() takes 1 positional argument but 2 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last): python3/ dist-packages/ apport/ report. py", line 202, in _run_hook 'add_info' ](report) apport/ package- hooks/source_ apparmor. py", line 48, in add_info 'KernLog' ] = recent_ kernlog( sec_re) apport/ package- hooks/source_ apparmor. py", line 24, in recent_kernlog python3. 4/codecs. py", line 313, in decode decode( data, self.errors, final)
File "/usr/lib/
symb[
File "/usr/share/
report[
File "/usr/share/
for line in open(file):
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 6574: invalid continuation byte