If the intent was to have apport-unpack deal with any invalid crash file, then it's not complete. This still happens now:
ubuntu@k-apport:~$ apport-unpack /bin/ls unpack
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 174, in load
(key, value) = line.split(b":", 1)
ValueError: not enough values to unpack (expected 2, got 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/apport-unpack", line 66, in <module>
pr = load_report(args.report)
File "/usr/bin/apport-unpack", line 47, in load_report
pr.load(f, binary=False)
File "/usr/lib/python3/dist-packages/problem_report.py", line 177, in load
f"Malformed problem report: Line {line.decode()!r}"
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 24: invalid start byte
Is this something you would still like to address?
If the intent was to have apport-unpack deal with any invalid crash file, then it's not complete. This still happens now: python3/ dist-packages/ problem_ report. py", line 174, in load
ubuntu@k-apport:~$ apport-unpack /bin/ls unpack
Traceback (most recent call last):
File "/usr/lib/
(key, value) = line.split(b":", 1)
ValueError: not enough values to unpack (expected 2, got 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): apport- unpack" , line 66, in <module> args.report) apport- unpack" , line 47, in load_report python3/ dist-packages/ problem_ report. py", line 177, in load
File "/usr/bin/
pr = load_report(
File "/usr/bin/
pr.load(f, binary=False)
File "/usr/lib/
f"Malformed problem report: Line {line.decode()!r}"
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 24: invalid start byte
Is this something you would still like to address?