GNU bug report logs -
#12524
24.2.50; package-delete errors if directory doesn't exist
Previous Next
Reported by: Ivan Andrus <darthandrus <at> gmail.com>
Date: Wed, 26 Sep 2012 20:21:01 UTC
Severity: normal
Found in version 24.2.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 12524 <at> debbugs.gnu.org (full text, mbox):
On Sep 27, 2012, at 5:22 AM, Chong Yidong wrote:
> Ivan Andrus <darthandrus <at> gmail.com> writes:
>
>> If a directory for a package does not exist (say it was deleted outside
>> of emacs), then package-delete errors, which causes further packages to
>> not be deleted.
>
> This patch doesn't look right. The call to package-delete in
> package-menu-execute is wrapped in a condition-case-unless-debug, so
> errors in package-delete should still allow further packages to be
> deleted, unless debug-on-error is non-nil.
It appears you are right. I kept seeing "byte-code: Wrong type argument: stringp, stringp" which made me nervous. At least sometimes I thought I had non-deleted packages hanging around, but that may have been due to debug-on-error. I tend to turn it on and forget to turn it off.
Thanks, and sorry for the noise.
-Ivan
This bug report was last modified 12 years and 325 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.