Gnus development mailing list
 help / color / mirror / Atom feed
* error Gcc'ing to imap folder
@ 2011-01-07 19:30 Eric S Fraga
  2011-01-07 22:59 ` Dave Goldberg
  2011-01-11 19:05 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 11+ messages in thread
From: Eric S Fraga @ 2011-01-07 19:30 UTC (permalink / raw)
  To: ding

Hello,

I have Gcc set to self for a number of imap folders.  Often, I get the
following error:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument numberp nil)
  number-to-string(nil)
  nnimap-article-ranges((nil))
  nnimap-request-set-mark("phd" (((nil) del (read))) "ucl")
  gnus-request-set-mark("nnimap+ucl:phd" (((nil) del (read))))
  gnus-agent-synchronize-group-flags("nnimap+ucl:phd" (((nil) del (read))) (nnimap "ucl" (nnimap-address "imap-server.ucl.ac.uk") (nnimap-inbox "INBOX") (nnimap-stream ssl)))
  gnus-agent-regenerate-group("nnimap+ucl:phd" (nil))
  gnus-request-accept-article("nnimap+ucl:phd" "nnimap:ucl" t t)
  gnus-inews-do-gcc()
  gnus-agent-possibly-do-gcc()
  run-hooks(message-sent-hook)
  message-send(nil)
  message-send-and-exit(nil)
  call-interactively(message-send-and-exit)
  (let (orgstruct-mode) (call-interactively (or ... ...)))
  (if (org-context-p (quote headline) (quote item) (and orgstruct-is-++ nil ...)) (org-run-like-in-org-mode (quote org-ctrl-c-ctrl-c)) (let (orgstruct-mode) (call-interactively ...)))
  orgstruct-hijacker-command-21(1)
  call-interactively(orgstruct-hijacker-command-21 nil nil)
--8<---------------cut here---------------end--------------->8---

Any suggestions of what might wrong in my configuration?  When this
happens, I find that the gnus's view of that particular folder is
completely screwed up: I have to leave the summary back to group view
and hit 'g' again to get it working.  I do find that the email has been
Gcc'ed correctly, however.

Thanks,
eric

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



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

* Re: error Gcc'ing to imap folder
  2011-01-07 19:30 error Gcc'ing to imap folder Eric S Fraga
@ 2011-01-07 22:59 ` Dave Goldberg
  2011-01-08 20:49   ` Eric S Fraga
  2011-01-11 19:05 ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Dave Goldberg @ 2011-01-07 22:59 UTC (permalink / raw)
  To: ding


> Hello,

> I have Gcc set to self for a number of imap folders.  Often, I get the
> following error:


> Debugger entered--Lisp error: (wrong-type-argument numberp nil)
>   number-to-string(nil)
>   nnimap-article-ranges((nil))
>   nnimap-request-set-mark("phd" (((nil) del (read))) "ucl")
>   gnus-request-set-mark("nnimap+ucl:phd" (((nil) del (read))))
>   gnus-agent-synchronize-group-flags("nnimap+ucl:phd" (((nil) del (read)))
>  (nnimap "ucl" (nnimap-address "imap-server.ucl.ac.uk") (nnimap-inbox
>  "INBOX") (nnimap-stream ssl)))
>   gnus-agent-regenerate-group("nnimap+ucl:phd" (nil))
>   gnus-request-accept-article("nnimap+ucl:phd" "nnimap:ucl" t t)
>   gnus-inews-do-gcc()
>   gnus-agent-possibly-do-gcc()
>   run-hooks(message-sent-hook)
>   message-send(nil)
>   message-send-and-exit(nil)
>   call-interactively(message-send-and-exit)
>   (let (orgstruct-mode) (call-interactively (or ... ...)))
>   (if (org-context-p (quote headline) (quote item) (and orgstruct-is-++ nil
>  ...)) (org-run-like-in-org-mode (quote org-ctrl-c-ctrl-c)) (let
>  (orgstruct-mode) (call-interactively ...)))
>   orgstruct-hijacker-command-21(1)
>   call-interactively(orgstruct-hijacker-command-21 nil nil)


> Any suggestions of what might wrong in my configuration?  When this
> happens, I find that the gnus's view of that particular folder is
> completely screwed up: I have to leave the summary back to group view
> and hit 'g' again to get it working.  I do find that the email has been
> Gcc'ed correctly, however.

Is this on an Exchange server?  And is gnus-gcc-mark-as-read t?  If so you're likely seeing the same issue I am.  There's a thread on that.  It starts with http://article.gmane.org/gmane.emacs.gnus.general/74558

-- 
Dave Goldberg
david.goldberg6@verizon.net



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

* Re: error Gcc'ing to imap folder
  2011-01-07 22:59 ` Dave Goldberg
@ 2011-01-08 20:49   ` Eric S Fraga
  2011-01-09 15:03     ` Dave Goldberg
  0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2011-01-08 20:49 UTC (permalink / raw)
  To: Dave Goldberg; +Cc: ding

david.goldberg6@verizon.net (Dave Goldberg) writes:

>> Hello,
>
>> I have Gcc set to self for a number of imap folders.  Often, I get the
>> following error:

[...]

> Is this on an Exchange server?  

I am not sure what the server is -- it could very well be Exchange as
our IT department has gone very MS over the past few years unfortunately
(Outlook etc.).  I can find out by asking them... or maybe somebody here
can tell me where to look to find out?

> And is gnus-gcc-mark-as-read t?

It is indeed.

> If so you're likely seeing the same issue I am.  There's a thread on
> that.  It starts with
> http://article.gmane.org/gmane.emacs.gnus.general/74558

Sure sounds like it.  The thread sort of ends with Lars's desire to have
something that works out of the box.  I guess I'll wait and see?

But is your question above about gnus-gcc-mark-as-read relevant?  If I
set this to nil, which is not a problem, will the problem go away?

Thanks,
eric

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



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

* Re: error Gcc'ing to imap folder
  2011-01-08 20:49   ` Eric S Fraga
@ 2011-01-09 15:03     ` Dave Goldberg
  2011-01-10 18:31       ` Eric S Fraga
  0 siblings, 1 reply; 11+ messages in thread
From: Dave Goldberg @ 2011-01-09 15:03 UTC (permalink / raw)
  To: ding

> Sure sounds like it.  The thread sort of ends with Lars's desire to have
> something that works out of the box.  I guess I'll wait and see?

> But is your question above about gnus-gcc-mark-as-read relevant?  If I
> set this to nil, which is not a problem, will the problem go away?

Yes.  The gcc (APPEND in IMAP-speak) succeeds, but the search for the resulting message number (which is needed for marking) is failing.  So for now setting gnus-gcc-mark-as-read to nil has been my work around as that results in the problematic search not having to run at all.


-- 
Dave Goldberg
david.goldberg6@verizon.net



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

* Re: error Gcc'ing to imap folder
  2011-01-09 15:03     ` Dave Goldberg
@ 2011-01-10 18:31       ` Eric S Fraga
  0 siblings, 0 replies; 11+ messages in thread
From: Eric S Fraga @ 2011-01-10 18:31 UTC (permalink / raw)
  To: Dave Goldberg; +Cc: ding

david.goldberg6@verizon.net (Dave Goldberg) writes:

>> Sure sounds like it.  The thread sort of ends with Lars's desire to have
>> something that works out of the box.  I guess I'll wait and see?
>
>
>> But is your question above about gnus-gcc-mark-as-read relevant?  If I
>> set this to nil, which is not a problem, will the problem go away?
>
> Yes.  The gcc (APPEND in IMAP-speak) succeeds, but the search for the
> resulting message number (which is needed for marking) is failing.  So
> for now setting gnus-gcc-mark-as-read to nil has been my work around
> as that results in the problematic search not having to run at all.

Excellent, thanks!  I've had this turned off for a day or two now and
definitely haven't run into the problem again.  Having to read my own
messages is a small price to pay.

Thanks again,
eric

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)



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

* Re: error Gcc'ing to imap folder
  2011-01-07 19:30 error Gcc'ing to imap folder Eric S Fraga
  2011-01-07 22:59 ` Dave Goldberg
@ 2011-01-11 19:05 ` Lars Magne Ingebrigtsen
  2011-01-13 20:33   ` Eric S Fraga
  1 sibling, 1 reply; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-11 19:05 UTC (permalink / raw)
  To: ding

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

>   gnus-agent-regenerate-group("nnimap+ucl:phd" (nil))

I've now added some error checking for this specific situation, but it's
still just hiding the real error.

It'd be interesting to know whether you're running Exchange, too.  Going
to the "*nnimap ...*" buffer and evaluating

(nnimap-greeting nnimap-object)

should tell you what the server is.

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




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

* Re: error Gcc'ing to imap folder
  2011-01-11 19:05 ` Lars Magne Ingebrigtsen
@ 2011-01-13 20:33   ` Eric S Fraga
  2011-01-22  3:42     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2011-01-13 20:33 UTC (permalink / raw)
  To: ding

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

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>>   gnus-agent-regenerate-group("nnimap+ucl:phd" (nil))
>
> I've now added some error checking for this specific situation, but it's
> still just hiding the real error.
>
> It'd be interesting to know whether you're running Exchange, too.  Going
> to the "*nnimap ...*" buffer and evaluating
>
> (nnimap-greeting nnimap-object)
>
> should tell you what the server is.

Thanks Lars.  It would appear to be Dovecot.  Interesting.

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)



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

* Re: error Gcc'ing to imap folder
  2011-01-13 20:33   ` Eric S Fraga
@ 2011-01-22  3:42     ` Lars Ingebrigtsen
  2011-01-22 19:49       ` Eric S Fraga
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22  3:42 UTC (permalink / raw)
  To: ding

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

> Thanks Lars.  It would appear to be Dovecot.  Interesting.

Darn.  Then it isn't just an Exchange thing.

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




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

* Re: error Gcc'ing to imap folder
  2011-01-22  3:42     ` Lars Ingebrigtsen
@ 2011-01-22 19:49       ` Eric S Fraga
  2011-01-22 19:55         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2011-01-22 19:49 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> Thanks Lars.  It would appear to be Dovecot.  Interesting.
>
> Darn.  Then it isn't just an Exchange thing.

Unfortunately.  If there's any specific debugging you would like me to
try, just let me know.

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



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

* Re: error Gcc'ing to imap folder
  2011-01-22 19:49       ` Eric S Fraga
@ 2011-01-22 19:55         ` Lars Ingebrigtsen
  2011-01-22 20:35           ` Eric S Fraga
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 19:55 UTC (permalink / raw)
  To: ding

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

> Unfortunately.  If there's any specific debugging you would like me to
> try, just let me know.

I guess the IMAP servers just don't return the article numbers in a
reliable way when searching by Message-ID.  There's not much to do about
that, though.  It's not a major issue for Gnus, but it means that some
features don't work totally as they should.  But they're not very
central features.

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




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

* Re: error Gcc'ing to imap folder
  2011-01-22 19:55         ` Lars Ingebrigtsen
@ 2011-01-22 20:35           ` Eric S Fraga
  0 siblings, 0 replies; 11+ messages in thread
From: Eric S Fraga @ 2011-01-22 20:35 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> Unfortunately.  If there's any specific debugging you would like me to
>> try, just let me know.
>
> I guess the IMAP servers just don't return the article numbers in a
> reliable way when searching by Message-ID.  There's not much to do about
> that, though.  It's not a major issue for Gnus, but it means that some
> features don't work totally as they should.  But they're not very
> central features.

Agreed.  I can live with not marking gcc articles as automatically read.

Thanks again,
eric

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



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

end of thread, other threads:[~2011-01-22 20:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-07 19:30 error Gcc'ing to imap folder Eric S Fraga
2011-01-07 22:59 ` Dave Goldberg
2011-01-08 20:49   ` Eric S Fraga
2011-01-09 15:03     ` Dave Goldberg
2011-01-10 18:31       ` Eric S Fraga
2011-01-11 19:05 ` Lars Magne Ingebrigtsen
2011-01-13 20:33   ` Eric S Fraga
2011-01-22  3:42     ` Lars Ingebrigtsen
2011-01-22 19:49       ` Eric S Fraga
2011-01-22 19:55         ` Lars Ingebrigtsen
2011-01-22 20:35           ` Eric S Fraga

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