support apport reporting for python programs

Bug #70957 reported by Robert Collins on 2006-11-08
6
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Medium
Martin Pitt
python2.4 (Ubuntu)
Wishlist
Matthias Klose
python2.5 (Ubuntu)
Wishlist
Matthias Klose

Bug Description

Apply the patch :)

Related branches

Robert Collins (lifeless) wrote :

We had a look over the patch and decided to make it more flexible and delegate to apport. The attached patch is much simpler and should be able to be applied immediately with no changes to dependencies etc.

Matt Zimmerman (mdz) on 2006-11-08
Changed in python2.5:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed

apport needs a new module added - the one python looks for :).

both the apport patches are (naturally) available from the attached branch.

Robert Collins (lifeless) wrote :

mdz set the target, perhaps a comment when changing the target would be useful, so folk dont need to guess at why its being changed ?

Matt Zimmerman (mdz) wrote :

I set the milestone to the 'later' milestone for edgy, which is a list we check early in the feisty release to remember to make changes which couldn't be done for edgy.

Matthias, please merge this.

Changed in python2.5:
assignee: nobody → doko
Martin Pitt (pitti) wrote :

Available patch is for 2.4, and 2.4 is our default version, so this should be applied first.

Changed in apport:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → In Progress
Changed in python2.4:
assignee: nobody → doko
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Martin Pitt (pitti) wrote :

 apport (0.31) feisty; urgency=low
 .
   * Move scripts to bin/ in source package.
   * Add apport/python_hook.py: Default exception handler for Python, to create
     apport reports for unhandled exceptions. Thanks to Robert Collins
     <email address hidden> for this! Closes: LP#70957
   * Add new package python-apport to ship the new Python package 'apport'.
     This includes the python crash hook for now, but in the near future
     apport-utils will get redesigned and put into this package, too.
   * debian/control: apport now depends on python-apport instead of
     python-apport-utils.
   * apport_utils.py: Quiesce gdb error messages in test suite.

Changed in apport:
status: In Progress → Fix Released
Matt Zimmerman (mdz) wrote :

Targeted for Herd 2, please upload soon

Matthias Klose (doko) wrote :

fixed in 2.4.4-1ubuntu2

Changed in python2.4:
status: Confirmed → Fix Released
Matthias Klose (doko) wrote :

fixed in 2.5-5ubuntu1

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

Other bug subscribers