trash-empty crashed with GetoptError in short_has_arg(): option -2 not recognized

Bug #1015877 reported by Sparhawk
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trash-cli (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

trash-empty crashes if you feed it unrecognised options. e.g. "$ trash-empty -2" rather than "$ trash-empty 2".

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: trash-cli 0.11.3~git20120324.fb57a8e-1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jun 21 13:46:26 2012
ExecutablePath: /usr/bin/trash-empty
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/trash-empty -2
PythonArgs: ['/usr/bin/trash-empty', '-2']
SourcePackage: trash-cli
Title: trash-empty crashed with GetoptError in short_has_arg(): option -2 not recognized
UpgradeStatus: Upgraded to precise on 2012-04-29 (52 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Sparhawk (sparhawkthesecond) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andrea Francia (andrea-francia) wrote :
Changed in trash-cli (Ubuntu):
status: New → Confirmed
Revision history for this message
Sparhawk (sparhawkthesecond) wrote :

Cheers. That was the quickest bugfix ever!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package trash-cli - 0.12.6-1

---------------
trash-cli (0.12.6-1) unstable; urgency=low

  * New upstream release (Closes: #677663, LP: #1015877)
  * debian/copyright: removed LGPL license (file removed upstream)
  * debian/watch: fixed missing char for github
  * removed fix_man_path.diff and fix_modules_in_setup.diff patches
    (applied upstream)
  * add trash-cli.links file to provide manpages for all binaries

 -- Stefano Karapetsas <email address hidden> Thu, 21 Jun 2012 14:25:29 +0200

Changed in trash-cli (Ubuntu):
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.