flathub / org.kde.kontact

https://flathub.org/apps/details/org.kde.kontact
4 stars 9 forks source link

After deleting a few emails kontact wont display any new messages. #28

Open detrout opened 5 years ago

detrout commented 5 years ago

After deleting a few IMAP messages Kontact just shows the progress bar animation and when expanded says "Moving Messages". When I cancel the moving messages and click on other messages I get the "Retrieving Folder Contents please wait" message.

detrout commented 5 years ago

If I restart kontact the UI shows no mail.

I have to restart akonadi for it to start working again. I noticed there were a few log messages that might be relevant? I have an IMAP and EWS account setup, but I was just modifing the IMAP account in this case.

QIODevice::read (QLocalSocket): device not open
QIODevice::read (QLocalSocket): device not open
QIODevice::read (QLocalSocket): device not open
QIODevice::read (QLocalSocket): device not open
org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier 'akonadi_imap_resource_0', error message: ''"
ProtocolException thrown:Failed to write data to stream
org.kde.pim.akonadiserver: Protocol exception: Failed to write data to stream
org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier 'akonadi_imap_resource_0', error message: ''"
detrout commented 5 years ago

And after seeing some dbus errors I deleted a bunch of mail while dbus-monitor was running. These were some of the last messages before it was stuck waiting.

signal time=1553644112.290019 sender=:1.589 -> destination=(null destination) serial=968 path=/; interface=org.freedesktop.Akonadi.Agent.Status; member=status int32 1 string "Retrieving extra folder information for 'INBOX'" signal time=1553644112.293231 sender=:1.565 -> destination=(null destination) serial=7360 path=/AgentManager; interface=org.freedesktop.Akonadi.AgentManager; member=agentInstanceStatusChanged string "akonadi_imap_resource_0" int32 1 string "Retrieving extra folder information for 'INBOX'" signal time=1553644112.301697 sender=:1.589 -> destination=(null destination) serial=969 path=/; interface=org.freedesktop.Akonadi.Resource; member=attributesSynchronized int64 18 signal time=1553644112.301847 sender=:1.589 -> destination=(null destination) serial=970 path=/; interface=org.freedesktop.Akonadi.Agent.Status; member=status int32 0 string "Ready" signal time=1553644112.306444 sender=:1.565 -> destination=(null destination) serial=7361 path=/AgentManager; interface=org.freedesktop.Akonadi.AgentManager; member=agentInstanceStatusChanged string "akonadi_imap_resource_0" int32 0 string "Ready" signal time=1553644113.194731 sender=:1.589 -> destination=(null destination) serial=973 path=/; interface=org.freedesktop.Akonadi.Agent.Status; member=percent int32 100 signal time=1553644113.207025 sender=:1.589 -> destination=(null destination) serial=975 path=/; interface=org.freedesktop.Akonadi.Agent.Status; member=status int32 0 string "Ready"