From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63285 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Crash on startup with recent gnus-agent.el patch Date: Tue, 30 May 2006 11:01:11 +0200 Message-ID: <87r72bkht4.fsf@latte.josefsson.org> References: <87veroj5pj.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 1148979752 26267 80.91.229.2 (30 May 2006 09:02:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 May 2006 09:02:32 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m11812@lists.math.uh.edu Tue May 30 11:02:28 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 1Fl07E-0006Zd-Qo for ding-account@gmane.org; Tue, 30 May 2006 11:02: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 1Fl079-00082F-00; Tue, 30 May 2006 04:02:11 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Fl06X-000829-00 for ding@lists.math.uh.edu; Tue, 30 May 2006 04:01:33 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1Fl06U-0003WC-La for ding@lists.math.uh.edu; Tue, 30 May 2006 04:01:33 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Fl06P-00062I-00 for ; Tue, 30 May 2006 11:01:25 +0200 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4U91BCm018086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 May 2006 11:01:17 +0200 Original-To: Katsumi Yamaoka OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:060530:ding@gnus.org::Wi53ukKIsb2RYTaZ:6cY9 X-Hashcash: 1:22:060530:yamaoka@jpl.org::ezPkyh2zJWauJtaX:JYmU In-Reply-To: (Katsumi Yamaoka's message of "Tue, 30 May 2006 17:34:38 +0900") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63285 Archived-At: Katsumi Yamaoka writes: >>>>>> In <87veroj5pj.fsf@latte.josefsson.org> Simon Josefsson wrote: > >> These changes: > >> 2006-05-30 Katsumi Yamaoka > >> * gnus-agent.el (directory-files-and-attributes): Move forward. > >> 2006-05-29 Kevin Greiner > >> * gnus-agent.el (Added gnus-agent-flush*) to purge agent info. >> (gnus-agent-read-agentview): Fixed handling of end-of-file error. >> (gnus-agent-read-local): All symbols allocated in my-obarray >> (gnus-agent-set-local): Skip invalid entries (min and/or max is nil). >> (gnus-agent-regenerate-group): Check numeric names to see if they are >> messages or groups. >> (gnus-agent-total-fetched-for): Ignore 'dummy.group' (there should be a >> better way of do this...) > >> appear to cause problems for me when I start Gnus, I get the backtrace >> below. If I revert to 7.57 of gnus-agent.el, it works. > >> Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "/home/jas/News/agent/nntp/news.gmane.org/gmane.ietf.techspec") > > 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 didn't look at the code changes, so I don't know what it does, nor what is intended... > I got a similar error and reported it in this list[1] a moment > ago together with a way to reproduce that error. 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.