https://bugs.kde.org/show_bug.cgi?id=392440

            Bug ID: 392440
           Summary: UID consistency error
           Product: trojita
           Version: git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: IMAP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

While on a flaky connection that disappeared/appeared intermittently, I started
getting the following error when selecting one of my folders on a FastMail
account (~Cyrus):

“The IMAP server sent us a reply which we could not parse. This might either
mean that there's a bug in Trojitá's code, or that the IMAP server you are
connected to is broken. Please report this as a bug anyway. Here are the
details:

MailboxException: FETCH response: UID consistency error for message #3 --
expected UID 27637, got UID 27643 FETCH 3 ( FLAGS "\Seen $X-ME-Annot-2" MODSEQ
"742122" UID "27643")”

More detailed:

09:51:49.054 >>> y144 SELECT INBOX (QRESYNC (1164751602 742116 (3 27637)))␍␊
09:51:49.156 <<< * OK [CLOSED] Ok␍␊
09:51:49.156 <<< * 8 EXISTS␍␊
09:51:49.156 <<< * 0 RECENT␍␊
09:51:49.156 <<< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen […]
09:51:49.156 <<< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen
[…]
09:51:49.156 <<< * OK [UNSEEN 5] Ok␍␊
09:51:49.157 <<< * OK [UIDVALIDITY 1164751602] Ok␍␊
09:51:49.157 <<< * OK [UIDNEXT 27660] Ok␍␊
09:51:49.157 <<< * OK [HIGHESTMODSEQ 742361] Ok␍␊
09:51:49.157 <<< * OK [URLMECH INTERNAL] Ok␍␊
09:51:49.157 <<< * OK [ANNOTATIONS 65536] Ok␍␊
09:51:49.157 <<< * VANISHED (EARLIER) 27647:27650,27653:27656␍␊
09:51:49.157 <<< * 3 FETCH (FLAGS (\Seen $X-ME-Annot-2) UID 27643 MODSEQ
(742122))␍␊
09:51:49.157 <<< * 4 FETCH (FLAGS (\Seen $X-ME-Annot-2) UID 27651 MODSEQ
(742221))␍␊
09:51:49.157 <<< * 5 FETCH (FLAGS ($X-ME-Annot-2) UID 27652 MODSEQ (742226))␍␊
09:51:49.157 <<< * 6 FETCH (FLAGS ($X-ME-Annot-2 $IsMailingList) UID 27657
MODSEQ (742347))␍␊
09:51:49.157 <<< * 7 FETCH (FLAGS (\Seen $X-ME-Annot-2) UID 27658 MODSEQ
(742349))␍␊
09:51:49.157 <<< * 8 FETCH (FLAGS (\Seen $X-ME-Annot-2) UID 27659 MODSEQ
(742360))␍␊
09:51:49.157 <<< y144 OK [READ-WRITE] Completed␍␊
09:51:49.157 conn Opening mailbox...
09:51:49.159  Warning: unhandled untagged OK with a response code
09:51:49.159 ThreadingMsgListModel for INBOX
ThreadingMsgListModel::wantThreading: THREAD contains info about UID 27646 (or
higher), mailbox has 27643
09:51:49.160 ThreadingMsgListModel for INBOX 4 messages have 0 UID
09:51:49.160  Warning: unhandled untagged OK with a response code
09:51:49.160  Warning: unhandled untagged OK with a response code
09:51:49.161 Imap::Mailbox::KeepMailboxOpenTask attached to INBOX Failed: The
connection is being killed for unspecified reason
09:51:49.161 Imap::Mailbox::ObtainSynchronizedMailboxTask STATE_SELECTING INBOX
Failed: The connection is being killed for unspecified reason
09:51:49.161 *** Connection killed.
09:51:49.161 MailboxException FETCH response: UID consistency error for message
#3 -- expected UID 27637, got UID 27643␍␊FETCH 3 ( FLAGS "\Seen $X-ME-Annot-2"
MODSEQ "742122" UID "27643")␊␊

If I look at the folder with another client (that does not have a cache), I see
that indeed there is no message with UID 27637.

I need this account to work, so I am going to rename the cache file (hoping
this will clear things up), but keep it for a while for later tests, if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to