unable to report an 18.04 crash from a 19.04 system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I had a distribution upgrade crash when I was trying to upgrade from 18.04 to 19.10 and a .crash was generated. I didn't want to report it from the system which crashed so I ran apport (to do the data collection) and saved the information in the report. I then copied it over to another system which is running Ubuntu 19.04 and I could not report the crash as I received the following crash.
$ ubuntu-bug tmp/_usr_
Traceback (most recent call last):
File "/usr/share/
app.run_argv()
File "/usr/lib/
self.
File "/usr/lib/
if not self.report and not self.load_
File "/usr/lib/
self.
File "/usr/lib/
block = base64.
File "/usr/lib/
return binascii.
binascii.Error: Incorrect padding
I've attached the problematic crash file, although I don't really think it is the crash file that is the issue.
I was able to workaround the issue by modifying problem_report.py:
--- problem_report.py 2018-09-17 01:06:20.394711000 -0700 python3/ dist-packages/ problem_ report. py 2019-06-21 11:40:49.235500124 -0700 UserDict) :
continue
assert (key is not None and value is not None) b64decode( line) b64decode( line + b"=======")
if bd:
value += bd.decompress( block)
else:
+++ /usr/lib/
@@ -140,7 +140,7 @@ class ProblemReport(
if b64_block:
- block = base64.
+ block = base64.