From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54578 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: Invalid Data on Line 1 - Please Help! Date: Thu, 30 Oct 2003 12:54:21 -0600 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <76r80yg02a.fsf@newjersey.ppllc.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067540098 1027 80.91.224.253 (30 Oct 2003 18:54:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 18:54:58 +0000 (UTC) Original-X-From: ding-owner+M3119@lists.math.uh.edu Thu Oct 30 19:54:56 2003 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 1AFHwe-0001BV-00 for ; Thu, 30 Oct 2003 19:54:56 +0100 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 1AFHwH-0002Dv-00; Thu, 30 Oct 2003 12:54:33 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AFHw9-0002DH-00 for ding@lists.math.uh.edu; Thu, 30 Oct 2003 12:54:25 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id B34823A0073 for ; Thu, 30 Oct 2003 12:54:24 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AFHw8-0006Zx-00 for ; Thu, 30 Oct 2003 19:54:24 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 52 Original-NNTP-Posting-Host: dialup-216-12-206-230.ev1.net Original-X-Trace: quimby.gnus.org 1067540064 25292 216.12.206.230 (30 Oct 2003 18:54:24 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 30 Oct 2003 18:54:24 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:N1HV8yunpb6FCMmHISK8fpwKucQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54578 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54578 Jake Colman writes: > I've posted this before and have not gotton back anything useful Someone > suggested using toggle-debug-on-error but this is not considered an elisp > error. It is just an error printed by gnus. > > This is not making any sense to me! Everything used to work fine for years. > Now it's crapping out quite regularly. How can I trace down what's going on? > Maybe I have corruption somwhere? How can I find it? Jake, Here's what I'd like you to do. 1) Eval (c-h v) load-path to see the list of directories from which libraries are loaded. Look for the gnus directory. 2) Edit the gnus-util.el file in that directory. Look for the gnus-parse-without-error macro. Insert (debug) as I've shown below. (defmacro gnus-parse-without-error (&rest body) "Allow continuing onto the next line even if an error occurs." `(while (not (eobp)) (condition-case () (progn ,@body (goto-char (point-max))) (error (debug) (gnus-error 4 "Invalid data on line %d" (count-lines (point-min) (point))) (forward-line 1))))) 4) Do M-x load-library gnus-util.el M-x load-library nnagent.el M-x load-library gnus-sum.el 4) Start gnus as usual. 5) Proceed until you get thrown into the debugger. 6) While in the debugger, eval (current-buffer). If that buffer isn't visible, select it so that you can see what is wrong with line 1. 7) Exit gnus, edit the broken file to fix line 1, then start gnus to see if you're OK. I'd appreciate it if you'd post which file had the invalid line and also the invalid line itself. Gnus may not be able to avoid the error but it should, if at all possible, handle it with more grace. Kevin