[Bug 2100313] Re: /usr/share/apport/apport:ImportError:/usr/share/apport/apport at 50
Launchpad Bug Tracker
2100313 at bugs.launchpad.net
Tue Mar 11 23:34:56 UTC 2025
This bug was fixed in the package apport - 2.30.0-0ubuntu4.2
---------------
apport (2.30.0-0ubuntu4.2) oracular; urgency=medium
[ Chris Peterson ]
* d/package-hooks/ubuntu-desktop-bootstrap.py: attach files with root
and add subiquity traceback, curtin logs, subiquity or system journal,
hardware information, and check if snap updated (LP: #2098415).
* d/package-hooks/subiquity.py: fix typo in path to curtin apt
configuration (LP: #2098423).
[ Benjamin Drung ]
* apport-gtk: check for available display on startup (LP: #2006981)
* python3-apport: Bump python3-problem-report dependency to >= 2.28
for CompressedFile class (LP: #2100313)
* test:
- do not check for exact encoded gzip data (LP: #2076269)
- depend on apport-gtk for new UI integration test
- split test_find_package_desktopfile into separate test cases
and fix test_find_package_desktopfile_multiple
- autopkgtest: install xterm for test_find_package_desktopfile_multiple
-- Benjamin Drung <bdrung at ubuntu.com> Thu, 27 Feb 2025 13:54:34 +0100
** Changed in: apport (Ubuntu Oracular)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2100313
Title:
/usr/share/apport/apport:ImportError:/usr/share/apport/apport at 50
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Noble:
Fix Committed
Status in apport source package in Oracular:
Fix Released
Status in apport source package in Plucky:
Fix Released
Bug description:
[ Impact ]
Apport can crash:
Traceback (most recent call last):
File "/usr/share/apport/apport", line 50, in <module>
from problem_report import CompressedFile
ImportError: cannot import name 'CompressedFile' from 'problem_report' (/usr/lib/python3/dist-packages/problem_report.py). Did you mean: 'CompressedValue'?
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.28.1-0ubuntu3.3, the problem page at https://errors.ubuntu.com/problem/9e301bc14d146b7057f41bb447f4589d44bd8789 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/.
[ Test Plan ]
The test plan is to check that the package installs/upgrades cleanly
with the updated version in the dependency. This can be done by
checking the autopkgtest tests.
[ Where problems could occur ]
The updated dependency version can make resolving the dependencies or
ordering the upgrade more complex. This could lead to issues during
distribution upgrade to noble.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2100313/+subscriptions
More information about the foundations-bugs
mailing list