Gnus development mailing list
 help / color / mirror / Atom feed
* nnoo bug - unable to open secondary nntp server when offline
@ 2003-01-08  5:04 kgreiner
  2003-01-11 20:09 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: kgreiner @ 2003-01-08  5:04 UTC (permalink / raw)


I currently have three nntp servers agentized.  When I'm online, I can
open groups on any server, fetch articles into the agent, etc.

When I'm offline, I can open any group on the primary server.  When I
try to open a group on a secondary server, I get a directory not found
error.  I've traced the problem to the backend configuration but I'm
now stuck.

The problem appears to be that nnoo-state-alist doesn't have the
correct value for nnagent-directory on the secondary servers.  I've
included a portion of nnoo-state-alist to demonstrate.

 (nnagent "nntp+news.gnus.org"
          ("*internal-non-initialized-backend*"
           (nnagent-directory . nnagent-directory)
           (nnagent-active-file . nnagent-active-file)
           (nnagent-newsgroups-file . nnagent-newsgroups-file)
           (nnagent-get-new-mail . nnagent-get-new-mail))
          ("nntp+news.randori.com"
           (nnagent-directory . 
"~/News/agent/nntp/news.randori.com/")
           (nnagent-active-file . 
"~/News/agent/nntp/news.randori.com/agent.lib/active")
           (nnagent-newsgroups-file . 
"~/News/agent/nntp/news.randori.com/agent.lib/newsgroups")
           (nnagent-get-new-mail))
          ("nntp+news.ev1.net"
           (nnagent-directory . "~/Mail/")
           (nnagent-active-file . "~/Mail/active")
           (nnagent-newsgroups-file . "~/Mail/newsgroups")
           (nnagent-get-new-mail . t)))

My primary server is news.randori.com.  It's nnagent-directory is
set correctly so I can view the agentized contents of this server.
One of my secondary servers is news.ev1.net.  I can't open its
groups because nnagent-directory is set to the nnml default
"~/Mail/".

I've traced the execution through nnagent-open-server.  I know that
it is calling nnoo-change-server with the correct nnagent-directory.
For some reason, that def is ignored when updating nnoo-state-alist.

Any ideas?  
Kevin



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-01-14  5:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08  5:04 nnoo bug - unable to open secondary nntp server when offline kgreiner
2003-01-11 20:09 ` Lars Magne Ingebrigtsen
2003-01-12  5:13   ` kgreiner
2003-01-12 10:49     ` Lars Magne Ingebrigtsen
2003-01-13  4:09       ` kgreiner
2003-01-13 18:25         ` Lars Magne Ingebrigtsen
2003-01-13 20:59           ` kgreiner
2003-01-13 21:02             ` Lars Magne Ingebrigtsen
2003-01-13 21:10               ` kgreiner
2003-01-14  5:53                 ` kgreiner
2003-01-12  5:17   ` kgreiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).