Gnus development mailing list
 help / color / mirror / Atom feed
* "Async fetch" failing in current CVS
@ 2000-07-10 22:46 Dan McGuirk
  2000-07-11  8:48 ` Simon Josefsson
  2000-07-11  9:11 ` Michael Klingbeil
  0 siblings, 2 replies; 10+ messages in thread
From: Dan McGuirk @ 2000-07-10 22:46 UTC (permalink / raw)


With the current CVS version of Gnus, when trying to open an article
I'll often get the message "Waiting for async fetch" in the
minibuffer, and then have Gnus hang.  This usually happens on the
second article I try to open after opening a given newsgroup.
Eventually I can break out of this with C-g, and usually I can
ultimately get the article to come up, but I seem to have to view some
other articles first.

The server is news.supernews.com, which uses normal (non-SSL) NNTP,
but does require a login.

Is this a known issue?  If there are things I can do to help diagnose
this, let me know.

-- 
Dan McGuirk    mcguirk@incompleteness.net



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

* Re: "Async fetch" failing in current CVS
  2000-07-10 22:46 "Async fetch" failing in current CVS Dan McGuirk
@ 2000-07-11  8:48 ` Simon Josefsson
  2000-07-11  9:11 ` Michael Klingbeil
  1 sibling, 0 replies; 10+ messages in thread
From: Simon Josefsson @ 2000-07-11  8:48 UTC (permalink / raw)
  Cc: ding

Dan McGuirk <mcguirk@incompleteness.net> writes:

> With the current CVS version of Gnus, when trying to open an article
> I'll often get the message "Waiting for async fetch" in the
> minibuffer, and then have Gnus hang.  This usually happens on the
> second article I try to open after opening a given newsgroup.
> Eventually I can break out of this with C-g, and usually I can
> ultimately get the article to come up, but I seem to have to view some
> other articles first.

If you (setq gnus-asynchronous nil) and enter a group and view the
first two articles rapidly, does it hang too?  I suspect the server
might be slow.

You can try (setq nntp-record-commands t) to see what Gnus is sending,
and then use "telnet news nntp" or whatever to send commands manually
to see if it really is the server hanging.

(In earlier Gnuses asynchronous fetching was accidently (?) disabled
by default.)




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

* Re: "Async fetch" failing in current CVS
  2000-07-10 22:46 "Async fetch" failing in current CVS Dan McGuirk
  2000-07-11  8:48 ` Simon Josefsson
@ 2000-07-11  9:11 ` Michael Klingbeil
  2000-07-11 10:32   ` Simon Josefsson
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Klingbeil @ 2000-07-11  9:11 UTC (permalink / raw)


*** Dan McGuirk <mcguirk@incompleteness.net> schrieb:

[...]
> Is this a known issue?  If there are things I can do to help diagnose
> this, let me know.

You have Win* or Linux?
I have Win2000 and this error Message.

Signaling: (error "Buffer  *Async Prefetch Article* has no process")
  process-send-string(#<buffer " *Async Prefetch Article*"> "ARTICLE 5012
\n")
  nntp-handle-authinfo(#<buffer " *Async Prefetch Article*">)
  nntp-async-trigger(#<network connection "nntpd<1>" ("nntp" . "localhost") state:run>)
  nntp-after-change-function(1 30 0)

News-Server Logfile:
Client 127.0.0.1:119 (692) connected
2000.07.11 11:02:30 {468} < 200 Hamster-NNTP Vr. 1.3 (Build 1.3.19.200)
2000.07.11 11:02:30 {468} > MODE READER
2000.07.11 11:02:30 {468} < 200 ignored
2000.07.11 11:02:30 {468} > GROUP gnu.emacs.gnus
2000.07.11 11:02:30 {468} < 480 Authentication required
2000.07.11 11:02:30 {404} > AUTHINFO USER michael
2000.07.11 11:02:30 {404} < 381 More authentication information required
2000.07.11 11:02:30 {468} > ARTICLE 5012
2000.07.11 11:02:30 {468} < 480 Authentication required
2000.07.11 11:02:30 {404} > AUTHINFO PASS [...]
2000.07.11 11:02:30 {404} < 281 Authentication accepted

nntp-log
20000711T110112.163 localhost MODE READER
20000711T110113.305 localhost LIST
20000711T110113.435 localhost AUTHINFO USER michael
20000711T110113.906 localhost AUTHINFO PASS ****
20000711T110115.668 localhost LIST
20000711T110135.657 localhost LIST NEWSGROUPS
20000711T110139.522 localhost NEWGROUPS 000711 095850
20000711T110150.068 localhost GROUP z-netz.alt.pgp.allgemein
20000711T110150.318 localhost XOVER 1-129
20000711T110159.571 localhost ARTICLE 129
20000711T110223.205 localhost GROUP gnu.emacs.gnus
20000711T110223.295 localhost XOVER 1-5022
20000711T110229.745 localhost ARTICLE 5013
20000711T110230.726 localhost MODE READER
20000711T110230.816 localhost GROUP gnu.emacs.gnus
20000711T110230.816 localhost ARTICLE 5012
20000711T110230.826 localhost AUTHINFO USER michael
20000711T110230.836 localhost AUTHINFO PASS ****
20000711T110230.936 localhost ARTICLE 5012
-- 
micha



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

* Re: "Async fetch" failing in current CVS
  2000-07-11  9:11 ` Michael Klingbeil
@ 2000-07-11 10:32   ` Simon Josefsson
  2000-07-11 11:17     ` Michael Klingbeil
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Simon Josefsson @ 2000-07-11 10:32 UTC (permalink / raw)
  Cc: ding

Michael Klingbeil <mklingbeil@gmx.de> writes:

> I have Win2000 and this error Message.
> 
> Signaling: (error "Buffer  *Async Prefetch Article* has no process")
>   process-send-string(#<buffer " *Async Prefetch Article*"> "ARTICLE 5012
> \n")
>   nntp-handle-authinfo(#<buffer " *Async Prefetch Article*">)
>   nntp-async-trigger(#<network connection "nntpd<1>" ("nntp" . "localhost") state:run>)

Does this help?

2000-07-11  Simon Josefsson  <simon@josefsson.org>

	* nntp.el (nntp-async-trigger): Send authinfo to process.

Index: nntp.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nntp.el,v
retrieving revision 5.33
diff -w -u -u -w -r5.33 nntp.el
--- nntp.el	2000/04/23 19:18:42	5.33
+++ nntp.el	2000/07/10 10:31:22
@@ -982,7 +982,7 @@
       (if (memq (following-char) '(?4 ?5))
 	  ;; wants credentials?
 	  (if (looking-at "480")
-	      (nntp-handle-authinfo nntp-process-to-buffer)
+	      (nntp-handle-authinfo process)
 	    ;; report error message.
 	    (nntp-snarf-error-message)
 	    (nntp-do-callback nil))




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

* Re: "Async fetch" failing in current CVS
  2000-07-11 10:32   ` Simon Josefsson
@ 2000-07-11 11:17     ` Michael Klingbeil
  2000-07-11 12:46       ` Simon Josefsson
  2000-07-11 15:05     ` Dan McGuirk
  2000-07-11 19:44     ` Ulrich Schwarz
  2 siblings, 1 reply; 10+ messages in thread
From: Michael Klingbeil @ 2000-07-11 11:17 UTC (permalink / raw)


*** Simon Josefsson <simon@josefsson.org> schrieb:

> Michael Klingbeil <mklingbeil@gmx.de> writes:
> 
> > I have Win2000 and this error Message.
> > 
> > Signaling: (error "Buffer  *Async Prefetch Article* has no process")
> >   process-send-string(#<buffer " *Async Prefetch Article*"> "ARTICLE 5012
> > \n")
> >   nntp-handle-authinfo(#<buffer " *Async Prefetch Article*">)
> >   nntp-async-trigger(#<network connection "nntpd<1>" ("nntp" . "localhost") state:run>)
> 
> Does this help?

This (setq gnus-asynchronous 'nil) help. ;)
 
> 2000-07-11  Simon Josefsson  <simon@josefsson.org>
> 
> 	* nntp.el (nntp-async-trigger): Send authinfo to process.

Please send it to the CVS-Gnus Server.
-- 
micha



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

* Re: "Async fetch" failing in current CVS
  2000-07-11 11:17     ` Michael Klingbeil
@ 2000-07-11 12:46       ` Simon Josefsson
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Josefsson @ 2000-07-11 12:46 UTC (permalink / raw)
  Cc: ding

Michael Klingbeil <mklingbeil@gmx.de> writes:

> This (setq gnus-asynchronous 'nil) help. ;)

Does it work if you apply the patch and set `gnus-asynchronous' to t?
I'd rather have asynchronous support work instead of disabling it..




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

* Re: "Async fetch" failing in current CVS
  2000-07-11 10:32   ` Simon Josefsson
  2000-07-11 11:17     ` Michael Klingbeil
@ 2000-07-11 15:05     ` Dan McGuirk
  2000-07-11 19:44     ` Ulrich Schwarz
  2 siblings, 0 replies; 10+ messages in thread
From: Dan McGuirk @ 2000-07-11 15:05 UTC (permalink / raw)


Simon Josefsson <simon@josefsson.org> writes:

> Does this help?
> 
> 2000-07-11  Simon Josefsson  <simon@josefsson.org>
> 
> 	* nntp.el (nntp-async-trigger): Send authinfo to process.

That seems to fix my problem, yeah.  (Everything works with
gnus-asynchronous still turned on.)  Thanks!

-- 
Dan McGuirk    mcguirk@incompleteness.net



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

* Re: "Async fetch" failing in current CVS
  2000-07-11 10:32   ` Simon Josefsson
  2000-07-11 11:17     ` Michael Klingbeil
  2000-07-11 15:05     ` Dan McGuirk
@ 2000-07-11 19:44     ` Ulrich Schwarz
  2000-07-12  8:27       ` Wolfgang Schludi
  2000-07-13 13:07       ` Simon Josefsson
  2 siblings, 2 replies; 10+ messages in thread
From: Ulrich Schwarz @ 2000-07-11 19:44 UTC (permalink / raw)


On Tue, Jul 11, 2000 at 12:32:26PM +0200, Simon Josefsson wrote:

> Does this help?

> 2000-07-11  Simon Josefsson  <simon@josefsson.org>
> 	* nntp.el (nntp-async-trigger): Send authinfo to process.
> 
> Index: nntp.el
> ===================================================================
> RCS file: /usr/local/cvsroot/gnus/lisp/nntp.el,v
> retrieving revision 5.33
> diff -w -u -u -w -r5.33 nntp.el
> --- nntp.el	2000/04/23 19:18:42	5.33
> +++ nntp.el	2000/07/10 10:31:22
> -	      (nntp-handle-authinfo nntp-process-to-buffer)
> +	      (nntp-handle-authinfo process)

It doesn't help for me (running Linux).
Despite applying the patch I still get frequently error messages like:

Signaling: (error "Buffer  *Async Prefetch Article* has no process")
  process-send-string(#<buffer " *Async Prefetch Article*"> "ARTICLE 77379
  \n")
    nntp-handle-authinfo(#<buffer " *Async Prefetch Article*">)
      nntp-async-trigger(#<network connection "nntpd<1>" ("nntp" . "news.cis.dfn.de") state:run>)
        nntp-after-change-function(1 80 0)


Apart from that, pgnus sometimes waits eternally for an article to
be fetched asynchroneously - you have to press Control-G to free Gnus again.

-- 
So long.
Ulrich



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

* Re: "Async fetch" failing in current CVS
  2000-07-11 19:44     ` Ulrich Schwarz
@ 2000-07-12  8:27       ` Wolfgang Schludi
  2000-07-13 13:07       ` Simon Josefsson
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Schludi @ 2000-07-12  8:27 UTC (permalink / raw)


Ulrich Schwarz <uschwarz@gmx.net> writes:

> On Tue, Jul 11, 2000 at 12:32:26PM +0200, Simon Josefsson wrote:
> [...]
> Apart from that, pgnus sometimes waits eternally for an article to
> be fetched asynchroneously - you have to press Control-G to free Gnus again.

same for me here.

schludi



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

* Re: "Async fetch" failing in current CVS
  2000-07-11 19:44     ` Ulrich Schwarz
  2000-07-12  8:27       ` Wolfgang Schludi
@ 2000-07-13 13:07       ` Simon Josefsson
  1 sibling, 0 replies; 10+ messages in thread
From: Simon Josefsson @ 2000-07-13 13:07 UTC (permalink / raw)
  Cc: ding

Ulrich Schwarz <uschwarz@gmx.net> writes:

> > -	      (nntp-handle-authinfo nntp-process-to-buffer)
> > +	      (nntp-handle-authinfo process)
> 
> It doesn't help for me (running Linux).
> Despite applying the patch I still get frequently error messages like:
> 
> Signaling: (error "Buffer  *Async Prefetch Article* has no process")
>   process-send-string(#<buffer " *Async Prefetch Article*"> "ARTICLE 77379
>   \n")
>     nntp-handle-authinfo(#<buffer " *Async Prefetch Article*">)
>       nntp-async-trigger(#<network connection "nntpd<1>" ("nntp" . "news.cis.dfn.de") state:run>)
>         nntp-after-change-function(1 80 0)

It doesn't look like the patch was used, make sure you've recompiled
and/or reloaded nntp.el.

By the backtrace, it looks like it used to -- the patch make
`nntp-async-trigger' pass it's first argument to
`nntp-handle-authinfo' instead of a buffer, but it looks like you
still have the old behaviour.

> Apart from that, pgnus sometimes waits eternally for an article to
> be fetched asynchroneously - you have to press Control-G to free Gnus again.

Perhaps the asynchronous support should be disabled then, unless
someone is able to debug this and come up with a patch.




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

end of thread, other threads:[~2000-07-13 13:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-10 22:46 "Async fetch" failing in current CVS Dan McGuirk
2000-07-11  8:48 ` Simon Josefsson
2000-07-11  9:11 ` Michael Klingbeil
2000-07-11 10:32   ` Simon Josefsson
2000-07-11 11:17     ` Michael Klingbeil
2000-07-11 12:46       ` Simon Josefsson
2000-07-11 15:05     ` Dan McGuirk
2000-07-11 19:44     ` Ulrich Schwarz
2000-07-12  8:27       ` Wolfgang Schludi
2000-07-13 13:07       ` Simon Josefsson

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