SUMMARY When starting up kontact, the inbox icon under IMAP Account spins forever. The message list is empty. No message is displayed. STEPS TO REPRODUCE 1. Start kontact OBSERVED RESULT Message list is empty. EXPECTED RESULT My email message list full of email. I have more than 150k messages in my inbox. SOFTWARE VERSIONS (available in About System) KDE Plasma Version: 5.13.5 KDE Frameworks Version: 18.04.3 Qt Version: 5.11.1 Kontact: Version 5.8.3 ADDITIONAL INFORMATION How do you go about troubleshooting this? It's doing something. I see popup notifications that I have new emails. But message list is empty. I wished that it was more verbose so that I could diagnose what is happening. I see this written to command line: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) org.kde.pim.akonadicontrol: Executable "akonadi_knut_resource" for agent "akonadi_knut_resource" could not be found! "No file selected." org.kde.pim.maildispatcher: Item 2852642 does not have the required attribute Address. org.kde.pim.maildispatcher: Item 2847052 does not have the required attribute Address. org.kde.pim.maildispatcher: Item 2846814 does not have the required attribute Address. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) ProtocolException thrown:Failed to write data to stream org.kde.pim.akonadiserver: Protocol exception: Failed to write data to stream Is that related? Something is failing to work and it's not saying something is wrong. What do I need to look at to see why kontact isn't working? Thanks.
When I run "akonadictl restart", I can briefly see the message list. Then email pane in lower right corner goes black. And then both message list and email viewer turn white. This is printed on the command line: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) org.kde.pim.akonadicontrol: Executable "akonadi_knut_resource" for agent "akonadi_knut_resource" could not be found! org.kde.pim.calendarview: Agenda::removeIncidence() Failed to remove "a0225bad-cb82-4ed0-b177-6a4189b853b1" org.kde.pim.akonadicontrol: "AgentManager::agentInstanceSynchronizeCollection" Agent instance "akonadi_imap_resource_0" has no resource interface! org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier 'akonadi_imap_resource_0', error message: ''" "No file selected." org.kde.pim.maildispatcher: Item 2852642 does not have the required attribute Address. org.kde.pim.maildispatcher: Item 2847052 does not have the required attribute Address. org.kde.pim.maildispatcher: Item 2846814 does not have the required attribute Address. Does this indicate any kind of problem that I can look into for more information?
The problem that I'm seeing seems to a communication problem between akonadi and kontact. I found some other bug reports online about various errors that I'm seeing which suggested installing akonadiconsole. If I go into the IMAP Account Agent and do various combinations of Synchronize Collection Tree, Toggle Offline twice, and Synchronize All. And occassionally akonadictl restart, I can get it working. Barely. Hope this sheds some light on the problem.
The knut resource is only used by unittests, it's very strange that it would show up in your setup !? The message "ProtocolException thrown:Failed to write data to stream" makes me think this is a duplicate of https://bugs.kde.org/show_bug.cgi?id=401692
Looks like a dbus issue: org.kde.pim.akonadicontrol: "AgentManager::agentInstanceSynchronizeCollection" Agent instance "akonadi_imap_resource_0" has no resource interface! org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier 'akonadi_imap_resource_0', error message: ''" "No file selected." is this still valid?
I have upgraded through 4 major versions of kontact since then. Right now my biggest problem is email I delete suddenly reappears 5 or 10 minutes later. I suppose its not getting deleted in the imap server and it rediscovers it next poll. This really isn't fun because I have to delete email 3 or 4 times to really get it deleted. So, no. This problem went away with one of the upgrades. I suppose it can be closed.
OK, thanks for the feedback.