From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67908 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss-generate-download-script wrong-type-argument Date: Mon, 15 Dec 2008 11:30:31 +0800 Message-ID: <87d4fu5d48.fsf@jidanni.org> References: <86bpvhqd24.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229311882 31661 80.91.229.12 (15 Dec 2008 03:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2008 03:31:22 +0000 (UTC) Cc: ding@gnus.org To: tzz@lifelogs.com Original-X-From: ding-owner+M16354@lists.math.uh.edu Mon Dec 15 04:32:26 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LC4C1-0001HW-E4 for ding-account@gmane.org; Mon, 15 Dec 2008 04:32:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LC4AM-0006J6-8l; Sun, 14 Dec 2008 21:30:42 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LC4AL-0006It-27 for ding@lists.math.uh.edu; Sun, 14 Dec 2008 21:30:41 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LC4AG-0002dG-U9 for ding@lists.math.uh.edu; Sun, 14 Dec 2008 21:30:40 -0600 Original-Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a2.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LC4AT-0005IF-00 for ; Mon, 15 Dec 2008 04:30:49 +0100 Original-Received: from jidanni1.jidanni.org (122-127-32-42.dynamic.hinet.net [122.127.32.42]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id E689DD26E9; Sun, 14 Dec 2008 19:30:33 -0800 (PST) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67908 Archived-At: It turns out that often, one's nnrss-server-data has accrued several junk groups that do not have exact matches in nnrss-group-alist. This will cause nnrss-generate-download-script to fail mid-sentence upon stumbling upon one. It should be more cautious, and skip over such items. Better yet, there should be a way for the user to clean out such zombies the proper way (instead of doing surgery on whatever deep dark files store them behind gnus' back.) Proof: (let ((nnrss-group-alist '( ("DreamHost Discussion Board POSTS" "http://discussion.dreamhost.com/fee= ds/all_posts.rss" "EVERY post on the DreamHost Discussion Board!") ("DreamHost Discussion Board" "http://discussion.dreamhost.com/feeds/all= _threads.rss" "All threads on the DreamHost Discussion Board!") ("=E8=A8=82=E9=96=B1=E8=8B=A6=E5=8B=9E =E6=80=A7=E5=88=A5 =E7=9A=84=E6=96= =87=E7=AB=A0" "http://www.coolloud.org.tw/tag/%E6%80%A7%E5%88%A5/feed" "=E6= =AC=A1=E9=A0=81=E9=9D=A2=E7=9A=84list - tag") ("DebCentral" "http://debcentral.org/backend.php" "The Center for all th= ings Debian based"))) (nnrss-server-data=20 '( ("=E8=A8=82=E9=96=B1=E8=8B=A6=E5=8B=9E =E6=80=A7=E5=88=A5 =E7=9A=84=E6=96= =87=E7=AB=A0" 116) ("DreamHost Discussion Board POSTS" 726) ("DreamHostDiscussion Board POSTS" 100) ;no corresponding entry. BOOM. ("DreamHost Discussion Board" 50) ("DebCentral" 25)))) (nnrss-generate-download-script)) ^X^E #!/bin/sh WGET=3Dwget RSSDIR=3D'/home/jidanni/News/rss/' $WGET -q -O "$RSSDIR"/'=E8=A8=82=E9=96=B1=E8=8B=A6=E5=8B=9E =E6=80=A7=E5=88= =A5 =E7=9A=84=E6=96=87=E7=AB=A0.xml' 'http://www.coolloud.org.tw/tag/%E6%= 80%A7%E5%88%A5/feed' $WGET -q -O "$RSSDIR"/'DreamHost Discussion Board POSTS.xml' 'http://disc= ussion.dreamhost.com/feeds/all_posts.rss' $WGET -q -O "$RSSDIR"/'DreamHostDiscussion Board POSTS.xml' '