autotrash crashed with NameError in on_remove_error(): global name 'execinfo' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autotrash (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: autotrash
I installed the autotrash package and ran the command 'autotrash -d 30' with about 4 GB of files in my Trash folder. autotrash crashed with this traceback:
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
purge(
File "/usr/bin/
shutil.
File "/usr/lib/
rmtree(
File "/usr/lib/
rmtree(
File "/usr/lib/
onerror(
File "/usr/bin/
if execinfo[0] == errno.EPERM:
NameError: global name 'execinfo' is not defined
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: autotrash 0.1.4-1
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri Apr 15 09:45:12 2011
ExecutablePath: /usr/bin/autotrash
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/autotrash -d 30
ProcEnviron:
SHELL=bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
PythonArgs: ['/usr/
SourcePackage: autotrash
Title: autotrash crashed with NameError in on_remove_error(): global name 'execinfo' is not defined
UpgradeStatus: Upgraded to natty on 2011-04-13 (1 days ago)
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin mail netdev plugdev powerdev sambashare scanner video
Upstream has a fix: /github. com/bneijt/ autotrash/ pull/1
https:/
This is a typo in the autotrash script, version 0.1.5 is the first release to fix this.