Fixed upstream:
https://github.com/canonical/apport/commit/5c0c1b6add54553b6c1eb8ae0bab6b25f5e01d26
** Changed in: apport
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1997973
Title:
AttributeError in is_distro_package: 'NoneType' object has no
attribute 'origins'
Status in Apport:
Fix Committed
Status in apport package in Ubuntu:
New
Bug description:
Traceback (most recent call last):
File "/usr/share/apport/whoopsie-upload-all", line 249, in <module>
main()
File "/usr/share/apport/whoopsie-upload-all", line 231, in main
stamps = collect_info()
File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info
res = process_report(r)
File "/usr/share/apport/whoopsie-upload-all", line 90, in process_report
r.add_package_info()
File "/usr/lib/python3/dist-packages/apport/report.py", line 371, in
add_package_info
version = self.add_package(package)
File "/usr/lib/python3/dist-packages/apport/report.py", line 339, in
add_package
self._customized_package_suffix(package),
File "/usr/lib/python3/dist-packages/apport/report.py", line 310, in
_customized_package_suffix
if not packaging.is_distro_package(package):
File "/usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py",
line 241, in is_distro_package
if {o.origin for o in pkg.candidate.origins} == {
AttributeError: 'NoneType' object has no attribute 'origins'
The Ubuntu Error Tracker has been receiving reports about a problem regarding
apport. This problem was most recently seen with package version
2.23.1-0ubuntu3, the problem page at
https://errors.ubuntu.com/problem/3841c459c22228d1ef7cfaeceb767034ee7ca13e
contains more details, including versions of packages affected, stacktrace or
traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software
developer, you can request it at http://forms.canonical.com/reports/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1997973/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp