Gnus development mailing list
 help / color / mirror / Atom feed
* problem with nnimap
@ 2011-02-15 12:51 joakim
  2011-02-18  0:32 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: joakim @ 2011-02-15 12:51 UTC (permalink / raw)
  To: ding

sometimes I type the wrong pwd to nnimap. Then I get this error:

Wrong type argument: arrayp, nil

Simply trying to connect with the right pwd doesnt work. I usually
restart emacs.

This is the backtrace:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  aref(nil 0)
  (memq (aref nnimap-object 0) cl-struct-nnimap-tags)
  (and (memq (aref nnimap-object 0) cl-struct-nnimap-tags))
  (or (and (memq (aref nnimap-object 0) cl-struct-nnimap-tags)) (error "nnimap-last-command-time storing a non-nnimap"))
  (progn (or (and (memq (aref nnimap-object 0) cl-struct-nnimap-tags)) (error "nnimap-last-command-time storing a non-nnimap")) (aset nnimap-object 8 (current-time)))
  (setf (nnimap-last-command-time nnimap-object) (current-time))
  nnimap-send-command("LIST \"\" \"*\"")
  nnimap-get-groups()
  nnimap-request-list("naru")
  apply(nnimap-request-list "naru")
  nnmairix-call-backend("request-list" "naru")
  nnmairix-request-list("")
  gnus-request-list((nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")))
  gnus-read-active-file-1((nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")) nil)
  gnus-read-active-for-groups((nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")) (("nnmairix:" 3 ((1 . 39043)) ((seen (39044 . 39116))) (nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")) ((numcorr nil 39043 39116) (query "jari") (folder . "zz_mairix--1") (threads)))) nil)
  gnus-get-unread-articles(nil)
  gnus-setup-news(nil nil nil)
  byte-code("\b\204	\204\306 \210\202L\307\310!\210\311\n!\f\204\203!\312 \210\313\314\b#\210\307\315!\210\2036\316\317\320\"\210\321 \210\322!\210\323 \210\324\325!\210\326 \210\307\327!\210\314\207" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-setup-news nil gnus-setup-news-hook gnus-request-create-group "queue" (nndraft "") gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook level gnus-agent] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)


-- 
Joakim Verona



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

* Re: problem with nnimap
  2011-02-15 12:51 problem with nnimap joakim
@ 2011-02-18  0:32 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-02-18  0:32 UTC (permalink / raw)
  To: ding

joakim@verona.se writes:

>   (memq (aref nnimap-object 0) cl-struct-nnimap-tags)

[...]

>   nnimap-request-list("naru")

Could you try evaling just

(nnimap-request-list "naru")

and give the wrong password and see whether that simple test case gives
you a backtrace?

Hm...

Actually, I see the bug now, so I don't think you have to test.  That
function didn't check whether it was able to open the server before
issuing the command, so of course it fails.

Should be fixed now in No Gnus.

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




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

* problem with nnimap
@ 2011-02-15 12:48 joakim
  0 siblings, 0 replies; 11+ messages in thread
From: joakim @ 2011-02-15 12:48 UTC (permalink / raw)
  To: ding

sometimes I type the wrong pwd to nnimap. Then I get this error:

Wrong type argument: arrayp, nil

Simply trying to connect with the right pwd doesnt work. I usually
restart emacs.

This is the backtrace:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  aref(nil 0)
  (memq (aref nnimap-object 0) cl-struct-nnimap-tags)
  (and (memq (aref nnimap-object 0) cl-struct-nnimap-tags))
  (or (and (memq (aref nnimap-object 0) cl-struct-nnimap-tags)) (error "nnimap-last-command-time storing a non-nnimap"))
  (progn (or (and (memq (aref nnimap-object 0) cl-struct-nnimap-tags)) (error "nnimap-last-command-time storing a non-nnimap")) (aset nnimap-object 8 (current-time)))
  (setf (nnimap-last-command-time nnimap-object) (current-time))
  nnimap-send-command("LIST \"\" \"*\"")
  nnimap-get-groups()
  nnimap-request-list("naru")
  apply(nnimap-request-list "naru")
  nnmairix-call-backend("request-list" "naru")
  nnmairix-request-list("")
  gnus-request-list((nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")))
  gnus-read-active-file-1((nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")) nil)
  gnus-read-active-for-groups((nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")) (("nnmairix:" 3 ((1 . 39043)) ((seen (39044 . 39116))) (nnmairix "" (nnmairix-backend nnimap) (nnmairix-backend-server "naru") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "")) ((numcorr nil 39043 39116) (query "jari") (folder . "zz_mairix--1") (threads)))) nil)
  gnus-get-unread-articles(nil)
  gnus-setup-news(nil nil nil)
  byte-code("\b\204
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)


-- 
Joakim Verona



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

* Re: problem with nnimap
  2000-08-02 19:09     ` simon
  2000-08-03  7:17       ` Walter Franzini
@ 2000-08-03 12:00       ` Walter Franzini
  1 sibling, 0 replies; 11+ messages in thread
From: Walter Franzini @ 2000-08-03 12:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1750 bytes --]

simon@josefsson.org writes:

> Walter Franzini <walter@sys-net.it> writes:
> 
> > > Looks like a corrupted overview file.  Does deleting
> > > ~/News/overview/nnimap/real.address.deleted help ?
> > 
> > Yes, thanks. 
> > But why? Some overview related bug?
> 
> I don't know, only that it seem to happen sometimes to some people.
> Did you keep the old overview file?  Would you mind sending the
> new&old one?
> 

OK the problem is here again.  
I have moved  novcache to novcache.OLD but the problem is still here :-(
The new novcache file is the same (no DIFFerence).

(setq nnimap-nov-is-evil t) 
No more novcache but the same problem :-((

The backtrace:
------------------------------------------------------------------------
Signaling: (wrong-type-argument number-or-marker-p lists\.opensales\.org)
  gnus-sorted-complement((1 2 18 20 21 111 128 140 188 189 280 283 370 379 392 403 405 417 419 437 438 439 441 lists\.opensales\.org [OSDevel]) (1 2 8 9 10 11 12 18 20 21 26 42 43 44 45 46 47 48 70 71 72 83 86 97 98 102 108 109 111 128 135 136 137 138 140 188 189 197 217 227 228 230 231 280 283 370 371 379 392 403 ... . (405 417 419 437 437 438 438 439 439 441 441)))
  gnus-select-newsgroup("nnimap+www.sys-net.it:INBOX.om_devel" nil nil)
  gnus-summary-read-group-1("nnimap+www.sys-net.it:INBOX.om_devel" nil t nil nil nil)
  gnus-summary-read-group("nnimap+www.sys-net.it:INBOX.om_devel" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
* call-interactively(gnus-topic-select-group)
------------------------------------------------------------------------

Hope this help.

Ciao

-- 
Walter Franzini, e-mail: walter@sys-net.it
SysNet, Via Digione 8, 27100 Pavia - Italy


[-- Attachment #2: novcache --]
[-- Type: application/octet-stream, Size: 20217 bytes --]

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

* Re: problem with nnimap
  2000-08-03  9:01         ` simon
@ 2000-08-03  9:43           ` Walter Franzini
  0 siblings, 0 replies; 11+ messages in thread
From: Walter Franzini @ 2000-08-03  9:43 UTC (permalink / raw)


simon@josefsson.org writes:

> Walter Franzini <walter@sys-net.it> writes:
> 
> > And (setq nnimap-nov-is-evil t)
> > 
> > The next time I will try to make a detailed bug report.
> 
> If `nnimap-nov-is-evil' is non-nil, you probably won't trigger the bug
> again.  Also, performance will be poor.
> 

Now `nnimap-nov-is-evil' is nil again and I can read my mail.
I'm waiting for the error ...


[...]

> No, just new and old files.

ok

ciao
-- 
Walter Franzini, e-mail: walter@sys-net.it
SysNet, Via Digione 8, 27100 Pavia - Italy




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

* Re: problem with nnimap
  2000-08-03  7:17       ` Walter Franzini
@ 2000-08-03  9:01         ` simon
  2000-08-03  9:43           ` Walter Franzini
  0 siblings, 1 reply; 11+ messages in thread
From: simon @ 2000-08-03  9:01 UTC (permalink / raw)
  Cc: ding

Walter Franzini <walter@sys-net.it> writes:

> And (setq nnimap-nov-is-evil t)
> 
> The next time I will try to make a detailed bug report.

If `nnimap-nov-is-evil' is non-nil, you probably won't trigger the bug
again.  Also, performance will be poor.

> * old and new overview  files
> * imap server: both cyrus and imapd from redhat (not sure about versions)
> * emacs: GNU Emacs 20.5/20.6
> * gnus: pgnus gnus-5.8.6/7
> * any other info or suggestion to make a good bug report ?

No, just new and old files.




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

* Re: problem with nnimap
  2000-08-02 19:09     ` simon
@ 2000-08-03  7:17       ` Walter Franzini
  2000-08-03  9:01         ` simon
  2000-08-03 12:00       ` Walter Franzini
  1 sibling, 1 reply; 11+ messages in thread
From: Walter Franzini @ 2000-08-03  7:17 UTC (permalink / raw)



[sorry during english lessons I was sleeping :-]

simon@josefsson.org writes:

> Walter Franzini <walter@sys-net.it> writes:
> 
> > > Looks like a corrupted overview file.  Does deleting
> > > ~/News/overview/nnimap/real.address.deleted help ?
> > 
> > Yes, thanks. 
> > But why? Some overview related bug?
> 
> I don't know, only that it seem to happen sometimes to some people.
> Did you keep the old overview file?  Would you mind sending the
> new&old one?
> 

No, sorry. I have deleted it, not just moved :-(
And (setq nnimap-nov-is-evil t)

The next time I will try to make a detailed bug report.

What info do you need to investigate the problem:

* old and new overview  files
* imap server: both cyrus and imapd from redhat (not sure about versions)
* emacs: GNU Emacs 20.5/20.6
* gnus: pgnus gnus-5.8.6/7
* any other info or suggestion to make a good bug report ?

Thanks

ciao
-- 
Walter Franzini, e-mail: walter@sys-net.it
SysNet, Via Digione 8, 27100 Pavia - Italy




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

* Re: problem with nnimap
  2000-08-02 12:03   ` Walter Franzini
@ 2000-08-02 19:09     ` simon
  2000-08-03  7:17       ` Walter Franzini
  2000-08-03 12:00       ` Walter Franzini
  0 siblings, 2 replies; 11+ messages in thread
From: simon @ 2000-08-02 19:09 UTC (permalink / raw)
  Cc: Kim-Minh Kaplan, ding

Walter Franzini <walter@sys-net.it> writes:

> > Looks like a corrupted overview file.  Does deleting
> > ~/News/overview/nnimap/real.address.deleted help ?
> 
> Yes, thanks. 
> But why? Some overview related bug?

I don't know, only that it seem to happen sometimes to some people.
Did you keep the old overview file?  Would you mind sending the
new&old one?




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

* Re: problem with nnimap
  2000-08-02  9:08 ` Kim-Minh Kaplan
@ 2000-08-02 12:03   ` Walter Franzini
  2000-08-02 19:09     ` simon
  0 siblings, 1 reply; 11+ messages in thread
From: Walter Franzini @ 2000-08-02 12:03 UTC (permalink / raw)
  Cc: ding

Kim-Minh Kaplan <kmkaplan@galaxy.fr> writes:

[...]

> Looks like a corrupted overview file.  Does deleting
> ~/News/overview/nnimap/real.address.deleted help ?

Yes, thanks. 
But why? Some overview related bug?

> 
> Kim-Minh.

Ciao
-- 
Walter Franzini, e-mail: walter@sys-net.it
SysNet, Via Digione 8, 27100 Pavia - Italy




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

* Re: problem with nnimap
  2000-08-01 12:39 Walter Franzini
@ 2000-08-02  9:08 ` Kim-Minh Kaplan
  2000-08-02 12:03   ` Walter Franzini
  0 siblings, 1 reply; 11+ messages in thread
From: Kim-Minh Kaplan @ 2000-08-02  9:08 UTC (permalink / raw)


Walter Franzini writes:

> Signaling: (wrong-type-argument number-or-marker-p bug)
>   gnus-set-sorted-intersection((2172 3405 3662 3687 4199 4214 4215 4218 4219) (2172 3405 3662 3687 3834 3835 3905 4088 4088 4089 4089 4161 4199 4212 4213 bug Re:))
>   gnus-select-newsgroup("nnimap+real.address.deleted:INBOX" nil nil)

Looks like a corrupted overview file.  Does deleting
~/News/overview/nnimap/real.address.deleted help ?

Kim-Minh.



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

* problem with nnimap
@ 2000-08-01 12:39 Walter Franzini
  2000-08-02  9:08 ` Kim-Minh Kaplan
  0 siblings, 1 reply; 11+ messages in thread
From: Walter Franzini @ 2000-08-01 12:39 UTC (permalink / raw)



Hi

I am using Gnus 5.8.7 with GNU Emacs 20.5
gnus tell me:

Signaling: (wrong-type-argument number-or-marker-p bug)
  gnus-set-sorted-intersection((2172 3405 3662 3687 4199 4214 4215 4218 4219) (2172 3405 3662 3687 3834 3835 3905 4088 4088 4089 4089 4161 4199 4212 4213 bug Re:))
  gnus-select-newsgroup("nnimap+real.address.deleted:INBOX" nil nil)
  gnus-summary-read-group-1("nnimap+real.address.deleted:INBOX" nil t nil nil nil)
  gnus-summary-read-group("nnimap+real.address.deleted:INBOX" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
* call-interactively(gnus-topic-select-group)

I am not sure if I miss something or if this is gnus/nnimap bug.
Someone can help me? 

Thanks.

Ciao
-- 
Walter Franzini, e-mail: walter@sys-net.it
SysNet, Via Digione 8, 27100 Pavia - Italy






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

end of thread, other threads:[~2011-02-18  0:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-15 12:51 problem with nnimap joakim
2011-02-18  0:32 ` Lars Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2011-02-15 12:48 joakim
2000-08-01 12:39 Walter Franzini
2000-08-02  9:08 ` Kim-Minh Kaplan
2000-08-02 12:03   ` Walter Franzini
2000-08-02 19:09     ` simon
2000-08-03  7:17       ` Walter Franzini
2000-08-03  9:01         ` simon
2000-08-03  9:43           ` Walter Franzini
2000-08-03 12:00       ` Walter Franzini

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