support apport reporting for python programs

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

Bug Description

Apply the patch :)

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :
Revision history for this message
Robert Collins (lifeless) wrote : updated patch

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)
Changed in python2.5:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Robert Collins (lifeless) wrote : and the apport support patch

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

Revision history for this message
Robert Collins (lifeless) wrote : /var/crash permission changing patch

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

Revision history for this message
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 ?

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Matt Zimmerman (mdz) wrote :

Targeted for Herd 2, please upload soon

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 2.4.4-1ubuntu2

Changed in python2.4:
status: Confirmed → Fix Released
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.