Bug 401429

Summary: ESEARCH REMOVEFROM with threading and searching: MailboxException ESEARCH: there's no such UID
Product: [Applications] trojita Reporter: Jan Kundrát <jkt>
Component: IMAPAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: minor    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Kundrát 2018-11-26 12:35:59 UTC
I attempted to move some messages from a result of a search with an active threading display.

13:32:10.739 >>> y305 UID SEARCH RETURN (ALL UPDATE) CHARSET utf-8 OR SUBJECT xxx FROM xxx␍␊
13:32:10.739 >>> y306 UID THREAD REFS utf-8 OR SUBJECT xxx FROM xxx␍␊
13:32:10.740 <<< y304 OK Idle completed (0.030 + 118.711 + 118.739 secs).␍␊
13:32:11.739 <<< * ESEARCH (TAG "y305") UID ALL 37868,37875,42712,46456,46900␍␊
13:32:11.740 <<< * THREAD (37868 37875)(42712)(46456)(46900)␍␊
13:32:11.740 <<< y305 OK Search completed (0.641 + 0.000 + 0.998 secs).␍␊
13:32:11.740 <<< y306 OK Thread completed (0.359 + 0.000 + 0.358 secs).␍␊
13:32:11.749 ThreadingMsgListModel for INBOX ThreadingMsgListModel::wantThreading: THREAD contains info about UID 46900 (or higher), search has 46900
13:32:11.755 Imap::Mailbox::ThreadTask Completed
13:32:14.265 Imap::Mailbox::UpdateFlagsTask Activated
13:32:14.265 Imap::Mailbox::FetchMsgPartTask INBOX: parts BINARY.PEEK[1] for UIDs 46456 Activated
13:32:14.265 >>> y307 UID STORE 46456 +FLAGS (\Seen)␍␊
13:32:14.265 >>> y308 UID FETCH 46456 (BINARY.PEEK[1])␍␊
13:32:14.484 <<< * 8869 FETCH (UID 46456 BINARY[1] {220}␍␊xxxyyyzzz(+ XYZ more bytes)
13:32:14.484 <<< * 8869 FETCH (UID 46456 MODSEQ (64593) FLAGS (\Seen))␍␊
13:32:14.484 <<< y307 OK Store completed (0.001 + 0.000 + 0.085 secs).␍␊
13:32:14.484 <<< y308 OK Fetch completed (0.086 + 0.000 + 0.085 secs).␍␊
13:32:14.500 Imap::Mailbox::UpdateFlagsTask Completed
13:32:14.501 Imap::Mailbox::FetchMsgPartTask INBOX: parts BINARY.PEEK[1] for UIDs 46456 Fetched parts
13:32:14.502 conn Mailbox opened.
13:32:14.502 Imap::Mailbox::FetchMsgPartTask INBOX: parts BINARY.PEEK[1] for UIDs 46456 Completed
13:32:14.502 Imap::Mailbox::FetchMsgPartTask INBOX: parts BINARY.PEEK[1] for UIDs 46456 Fetched part BINARY.PEEK[1] for UID 46456
13:32:20.204 >>> y309 IDLE␍␊
13:32:20.447 <<< + idling␍␊
13:32:21.378 >>> DONE␍␊
13:32:21.379 Imap::Mailbox::CopyMoveMessagesTask Activated
13:32:21.408 >>> y310 UID MOVE 37868,37875,46456 cesnet␍␊
13:32:21.409 <<< y309 OK Idle completed (0.242 + 0.960 + 1.201 secs).␍␊
13:32:22.839 ThreadingMsgListModel for INBOX Current threading invalidated by changed search
13:32:22.841 >>> y311 CANCELUPDATE "y305"␍␊
13:32:22.842 Imap::Mailbox::ThreadTask Activated
13:32:22.844 >>> y312 UID THREAD REFS utf-8 ALL␍␊
13:32:25.595 <<< * OK [COPYUID 1349102316 37868,37875,46456 2833:2835] Moved UIDs.␍␊
13:32:25.595 <<< * ESEARCH (TAG "y305") UID REMOVEFROM (0 37868,37875,46456)␍␊
13:32:25.595 <<< * VANISHED 37868,37875,46456␍␊
13:32:25.595 <<< y310 OK [HIGHESTMODSEQ 64594] Move completed (4.182 + 0.000 + 4.181 secs).␍␊
13:32:25.595  Warning: unhandled untagged OK with a response code
13:32:25.607 Imap::Mailbox::KeepMailboxOpenTask attached to INBOX Failed: The connection is being killed for unspecified reason
13:32:25.608 Imap::Mailbox::SortTask Failed: The connection is being killed for unspecified reason
13:32:25.608 Imap::Mailbox::CopyMoveMessagesTask Failed: The connection is being killed for unspecified reason
13:32:25.622 Imap::Mailbox::ThreadTask Failed: The connection is being killed for unspecified reason
13:32:25.622 *** Connection killed.
13:32:25.622 MailboxException ESEARCH: there's no such UID␊␊
Comment 1 Christoph Cullmann 2024-09-23 18:50:53 UTC
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/

Sorry for the inconveniences.