GNU bug report logs - #13481
gnus-group-compact-group uncaught delete-file error

Previous Next

Package: gnus;

Reported by: keith <at> lib.uchicago.edu

Date: Thu, 17 Jan 2013 22:18:01 UTC

Severity: normal

Tags: fixed

Found in version 5.13

Fixed in version 24.4

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13481 in the body.
You can then email your comments to 13481 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#13481; Package gnus. (Thu, 17 Jan 2013 22:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to keith <at> lib.uchicago.edu:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Thu, 17 Jan 2013 22:18:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Keith Waclena <keith <at> lib.uchicago.edu>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: gnus-group-compact-group uncaught delete-file error
Date: Thu, 17 Jan 2013 16:15:32 -0600
[Message part 1 (text/plain, inline)]
I have used gnus-group-compact-group for the first time, and it blows up
when attempting to delete a file that apparently got deleted out from
under gnus:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (file-error "Removing old name" "no such file or directory" "/home/keith/Mail/spamarc/255121")
  delete-file("/home/keith/Mail/spamarc/255121")
  nnml-request-compact-group("spamarc" "localmail" t)
  gnus-request-compact-group("nnml+localmail:spamarc")
  gnus-group-compact-group("nnml+localmail:spamarc")
  call-interactively(gnus-group-compact-group nil nil)
--8<---------------cut here---------------end--------------->8---

I see that I have a new file in this group as a result of the failed
compactifization:

-rw------- 1 keith keith        0 Jan 17 11:07 1

I see that msg 255121 is indeed listed in my ~/.newsrc.eld, but it
doesn't exist on disk:

    ("nnml+localmail:spamarc" 1
                       ((1 . 395530))
                       ((seen 255121
                              (259909 . 259959)
                              (288197 . 288198)
                              (288200 . 288205)
                              349929
                              356896
                              356905
                              356928
                              356943
                              356967
                              356985
                              (359620 . 359670)
                              (360130 . 360181)
                              (360371 . 360421)
                              (360715 . 360765)
                              (360977 . 361046)
                              (361527 . 361577)
                              (361625 . 361711)
                              (361809 . 361859)
                              (363061 . 363111)
                              (363490 . 363540)
                              (363635 . 363685)
                              (364054 . 364104)
                              (364888 . 364933)
                              (364936 . 364938)
                              (365482 . 365621)
                              (365678 . 365728)
                              (365845 . 365895)
                              (365937 . 366063)
                              (366106 . 366156)
                              (366362 . 366433)
                              (366757 . 366807)
                              (367502 . 367552)
                              (367575 . 367625)
                              (367659 . 367709)
                              (369090 . 369140)
                              (371861 . 371911)
                              (373404 . 373454)
                              (374880 . 374930)
                              (375558 . 375608)
                              (376228 . 376278)
                              (376741 . 376791)
                              (376835 . 376885)
                              (377866 . 377916)
                              (377959 . 378009)
                              (378032 . 378111)
                              (379134 . 379187)
                              (379491 . 379541)
                              (379928 . 379978)
                              (380130 . 380180)
                              (380247 . 382224)
                              (382227 . 395524))
                        (download 393446 (394584 . 394587) 395056)
                        (expire 255121
                                (393458 . 393497)
                                (394313 . 394682)
                                (394684 . 395296)
                                (395298 . 395409)
                                (395411 . 395524))
                        (reply 394748))
                       "nnml:localmail"
                        ((timestamp 20727 8505) (total-expire . t) (expiry-wait . 100) (gnus-fetch-old-headers nil) (charset . iso-8859-1) (ignored-charsets chinese-big5-1 chinese-big5-2) (gnus-newsgroup-ignored-charsets chinese-big5-1 chinese-big5-2) (gnus-show-threads nil)))

I think the delete-file needs to check for an error instead of blowing
up.

Thanks for hacking gnus!

[Message part 2 (text/plain, inline)]
Gnus v5.13
GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-11-01 on jfcl
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
STARTTLS
.
382 Begin TLS negotiation now
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
.

Information forwarded to bugs <at> gnus.org:
bug#13481; Package gnus. (Sat, 06 Jul 2013 17:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 13481 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Keith Waclena <keith <at> lib.uchicago.edu>
Cc: 13481 <at> debbugs.gnu.org
Subject: Re: bug#13481: gnus-group-compact-group uncaught delete-file error
Date: Sat, 06 Jul 2013 19:16:10 +0200
Keith Waclena <keith <at> lib.uchicago.edu> writes:

> I have used gnus-group-compact-group for the first time, and it blows up
> when attempting to delete a file that apparently got deleted out from
> under gnus:
> Debugger entered--Lisp error: (file-error "Removing old name" "no such file or directory" "/home/keith/Mail/spamarc/255121")
>   delete-file("/home/keith/Mail/spamarc/255121")

[...]

> I think the delete-file needs to check for an error instead of blowing
> up.

So you have something else that deletes messages from the directory
while you're compacting?  I'm not sure whether that can be expected to
work... 

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#13481; Package gnus. (Sun, 07 Jul 2013 21:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 13481 <at> debbugs.gnu.org (full text, mbox):

From: Keith Waclena <keith <at> lib.uchicago.edu>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 13481 <at> debbugs.gnu.org
Subject: Re: bug#13481: gnus-group-compact-group uncaught delete-file error
Date: Sun, 07 Jul 2013 16:37:49 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Keith Waclena <keith <at> lib.uchicago.edu> writes:
>
>> I have used gnus-group-compact-group for the first time, and it blows up
>> when attempting to delete a file that apparently got deleted out from
>> under gnus:
>> Debugger entered--Lisp error: (file-error "Removing old name" "no such file or directory" "/home/keith/Mail/spamarc/255121")
>>   delete-file("/home/keith/Mail/spamarc/255121")
>
> [...]
>
>> I think the delete-file needs to check for an error instead of blowing
>> up.
>
> So you have something else that deletes messages from the directory
> while you're compacting?  I'm not sure whether that can be expected to
> work...

Definitely not *while* I'm compacting, but I did end up deleting some
message files via the shell without gnus's knowledge.  :-(  How
embarassing!

/k

--
Keith Waclena / Arch Linux / OCaml / M-x / ATKQJ / gc'e'a'
http://www.lib.uchicago.edu/keith/    gpg 5DA89C7DECA0D55A
n.p.: Xeno Pariah (Guided By Voices)




Information forwarded to bugs <at> gnus.org:
bug#13481; Package gnus. (Mon, 08 Jul 2013 14:59:01 GMT) Full text and rfc822 format available.

Message #14 received at 13481 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Keith Waclena <keith <at> lib.uchicago.edu>
Cc: 13481 <at> debbugs.gnu.org
Subject: Re: bug#13481: gnus-group-compact-group uncaught delete-file error
Date: Mon, 08 Jul 2013 16:57:44 +0200
Keith Waclena <keith <at> lib.uchicago.edu> writes:

> Definitely not *while* I'm compacting, but I did end up deleting some
> message files via the shell without gnus's knowledge.  :-(  How
> embarassing!

Well, that should be possible without bugging out.  I've now make the
deletions just output a warning instead of bugging out if they fail.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 08 Jul 2013 14:59:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.4, send any further explanations to 13481 <at> debbugs.gnu.org and keith <at> lib.uchicago.edu Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 08 Jul 2013 14:59:03 GMT) Full text and rfc822 format available.

Information forwarded to bugs <at> gnus.org:
bug#13481; Package gnus. (Mon, 08 Jul 2013 15:06:02 GMT) Full text and rfc822 format available.

Message #21 received at 13481 <at> debbugs.gnu.org (full text, mbox):

From: Keith Waclena <keith <at> lib.uchicago.edu>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 13481 <at> debbugs.gnu.org
Subject: Re: bug#13481: gnus-group-compact-group uncaught delete-file error
Date: Mon, 08 Jul 2013 10:05:31 -0500
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Keith Waclena <keith <at> lib.uchicago.edu> writes:
>
>> Definitely not *while* I'm compacting, but I did end up deleting some
>> message files via the shell without gnus's knowledge.  :-(  How
>> embarassing!
>
> Well, that should be possible without bugging out.  I've now make the
> deletions just output a warning instead of bugging out if they fail.

Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 06 Aug 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.