From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63289 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Crash on startup with recent gnus-agent.el patch Date: Wed, 31 May 2006 08:29:33 +0900 Organization: Emacsen advocacy group Message-ID: References: <87veroj5pj.fsf@latte.josefsson.org> <87r72bkht4.fsf@latte.josefsson.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149032121 5294 80.91.229.2 (30 May 2006 23:35:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 May 2006 23:35:21 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m11816@lists.math.uh.edu Wed May 31 01:35:18 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FlDk5-0008CW-K9 for ding-account@gmane.org; Wed, 31 May 2006 01:35:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FlDj4-0001fb-00; Tue, 30 May 2006 18:34:14 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FlDem-0001fT-00 for ding@lists.math.uh.edu; Tue, 30 May 2006 18:29:48 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FlDek-0001hh-4a for ding@lists.math.uh.edu; Tue, 30 May 2006 18:29:48 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FlDej-0001H5-00 for ; Wed, 31 May 2006 01:29:45 +0200 Original-Received: from [205.234.185.198] (port=36388 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1FlDfS-0004zs-65; Tue, 30 May 2006 18:30:30 -0500 Original-To: Kevin Greiner X-Hashcash: 1:20:060530:kevin.greiner@compsol.cc::I2u/wJR+ZS8GUkNg:00000000000000000000000000000000000007nb6 X-Hashcash: 1:20:060530:ding@gnus.org::pgmZCwEtbg6QcyV/:00003ubw X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ScalNTiZm6KkmKPrYm64Fb6UjAM= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63289 Archived-At: Kevin, could you please fix this problem in a proper way? >>>>> In <87r72bkht4.fsf@latte.josefsson.org> Simon Josefsson wrote: > Katsumi Yamaoka writes: >> The gmane.ietf.techspec group was created recently, wasn't it? > No, not really, the group didn't exist in the local Agent cache. Not > all groups will exist locally, so code cannot assume they can access > the agent cache for all groups (or it should create the directory when > it needs it). I see. >> A workaround I tried is to remove an entry of the group in question >> from the ~/.newsrc.eld file. > It happened to a lot of groups for me, so it isn't a good workaround. > Reverting to 7.57 solves it though. Here's another workaround, which should do the trick even if there're a lot of such groups. (defadvice gnus-cache-file-contents (around check-file-existence activate) "Do nothing unless FILE exists." (when (file-exists-p (ad-get-arg 0)) ad-do-it))