From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49203 Path: main.gmane.org!not-for-mail From: kgreiner@xpediantsolutions.com Newsgroups: gmane.emacs.gnus.general Subject: Re: nnoo bug - unable to open secondary nntp server when offline Date: Mon, 13 Jan 2003 23:53:03 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042523606 13903 80.91.224.249 (14 Jan 2003 05:53:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2003 05:53:26 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YK0p-0003bz-00 for ; Tue, 14 Jan 2003 06:53:23 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18YK15-0006PD-00; Mon, 13 Jan 2003 23:53:39 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Jan 2003 23:54:33 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA03898 for ; Mon, 13 Jan 2003 23:54:20 -0600 (CST) Original-Received: (qmail 98903 invoked by alias); 14 Jan 2003 05:53:21 -0000 Original-Received: (qmail 98898 invoked from network); 14 Jan 2003 05:53:21 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 14 Jan 2003 05:53:21 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18YK7M-0001IC-00 for ; Tue, 14 Jan 2003 07:00:08 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 34 Original-NNTP-Posting-Host: 216.12.206.252 Original-X-Trace: quimby.gnus.org 1042524008 4971 216.12.206.252 (14 Jan 2003 06:00:08 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 14 Jan 2003 06:00:08 GMT User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:DXX6xyH8wAmOoL9dbjDavJvX1yY= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49203 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49203 kgreiner@xpediantsolutions.com writes: > Lars Magne Ingebrigtsen writes: > >>> On an offline group, I get (nntp "news.ev1.net") >>> On an online group, I get (nntp "news.gnus.org") >> >> Er -- on the same group? I think I must be misreading something, >> which isn't unlikely. :-) > > In the group buffer, I positioned point over one of my ev1 groups > (it's currently offline). I press 'G e' to display the buffer for > editing the group's select method. That buffer displayed (nntp > "news.ev1.net"). I then closed the customization buffer, moved point > to gnus.ding, then repeated the command. Found it!!! The problem was actually in gnus-open-server. It called nntp-open-server which, since my server is offline, failed to initialize the server. So gnus-open-server set the server's status to offline. The only problem was that it then forgot to call nnagent-open-server to initialize the agent backend!! This all happened within gnus-activate-group so, in the buggy version, gnus-activate-group would blindly invoke gnus-request-group on an unopened server. The result was that the nnoo data structures were corrupted. The actual fix was very simple and easily tested so I'm checking it in tonight. Kevin