From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63283 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Crash on startup with recent gnus-agent.el patch Date: Tue, 30 May 2006 10:07:52 +0200 Message-ID: <87veroj5pj.fsf@latte.josefsson.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148976966 16984 80.91.229.2 (30 May 2006 08:16:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 May 2006 08:16:06 +0000 (UTC) Original-X-From: ding-owner+m11810@lists.math.uh.edu Tue May 30 10:16:05 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 1FkzOU-0008W0-Sv for ding-account@gmane.org; Tue, 30 May 2006 10:16:03 +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 1FkzOP-0007tR-00; Tue, 30 May 2006 03:15:57 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FkzH1-0007sw-00 for ding@lists.math.uh.edu; Tue, 30 May 2006 03:08:19 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FkzGw-0003EZ-RA for ding@lists.math.uh.edu; Tue, 30 May 2006 03:08:19 -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 1FkzGv-0005GH-00 for ; Tue, 30 May 2006 10:08:13 +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 k4U87r3a013656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 30 May 2006 10:07:54 +0200 X-Hashcash: 1:22:060530:ding@gnus.org::81Yh4bExKKy/kCeo:DBqy Original-To: ding@gnus.org OpenPGP: id=B565716F; url=http://josefsson.org/key.txt 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-MIME-Autoconverted: from 8bit to quoted-printable by yxa.extundo.com id k4U87r3a013656 X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63283 Archived-At: 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.techspe= c") directory-files-and-attributes("/home/jas/News/agent/nntp/news.gmane.org/= gmane.ietf.techspec" nil "^[0-9]+$" t) (let* (alist (file-attributes ...)) (while file-attributes (let* ... ...)= ) alist) (condition-case nil (progn (nnheader-insert-file-contents file) (goto-cha= r ...) (let ... ... ... alist)) ((end-of-file file-error) (let* ... ... ali= st))) (save-current-buffer (set-buffer temp-buffer) (condition-case nil (progn = ... ... ...) (... ...))) (with-current-buffer temp-buffer (condition-case nil (progn ... ... ...) = (... ...))) (unwind-protect (with-current-buffer temp-buffer (condition-case nil ... = ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (let ((temp-buffer ...)) (unwind-protect (with-current-buffer temp-buffer= ...) (and ... ...))) (with-temp-buffer (condition-case nil (progn ... ... ...) (... ...))) gnus-agent-read-agentview("/home/jas/News/agent/nntp/news.gmane.org/gmane= .ietf.techspec/.agentview") gnus-cache-file-contents("/home/jas/News/agent/nntp/news.gmane.org/gmane.= ietf.techspec/.agentview" gnus-agent-file-loading-cache gnus-agent-read-age= ntview) (setq gnus-agent-article-alist (gnus-cache-file-contents (gnus-agent-arti= cle-name ".agentview" group) (quote gnus-agent-file-loading-cache) (quote g= nus-agent-read-agentview))) (let ((gnus-agent-read-agentview group)) (setq gnus-agent-article-alist (= gnus-cache-file-contents ... ... ...))) gnus-agent-load-alist("nntp+news.gmane.org:gmane.ietf.techspec") (let* ((gnus-agent-article-alist gnus-agent-article-alist) (gnus-agent-fi= le-loading-cache gnus-agent-file-loading-cache) (alist ...)) (when alist (s= etq minmax ...) (gnus-agent-set-local group ... ... gmane gnus-command-meth= od local))) (if minmax nil (let* (... ... ...) (when alist ... ...))) (unless minmax (let* (... ... ...) (when alist ... ...))) (let* ((gmane ...) (gnus-command-method ...) (local ...) (symb ...) (minm= ax ...)) (unless minmax (let* ... ...)) minmax) gnus-agent-get-local("nntp+news.gmane.org:gmane.ietf.techspec") (let* ((local ...) (active-min ...) (active-max ...) (agent-min ...) (age= nt-max ...)) (when (< agent-min active-min) (setcar active agent-min)) (whe= n (> agent-max active-max) (setcdr active agent-max)) (when (and info ...) = (let ... ...) (gnus-agent-set-local group agent-min ...))) (progn (let* (... ... ... ... ...) (when ... ...) (when ... ...) (when ..= . ... ...))) (if (gnus-agent-method-p gnus-command-method) (progn (let* ... ... ... ..= .))) (when (gnus-agent-method-p gnus-command-method) (let* (... ... ... ... ..= .) (when ... ...) (when ... ...) (when ... ... ...))) (let* ((gnus-command-method ...)) (when (gnus-agent-method-p gnus-command= -method) (let* ... ... ... ...))) gnus-agent-possibly-alter-active("nntp+news.gmane.org:gmane.ietf.techspec= " (1 . 236) ("nntp+news.gmane.org:gmane.ietf.techspec" 3 ((1 . 236)) ((seen= ... ... ... 222 225 228 230 232 ...)) "nntp:news.gmane.org")) gnus-get-unread-articles(nil) gnus-setup-news(nil nil nil) byte-code("=08=0E =0E=C3=83 =C2=82Q=C3=83=C3=83!=EF=BF=BD\n!\f=1E=0D!=C3= =83 =0E=C2=83+=C3=83=C3=83=C3=83\"=EF=BF=BD=C3=83=C3=83\"=EF=BF=BD=C3=83=0E= =08#=EF=BF=BD=C3=83!=EF=BF=BD =EF=BF=BD=1B!=EF=BF=BD =EF=BF=BD=C3=83!=EF=BF= =BD =EF=BF=BD=C3=83!=EF=BF=BD" [dont-connect did-connect gnus-startup-file = gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit = gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-fi= le gnus-request-create-group "queue" (nndraft "") "drafts" (nndraft "") gnu= s-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-lis= t-groups gnus-group-first-unread-group gnus-configure-windows group gnus-gr= oup-set-mode-line gnus-started-hook gnus-agent level] 4) gnus-1(nil nil nil) gnus(nil) call-interactively(gnus) execute-extended-command(nil) call-interactively(execute-extended-command)