From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57436 Path: main.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss: handle unavailability of rss server more gracefully? Date: Mon, 17 May 2004 22:06:10 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: schierlm@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1084825401 14307 80.91.224.253 (17 May 2004 20:23:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 20:23:21 +0000 (UTC) Original-X-From: ding-owner+M5976@lists.math.uh.edu Mon May 17 22:23:09 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPodg-00036c-00 for ; Mon, 17 May 2004 22:23:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BPodJ-0006Ip-00; Mon, 17 May 2004 15:22:45 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPodB-0006If-00 for ding@lists.math.uh.edu; Mon, 17 May 2004 15:22:37 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPod8-0004Br-Pm for ding@lists.math.uh.edu; Mon, 17 May 2004 15:22:34 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 5D6E73A020C for ; Mon, 17 May 2004 15:22:33 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BPod6-0007Is-00 for ; Mon, 17 May 2004 22:22:32 +0200 Original-Received: from d12-41.dsl.easysurfnet.de ([83.121.12.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 May 2004 22:22:32 +0200 Original-Received: from schierlm-usenet by d12-41.dsl.easysurfnet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 May 2004 22:22:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: d12-41.dsl.easysurfnet.de User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:cHTHCNBSFnGJJnDYsAuN6rncJLo= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57436 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57436 Lars Magne Ingebrigtsen writes: > Michael Schierl writes: >> to make wget fail after 10 seconds. However, this will signal an error >> and this error prevents updating the rest of the groups. > > nnrss shouldn't bug out in these situations. Could you `(setq > debug-on-error t)', repeat the bug and mail me the resulting > backtrace. Since no server is down now, I aliased one of my RSS feed's host to localhost ;) Debugger entered--Lisp error: (error "Couldn't fetch http://********.****.com/rss.aspx") signal(error ("Couldn't fetch http://********.****.com/rss.aspx")) error("Couldn't fetch %s" "http://********.****.com/rss.aspx") mm-url-insert-file-contents-external("http://********.****.com/rss.aspx") mm-url-insert-file-contents("http://********.****.com/rss.aspx") byte-code("[some garbage...]" [mm-url-timeout with-timeout-tag with-timeout-timer first mm-url-retries times run-with-timer nil with-timeout-handler message "Trying again (%s)..." mm-url-insert-file-contents re-search-forward "]*URL=\\([^\"]+\\)\"" t match-string 1 mm-url-insert follow-refresh url result done with-timeout-value] 5) mm-url-insert("http://********.****.com/rss.aspx") nnrss-fetch("http://********.****.com/rss.aspx") nnrss-check-group("******* Forums" "") nnrss-request-group("******* Forums" "" nil) gnus-activate-group("nnrss:******* Forums" scan) gnus-get-unread-articles(nil) gnus-group-get-new-news(nil) * call-interactively(gnus-group-get-new-news) HTH, Michael