Comment 0 for bug 1046990

Revision history for this message
Steve Magoun (smagoun) wrote :

trash-cli crashed when I tried to provide a range of files to delete rather than a single file

To reproduce:
1) Run 'restore-trash'
2) At the input prompt, enter a range like '1-2'

Expected results:
trash-cli complains that the input is invalid; there is no stack dump

Actual results:
Stack dump

[Ideally a range would be valid input!]

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: trash-cli 0.12.7-1
ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.5.1-0ubuntu4
Architecture: amd64
Date: Thu Sep 6 14:15:54 2012
ExecutablePath: /usr/bin/restore-trash
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/restore-trash
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/restore-trash']
SourcePackage: trash-cli
Title: restore-trash crashed with ValueError in run(): invalid literal for int() with base 10: '536-540'
UpgradeStatus: Upgraded to quantal on 2012-08-07 (30 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare