apport-retrace should indicate that -s and -o don't work together

Bug #1352450 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

If you use apport-retrace with the -s switch (Write the new stack traces to stdout instead of putting them back into the report) with the -o switch (Write modified report to given file instead of changing the original report) the -s switch will take precedence and the modified report will not be created. If you don't know this it can be quite confusing as you'll end up looking for the report you passed with the -o option and wonder where it went.

Either apport-retrace should warn you that -s takes precedence or it should write to stdout and the given file.

Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r2833.

affects: apport → apport (Ubuntu)
Changed in apport (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.14.6-0ubuntu1

---------------
apport (2.14.6-0ubuntu1) utopic; urgency=medium

  * New upstream bug fix release:
    - general-hooks/generic.py: Fix hook crash if there are non-distro
      libraries and no user interface.
    - collect_info(): Don't assume that reports have a ProblemType. Fixes
      crashes with apport-collect. (LP: #1325729)
    - apport-retrace: Declare -s/-g/-o as mutually exclusive, to get proper
      error messages instead of silent misbehaviour. (LP: #1352450)
    - apport-gtk: Drop usage of deprecated GTK stock items. (LP: #1348116)
 -- Martin Pitt <email address hidden> Mon, 18 Aug 2014 07:57:16 +0200

Changed in apport (Ubuntu):
status: Fix Committed → 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.