apport-retrace - typo on error message

Bug #91680 reported by C de-Avillez
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Binary package hint: apport-retrace

hggdh@xango:/var/crash$ apport-retrace bogus
ERROR: bogus is neither an existing report file nor a Launchpad bug numer
hggdh@xango:/var/crash$

last word on message should be 'number'.

Additionally I think the bad parameter should be enclosed in quotes to ease on understanding.

Tentative patch follows:

--- bin/apport-retrace 2007-03-12 05:06:58.000000000 -0500
+++ new-bin/apport-retrace 2007-03-12 10:39:23.000000000 -0500
@@ -343,8 +343,8 @@
     lpbug = reportfile
     reportfile = None
 else:
- print >> sys.stderr, 'ERROR: %s is neither an existing report file nor a \
-Launchpad bug numer' % reportfile
+ print >> sys.stderr, 'ERROR: \'%s\' is neither an existing report file nor a \
+Launchpad bug number ' % reportfile
     sys.exit(1)

 if options.core_file:

Revision history for this message
C de-Avillez (hggdh2) wrote :

Again, I forgot... apport-retrace 0.66. Sorry.

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

Thank you!

Changed in apport:
assignee: nobody → pitti
importance: Undecided → Low
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 apport (0.67) feisty; urgency=low
 .
   * debian/local/setup-apport-retracer: Add apt sources for restricted,
     universe, and multiverse, too.
   * po/de.po: Update from Rosetta.
   * apport/report.py: Remove undefined call to error_log() in
     _command_output(), replace it with raising proper exceptions.
   * bin/apport-retrace: Fix 'numer' typo. (LP: #91680)
   * test-apport: Check that non-packaged executables generate a core dump on
     SIGABRT, too (test case for bug #92029).
   * bin/apport: Move check for ignoring SIGABRT below the core dump file
     writing for non-packaged binaries. (LP: #92029)
   * gtk/apport-gtk.glade:
     - Remove titles from the progress windows to comply with Gnome HIG and not
       repeat the text content.
     - Improve wording a bit.
     - LP: #92114
   * gtk/apport-gtk{,.glade}: Fix signal handler name of the Cancel button in
     the upload progress dialog, so that it actually works. (LP: #92115)

Changed in apport:
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.