per-package hooks are broken

Bug #82566 reported by Colin Watson on 2007-01-31
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: apport

As https://launchpad.net/ubuntu/+source/ubiquity/+bug/82565 indicates, the Package key isn't just the package name - it contains other stuff as well, specifically "ubiquity 1.3.15 [modified: usr/lib/ubiquity/ubiquity/components/partman.py]" in this case. But apport/report.py does:

            m = __import__(self['Package'])

... which clearly isn't going to work. You need to strip everything after the first space.

Kees Cook (kees) on 2007-02-01
Changed in apport:
status: Unconfirmed → Confirmed
Kees Cook (kees) on 2007-02-01
Changed in apport:
status: Confirmed → Fix Committed
Martin Pitt (pitti) wrote :

 apport (0.47) feisty; urgency=low
 .
   * apport/report.py: quick fix for Herd 3, strip out Package suffixes

Thanks Kees for the quick fix! I'll merge it to trunk. Colin, sorry for the trouble, I'll add this to the test suite.

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers