Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnimap error on empty folders
@ 2009-02-17 13:16 Dave Jennings
  0 siblings, 0 replies; only message in thread
From: Dave Jennings @ 2009-02-17 13:16 UTC (permalink / raw)
  To: info-gnus-english

Hi all,

When using nnimap to connect to an imap server it crashes with the error:

wrong-type-argument number-or-marker-p

Some digging in the debug logs shows that this happens whenever it
encounters an empty folder. For instance, this is the nnimap-debug at the
point of crashing:

| 2 -> nnimap-find-minmax-uid: group="Outbox" examine=examine

and this is the imap-debug log:

| | 3 <- imap-mailbox-select: "Outbox"
| | 3 -> imap-mailbox-get: propname=exists mailbox=nil buffer=nil
| | 3 <- imap-mailbox-get: nil

It's the 'image-mailbox-get: nil' part that seems to be causing the problem.
The previous mailbox gave:

| | 3 <- imap-mailbox-select: "Plan"
| | 3 -> imap-mailbox-get: propname=exists mailbox=nil buffer=nil
| | 3 <- imap-mailbox-get: 7

This happens with any empty mailbox. If I drop an email into the offending
mailbox then it gets past that one. Unfortunately that solution won't work
for Outbox since my other clients will try to send anything that's there.

Are there any work-arounds or solutions to this problem? Is this a known
problem?

The server is running the Zarafa imap implementation. I don't know if that
affects things.

Thanks,

Dave

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-17 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-17 13:16 nnimap error on empty folders Dave Jennings

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