add_info in the ubuntu.py general hook is called two times and the 2nd time ProblemType is not set:
$ apport-collect -p linux 1004029 > /usr/share/apport/general-hooks/ubuntu.py(35)add_info() 34 import ipdb; ipdb.set_trace() ---> 35 if report.get('ProblemType') == 'Package': 36 check_for_disk_error(report)
ipdb> report.get('ProblemType') 'Bug' ipdb> continue No packages found matching linux. > /usr/share/apport/general-hooks/ubuntu.py(35)add_info() 34 import ipdb; ipdb.set_trace() ---> 35 if report.get('ProblemType') == 'Package': 36 check_for_disk_error(report)
ipdb> report.get('ProblemType')
add_info in the ubuntu.py general hook is called two times and the 2nd time ProblemType is not set:
$ apport-collect -p linux 1004029 apport/ general- hooks/ubuntu. py(35)add_ info() get('ProblemTyp e') == 'Package': disk_error( report)
> /usr/share/
34 import ipdb; ipdb.set_trace()
---> 35 if report.
36 check_for_
ipdb> report. get('ProblemTyp e') apport/ general- hooks/ubuntu. py(35)add_ info() get('ProblemTyp e') == 'Package': disk_error( report)
'Bug'
ipdb> continue
No packages found matching linux.
> /usr/share/
34 import ipdb; ipdb.set_trace()
---> 35 if report.
36 check_for_
ipdb> report. get('ProblemTyp e')