Gnus development mailing list
 help / color / mirror / Atom feed
* error fetching emails in agent
@ 2011-03-18 14:50 Eric S Fraga
  2011-03-29 18:37 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2011-03-18 14:50 UTC (permalink / raw)
  To: gnus mailing list

Hi,

I'd like to report a minor problem, minor in that I have a workaround
but it might be useful to have this reported.

If I spend some time reading and processing emails in a gnus session and
then request that the agent fetch emails, I often get an error like
this:

,----
| Error Args out of range: 33632, 154227 while fetching session.  Should
| gnus continue? (y or n)
`----

I have found, however, that if I quit gnus (after reading, processing,
etc) and then immediately restart gnus and ask the agent to fetch
emails, it works.  (well, subject to the corruption errors mentioned
recently)

It would appear that gnus gets into an inconsistent state with respect
to the agent while processing emails.

Thanks,
eric


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.16



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

* Re: error fetching emails in agent
  2011-03-18 14:50 error fetching emails in agent Eric S Fraga
@ 2011-03-29 18:37 ` Lars Magne Ingebrigtsen
  2011-03-31  8:27   ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-03-29 18:37 UTC (permalink / raw)
  To: ding

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> If I spend some time reading and processing emails in a gnus session and
> then request that the agent fetch emails, I often get an error like
> this:
>
> ,----
> | Error Args out of range: 33632, 154227 while fetching session.  Should
> | gnus continue? (y or n)
> `----

Do you get a backtrace if you set `debug-on-error'?

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




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

* Re: error fetching emails in agent
  2011-03-29 18:37 ` Lars Magne Ingebrigtsen
@ 2011-03-31  8:27   ` Eric S Fraga
  2011-04-12 16:45     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2011-03-31  8:27 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> If I spend some time reading and processing emails in a gnus session and
>> then request that the agent fetch emails, I often get an error like
>> this:
>>
>> ,----
>> | Error Args out of range: 33632, 154227 while fetching session.  Should
>> | gnus continue? (y or n)
>> `----
>
> Do you get a backtrace if you set `debug-on-error'?

Lars,

finally, yes!  I have had debug-on-error turned on and have been trying
Js periodically the past day or two and finally I got an error with
corresponding backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (args-out-of-range 13294 19274)
  gnus-agent-fetch-articles("nnimap+ucl:lists.org" (2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...))
  gnus-agent-fetch-group-1("nnimap+ucl:lists.org" (nnimap "ucl" (nnimap-address "imap-server.ucl.ac.uk") (nnimap-inbox "INBOX") (nnimap-stream ssl)))
  gnus-agent-fetch-session()
  call-interactively(gnus-agent-fetch-session nil nil)
--8<---------------cut here---------------end--------------->8---

However, I don't think it's particularly helpful.

I think I've narrowed down the conditions under which this happens: if I
read a group and exit it, with articles being expired as a result, and
then ask the agent to fetch articles without saving first, this seems to
happen.  If I save ('s' in Group buffer), this doesn't seem to happen or
if no articles have been expired since the last save it doesn't seem to
happen either.

But that's just conjecture... I have not been scientific in my
experimentation (yet)!

All of this with gnus from git from yesterday late (GMT).

Anyway, I hope some of this helps.

Thanks,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.16



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

* Re: error fetching emails in agent
  2011-03-31  8:27   ` Eric S Fraga
@ 2011-04-12 16:45     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-04-12 16:45 UTC (permalink / raw)
  To: ding

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> finally, yes!  I have had debug-on-error turned on and have been trying
> Js periodically the past day or two and finally I got an error with
> corresponding backtrace:
> Debugger entered--Lisp error: (args-out-of-range 13294 19274)
>   gnus-agent-fetch-articles("nnimap+ucl:lists.org" (2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...))

[...]

> However, I don't think it's particularly helpful.

No, unfortunately that function is really, really long, so it's
difficult to say what's going on.  Running with an uncompiled
gnus-agent.el will give a more detailed backtrace.

> I think I've narrowed down the conditions under which this happens: if I
> read a group and exit it, with articles being expired as a result, and
> then ask the agent to fetch articles without saving first, this seems to
> happen.  If I save ('s' in Group buffer), this doesn't seem to happen or
> if no articles have been expired since the last save it doesn't seem to
> happen either.

Hm...  I've looked at what `s' does, and I can't quite see how that
would interfere with the Agent, one way or other.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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

end of thread, other threads:[~2011-04-12 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-18 14:50 error fetching emails in agent Eric S Fraga
2011-03-29 18:37 ` Lars Magne Ingebrigtsen
2011-03-31  8:27   ` Eric S Fraga
2011-04-12 16:45     ` Lars Magne Ingebrigtsen

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