Bug 320525 - akonadi insist on creating duplicate local maildir agent
Summary: akonadi insist on creating duplicate local maildir agent
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.10
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 11:09 UTC by kavol
Modified: 2017-01-07 22:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2013-05-31 11:09:34 UTC
I have troubles with kmail - it freezes(*) trying to display anything from local folders.

(*) I mean it doesn't display the selected email body, and after that, it refuses to display any email from any other folder. It isn't "freeze" in the sense that I couldn't do anything, it just stops displaying emails. After quitting and starting kmail again, I can display any of emails on IMAP, but once I try to display something from the local folders, it "freezes" again.

So I've tried some magic via akonadiconsole (like switching the particular resource online/offline, checking the configuration etc.) This did not help.

On some subsequent akonadiconsole start, I've noticed in the browser that there are two sets of the same local folders. Switching to agents listing, I've noticed there are two "Maildir" resources, identified akonadi_maildir_resource_0 and akonadi_maildir_resource_1. So I've removed the second one.

But that led to creating another agent named "Lokální složky" identified akonadi_maildir_resource_2.

So I've removed that one and got another "Lokální složky" identified akonadi_maildir_resource_3. Hm, interesting, on next akonadiconsole start the name got changed to "Maildir".

So I've removed that one and ... guess what I got?

Note that after each removal, akonadi starts spitting out messages like this until its restart:

akonadi_maildispatcher_agent(15988)/libakonadi: Resource id's don't match:  "akonadi_maildir_resource_2" "akonadi_maildir_resource_1" 


Reproducible: Always
Comment 1 kavol 2013-05-31 11:24:50 UTC
one more note ... looking into configuration, the agents created as even have this:

Path[$e]=$HOME/.local/share/akonadi_maildir_resource_2
Path[$e]=$HOME/.local/share/akonadi_maildir_resource_4
etc.

while the odd ones have
Path[$e]=$HOME/.local/share/local-mail

(which is the correct location)
Comment 2 Stefan Seide 2013-11-14 21:58:43 UTC
same for me

Debian Testing (kdepim-runtime / libkdepim4 4:4.10.5-2)
Comment 3 Denis Kurz 2016-09-24 20:35:16 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:04:40 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.