From unknown Mon Aug 18 04:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13481: gnus-group-compact-group uncaught delete-file error Resent-From: Keith Waclena Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bugs@gnus.org Resent-Date: Thu, 17 Jan 2013 22:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13481 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: To: 13481@debbugs.gnu.org X-Debbugs-Original-To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Reply-To: keith@lib.uchicago.edu Received: via spool by submit@debbugs.gnu.org id=B.135846102619851 (code B ref -1); Thu, 17 Jan 2013 22:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2013 22:17:06 +0000 Received: from localhost ([127.0.0.1]:37451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tvxlh-0005A8-Hv for submit@debbugs.gnu.org; Thu, 17 Jan 2013 17:17:05 -0500 Received: from jfcl.lib.uchicago.edu ([128.135.53.49]:36272) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tvxku-00058X-1C for submit@debbugs.gnu.org; Thu, 17 Jan 2013 17:16:17 -0500 Received: from keith by jfcl.lib.uchicago.edu with local (Exim 4.80.1) (envelope-from ) id 1TvxkC-0000j7-Jf for submit@debbugs.gnu.org; Thu, 17 Jan 2013 16:15:32 -0600 From: Keith Waclena User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Date: Thu, 17 Jan 2013 16:15:32 -0600 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.8 (/) X-Mailman-Approved-At: Thu, 17 Jan 2013 17:17:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) --=-=-= Content-Type: text/plain 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! --=-=-= Content-Type: text/plain Content-Disposition: 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 . --=-=-=-- From unknown Mon Aug 18 04:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13481: gnus-group-compact-group uncaught delete-file error Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bugs@gnus.org Resent-Date: Sat, 06 Jul 2013 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13481 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: To: Keith Waclena Cc: 13481@debbugs.gnu.org Received: via spool by 13481-submit@debbugs.gnu.org id=B13481.137313099710028 (code B ref 13481); Sat, 06 Jul 2013 17:17:02 +0000 Received: (at 13481) by debbugs.gnu.org; 6 Jul 2013 17:16:37 +0000 Received: from localhost ([127.0.0.1]:34986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvW68-0002bf-Ek for submit@debbugs.gnu.org; Sat, 06 Jul 2013 13:16:37 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:49980) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvW65-0002bW-W0 for 13481@debbugs.gnu.org; Sat, 06 Jul 2013 13:16:34 -0400 Received: from 46.157.223.218.tmi.telenormobil.no ([46.157.223.218] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UvW5u-0003ED-G0; Sat, 06 Jul 2013 19:16:22 +0200 From: Lars Ingebrigtsen References: Date: Sat, 06 Jul 2013 19:16:10 +0200 In-Reply-To: (Keith Waclena's message of "Thu, 17 Jan 2013 16:15:32 -0600") Message-ID: <87k3l3obhh.fsf@building.gnus.org> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1UvW5u-0003ED-G0 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1373735783.02746@/+jTF4FzxNbtjt3+Yr1vvw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Keith Waclena 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/ From unknown Mon Aug 18 04:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13481: gnus-group-compact-group uncaught delete-file error Resent-From: Keith Waclena Original-Sender: "Debbugs-submit" Resent-CC: bugs@gnus.org Resent-Date: Sun, 07 Jul 2013 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13481 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 13481@debbugs.gnu.org Reply-To: keith@lib.uchicago.edu Received: via spool by 13481-submit@debbugs.gnu.org id=B13481.13732330814481 (code B ref 13481); Sun, 07 Jul 2013 21:39:02 +0000 Received: (at 13481) by debbugs.gnu.org; 7 Jul 2013 21:38:01 +0000 Received: from localhost ([127.0.0.1]:37835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uvweb-0001A3-DT for submit@debbugs.gnu.org; Sun, 07 Jul 2013 17:38:01 -0400 Received: from jfcl.lib.uchicago.edu ([128.135.53.49]:37513) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvweV-00019p-68 for 13481@debbugs.gnu.org; Sun, 07 Jul 2013 17:37:55 -0400 Received: from keith by jfcl.lib.uchicago.edu with local (Exim 4.80.1) (envelope-from ) id 1UvweT-0003nK-61; Sun, 07 Jul 2013 16:37:49 -0500 From: Keith Waclena In-Reply-To: <87k3l3obhh.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sat, 06 Jul 2013 19:16:10 +0200") References: <87k3l3obhh.fsf@building.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Date: Sun, 07 Jul 2013 16:37:49 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Lars Ingebrigtsen writes: > Keith Waclena 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) From unknown Mon Aug 18 04:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13481: gnus-group-compact-group uncaught delete-file error Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bugs@gnus.org Resent-Date: Mon, 08 Jul 2013 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13481 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: To: Keith Waclena Cc: 13481@debbugs.gnu.org Received: via spool by 13481-submit@debbugs.gnu.org id=B13481.137329548218649 (code B ref 13481); Mon, 08 Jul 2013 14:59:01 +0000 Received: (at 13481) by debbugs.gnu.org; 8 Jul 2013 14:58:02 +0000 Received: from localhost ([127.0.0.1]:39522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwCt6-0004qQ-OG for submit@debbugs.gnu.org; Mon, 08 Jul 2013 10:58:01 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:49458) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwCt3-0004q4-Lb for 13481@debbugs.gnu.org; Mon, 08 Jul 2013 10:57:58 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UwCsq-0003P8-UU; Mon, 08 Jul 2013 16:57:44 +0200 From: Lars Magne Ingebrigtsen References: <87k3l3obhh.fsf@building.gnus.org> X-Now-Playing: Electronic Eye's _Closed Circuit (1)_: "Electronic Sight" X-Hashcash: 1:23:130708:13481@debbugs.gnu.org::X6KUOj44gmU4zhI0:0000000000000000000000000000000000000000XKlR X-Hashcash: 1:23:130708:keith@lib.uchicago.edu::5oB2E9Ln2SGaUZvq:000000000000000000000000000000000000000sdlk Date: Mon, 08 Jul 2013 16:57:44 +0200 In-Reply-To: (Keith Waclena's message of "Sun, 07 Jul 2013 16:37:49 -0500") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1UwCsq-0003P8-UU X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1373900266.1068@lu1WMKTV0ABsU5l6ETVrfA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Keith Waclena 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/ From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 10:58:03 2013 Received: (at control) by debbugs.gnu.org; 8 Jul 2013 14:58:03 +0000 Received: from localhost ([127.0.0.1]:39524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwCt8-0004qk-Ii for submit@debbugs.gnu.org; Mon, 08 Jul 2013 10:58:02 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:49460) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwCt4-0004q8-Gv for control@debbugs.gnu.org; Mon, 08 Jul 2013 10:57:58 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UwCst-0003PJ-6A for control@debbugs.gnu.org; Mon, 08 Jul 2013 16:57:47 +0200 Date: Mon, 08 Jul 2013 16:57:46 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #13481 X-MailScanner-ID: 1UwCst-0003PJ-6A X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1373900267.64282@U9uGr59Zgmut308c08MKTA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 13481 fixed close 13481 24.4 From unknown Mon Aug 18 04:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13481: gnus-group-compact-group uncaught delete-file error Resent-From: Keith Waclena Original-Sender: "Debbugs-submit" Resent-CC: bugs@gnus.org Resent-Date: Mon, 08 Jul 2013 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13481 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: fixed To: Lars Magne Ingebrigtsen Cc: 13481@debbugs.gnu.org Reply-To: keith@lib.uchicago.edu Received: via spool by 13481-submit@debbugs.gnu.org id=B13481.137329593723362 (code B ref 13481); Mon, 08 Jul 2013 15:06:02 +0000 Received: (at 13481) by debbugs.gnu.org; 8 Jul 2013 15:05:37 +0000 Received: from localhost ([127.0.0.1]:39557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwD0S-00064j-Us for submit@debbugs.gnu.org; Mon, 08 Jul 2013 11:05:37 -0400 Received: from jfcl.lib.uchicago.edu ([128.135.53.49]:37611) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwD0O-00064Y-9F for 13481@debbugs.gnu.org; Mon, 08 Jul 2013 11:05:35 -0400 Received: from keith by jfcl.lib.uchicago.edu with local (Exim 4.80.1) (envelope-from ) id 1UwD0N-0000kn-IA; Mon, 08 Jul 2013 10:05:31 -0500 From: Keith Waclena In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 08 Jul 2013 16:57:44 +0200") References: <87k3l3obhh.fsf@building.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Date: Mon, 08 Jul 2013 10:05:31 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Lars Magne Ingebrigtsen writes: > Keith Waclena 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!