Gnus development mailing list
 help / color / mirror / Atom feed
* Duplicate server entries
@ 2003-06-14 14:52 Nevin Kapur
  2003-06-15  8:29 ` Eric Knauel
  0 siblings, 1 reply; 4+ messages in thread
From: Nevin Kapur @ 2003-06-14 14:52 UTC (permalink / raw)


I've seen this a few times now.  My *Server* buffer looks like this
currently:

     {nnfolder:archive} (opened)
     {nnimap:jesse} (opened) (agent)

[...]

     {nnimap:jesse} (opened) (agent)

Why are there two entries for the nnimap server?  I can almost act
independently on these two.  It seems like one can offline while the
other online, which seems to confuse Gnus.

-Nevin




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

* Re: Duplicate server entries
  2003-06-14 14:52 Duplicate server entries Nevin Kapur
@ 2003-06-15  8:29 ` Eric Knauel
  2003-10-17 23:53   ` Lars Magne Ingebrigtsen
  2003-10-20  6:43   ` Kevin Greiner
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Knauel @ 2003-06-15  8:29 UTC (permalink / raw)



Nevin Kapur <kapur@mts.jhu.edu> writes:

> I've seen this a few times now.  My *Server* buffer looks like this
> currently:
>
>      {nnfolder:archive} (opened)
>      {nnimap:jesse} (opened) (agent)
>
> [...]
>
>      {nnimap:jesse} (opened) (agent)
>
> Why are there two entries for the nnimap server?  I can almost act
> independently on these two.  It seems like one can offline while the
> other online, which seems to confuse Gnus.

I see the same problem.  Only agentized servers seem to get
duplicated.  Here's how I can reproduce this: start gnus-unplugged, `J
j' and `J s' and then open the server buffer.  My guess is, that
somehow Gnus-agent gets confused while opening servers:

Right after start in unplugged mode:

,----
| (cl-prettyprint gnus-opened-servers)
| 
| (((nnfolder "fp03"
| 	    (nnfolder-directory "~/Lehre/fp-03-uebungen/abgaben")
| 	    (nnfolder-active-file "~/Lehre/fp-03-uebungen/abgaben/active")
| 	    (nnfolder-get-new-mail nil))
|   ok)
|  ((nnfolder "spam"
| 	    (nnfolder-directory "~/more-mail/spam")
| 	    (nnfolder-active-file "~/more-mail/spam/active")
| 	    (nnfolder-get-new-mail nil))
|   ok)
|  ((nnfolder "archive"
| 	    (nnfolder-directory "~/Mail/archive")
| 	    (nnfolder-active-file "~/Mail/archive/active")
| 	    (nnfolder-get-new-mail nil)
| 	    (nnfolder-inhibit-expiry t))
|   ok)
|  ((nnimap "webmail.macnews.de"
| 	  (nnimap-address "localhost")
| 	  (nnimap-server-port 5002)
| 	  (nnimap-list-pattern ("INBOX" "Junk"
| 				"misc*"
| 				"macnews/*"
| 				"archive/*"))
| 	  (nnimap-stream ssl))
|   ok)
|  ((nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001))
|   ok)
|  ((nnfolder "")
|   ok)
|  ((nnml "")
|   ok)
|  ((nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000))
|   ok))nil
`----

The servers nntp:news.gmane.org, nntp:news.cis.dfn.de and
nnimap:webmail.macnews.de are covered by Gnus-Agent.

Now, `J j' and `J s' to fetch mail and news, and after that:

,----
| (cl-prettyprint gnus-opened-servers)
| 
| (((nntp "news.gmane.org")
|   ok)
|  ((nntp "news.cis.dfn.de")
|   ok)
|  ((nnfolder "fp03"
| 	    (nnfolder-directory "~/Lehre/fp-03-uebungen/abgaben")
| 	    (nnfolder-active-file "~/Lehre/fp-03-uebungen/abgaben/active")
| 	    (nnfolder-get-new-mail nil))
|   ok)
|  ((nnfolder "spam"
| 	    (nnfolder-directory "~/more-mail/spam")
| 	    (nnfolder-active-file "~/more-mail/spam/active")
| 	    (nnfolder-get-new-mail nil))
|   ok)
|  ((nnfolder "archive"
| 	    (nnfolder-directory "~/Mail/archive")
| 	    (nnfolder-active-file "~/Mail/archive/active")
| 	    (nnfolder-get-new-mail nil)
| 	    (nnfolder-inhibit-expiry t))
|   ok)
|  ((nnimap "webmail.macnews.de"
| 	  (nnimap-address "localhost")
| 	  (nnimap-server-port 5002)
| 	  (nnimap-list-pattern ("INBOX" "Junk"
| 				"misc*"
| 				"macnews/*"
| 				"archive/*"))
| 	  (nnimap-stream ssl))
|   ok)
|  ((nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001))
|   ok)
|  ((nnfolder "")
|   ok)
|  ((nnml "")
|   ok)
|  ((nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000))
|   ok))nil
`----

This is my server setup:

,----
| gnus-select-method
| (nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000))
| 
| (cl-prettyprint gnus-secondary-select-methods)
| 
| ((nnml "")
|  (nnfolder "")
|  (nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001))
|  (nnimap "webmail.macnews.de"
| 	 (nnimap-address "localhost")
| 	 (nnimap-server-port 5002)
| 	 (nnimap-list-pattern ("INBOX" "Junk"
| 			       "misc*"
| 			       "macnews/*"
| 			       "archive/*"))
| 	 (nnimap-stream ssl)))nil
`----

-Eric
-- 
"Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)




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

* Re: Duplicate server entries
  2003-06-15  8:29 ` Eric Knauel
@ 2003-10-17 23:53   ` Lars Magne Ingebrigtsen
  2003-10-20  6:43   ` Kevin Greiner
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-17 23:53 UTC (permalink / raw)


Eric Knauel <knauel@informatik.uni-tuebingen.de> writes:

> I see the same problem.  Only agentized servers seem to get
> duplicated.  Here's how I can reproduce this: start gnus-unplugged, `J
> j' and `J s' and then open the server buffer.  My guess is, that
> somehow Gnus-agent gets confused while opening servers:
>
> Right after start in unplugged mode:

Hm...  what was the difference between the two lists?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: Duplicate server entries
  2003-06-15  8:29 ` Eric Knauel
  2003-10-17 23:53   ` Lars Magne Ingebrigtsen
@ 2003-10-20  6:43   ` Kevin Greiner
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Greiner @ 2003-10-20  6:43 UTC (permalink / raw)


Eric Knauel <knauel@informatik.uni-tuebingen.de> writes:

> Nevin Kapur <kapur@mts.jhu.edu> writes:
>
>> I've seen this a few times now.  My *Server* buffer looks like this
>> currently:
>>
>>      {nnfolder:archive} (opened)
>>      {nnimap:jesse} (opened) (agent)
>>
>> [...]
>>
>>      {nnimap:jesse} (opened) (agent)
>>
>> Why are there two entries for the nnimap server?  I can almost act
>> independently on these two.  It seems like one can offline while the
>> other online, which seems to confuse Gnus.
>
> I see the same problem.  Only agentized servers seem to get
> duplicated.  Here's how I can reproduce this: start gnus-unplugged, `J
> j' and `J s' and then open the server buffer.  My guess is, that
> somehow Gnus-agent gets confused while opening servers:
>
> Right after start in unplugged mode:
>
> ,----
> | (cl-prettyprint gnus-opened-servers)
> | 
> | (((nnfolder "fp03"
> | 	    (nnfolder-directory "~/Lehre/fp-03-uebungen/abgaben")
> | 	    (nnfolder-active-file "~/Lehre/fp-03-uebungen/abgaben/active")
> | 	    (nnfolder-get-new-mail nil))
> |   ok)
> |  ((nnfolder "spam"
> | 	    (nnfolder-directory "~/more-mail/spam")
> | 	    (nnfolder-active-file "~/more-mail/spam/active")
> | 	    (nnfolder-get-new-mail nil))
> |   ok)
> |  ((nnfolder "archive"
> | 	    (nnfolder-directory "~/Mail/archive")
> | 	    (nnfolder-active-file "~/Mail/archive/active")
> | 	    (nnfolder-get-new-mail nil)
> | 	    (nnfolder-inhibit-expiry t))
> |   ok)
> |  ((nnimap "webmail.macnews.de"
> | 	  (nnimap-address "localhost")
> | 	  (nnimap-server-port 5002)
> | 	  (nnimap-list-pattern ("INBOX" "Junk"
> | 				"misc*"
> | 				"macnews/*"
> | 				"archive/*"))
> | 	  (nnimap-stream ssl))
> |   ok)
> |  ((nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001))
> |   ok)
> |  ((nnfolder "")
> |   ok)
> |  ((nnml "")
> |   ok)
> |  ((nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000))
> |   ok))nil
> `----
>
> The servers nntp:news.gmane.org, nntp:news.cis.dfn.de and
> nnimap:webmail.macnews.de are covered by Gnus-Agent.
>
> Now, `J j' and `J s' to fetch mail and news, and after that:
>
> ,----
> | (cl-prettyprint gnus-opened-servers)
> | 
> | (((nntp "news.gmane.org")
> |   ok)
> |  ((nntp "news.cis.dfn.de")
> |   ok)
> |  ((nnfolder "fp03"
> | 	    (nnfolder-directory "~/Lehre/fp-03-uebungen/abgaben")
> | 	    (nnfolder-active-file "~/Lehre/fp-03-uebungen/abgaben/active")
> | 	    (nnfolder-get-new-mail nil))
> |   ok)
> |  ((nnfolder "spam"
> | 	    (nnfolder-directory "~/more-mail/spam")
> | 	    (nnfolder-active-file "~/more-mail/spam/active")
> | 	    (nnfolder-get-new-mail nil))
> |   ok)
> |  ((nnfolder "archive"
> | 	    (nnfolder-directory "~/Mail/archive")
> | 	    (nnfolder-active-file "~/Mail/archive/active")
> | 	    (nnfolder-get-new-mail nil)
> | 	    (nnfolder-inhibit-expiry t))
> |   ok)
> |  ((nnimap "webmail.macnews.de"
> | 	  (nnimap-address "localhost")
> | 	  (nnimap-server-port 5002)
> | 	  (nnimap-list-pattern ("INBOX" "Junk"
> | 				"misc*"
> | 				"macnews/*"
> | 				"archive/*"))
> | 	  (nnimap-stream ssl))
> |   ok)
> |  ((nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001))
> |   ok)
> |  ((nnfolder "")
> |   ok)
> |  ((nnml "")
> |   ok)
> |  ((nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000))
> |   ok))nil
> `----
>
> This is my server setup:
>
> ,----
> | gnus-select-method
> | (nntp "news.cis.dfn.de" (nntp-address "localhost") (nntp-port-number 5000))
> | 
> | (cl-prettyprint gnus-secondary-select-methods)
> | 
> | ((nnml "")
> |  (nnfolder "")
> |  (nntp "news.gmane.org" (nntp-address "localhost") (nntp-port-number 5001))
> |  (nnimap "webmail.macnews.de"
> | 	 (nnimap-address "localhost")
> | 	 (nnimap-server-port 5002)
> | 	 (nnimap-list-pattern ("INBOX" "Junk"
> | 			       "misc*"
> | 			       "macnews/*"
> | 			       "archive/*"))
> | 	 (nnimap-stream ssl)))nil
> `----

Could you print the value of gnus-agent-covered-methods? The methods
in gnus-agent-covered-methods must be equal to the methods in
gnus-opened-servers.  If they aren't, please edit agent/lib/servers to
match your current methods then start gnus.

BTW, if this is the problem, I have a fix ready to post.

Kevin





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

end of thread, other threads:[~2003-10-20  6:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-14 14:52 Duplicate server entries Nevin Kapur
2003-06-15  8:29 ` Eric Knauel
2003-10-17 23:53   ` Lars Magne Ingebrigtsen
2003-10-20  6:43   ` Kevin Greiner

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).