![]() Registered Member ![]()
|
Hi,
since my update to KDE 4.8, I have three Local Folder instances. There is only one agent. They all use the same directory, but differ somewhat in the amount of new mail they display. Only one instance displays the correct amount of unread mail (the others show several more random messages as unread) and contains my tags (task, important etc.). The others don't. Two of the instances show all text in red, the third doesn't. The instance that retained all my mail is one of the red ones. I have no clue what the red text is supposed to tell me, but it's almost as annoying as 3 different local folders. I also cannot read mail in one of the folders in this one; I can read mail in a different folder and I can read mail from the same folder in a different instance. I have tried deleting the Local Folders agent, knowing it would automatically create a new one (if you are reading this because you have a similar problem, don't clone or create a new Local Folders agent. You will end up with 2!). This has helped before but didn't this time. Here's a screenshot: ![]() I have also checked all configuration files and the local-mail folder (/home/[user]/.local/share/local-mail/). Nowhere is any indication why there are three instances displayed (as far as I can tell). In the mail directory (or rather in the hidden .local-mail.directory), all mail files have ":2,S" attached to them (like this one: 1318019279.R44.alvanx:2,S), which to my best knowledge indicates a double email. Akonadi seems to have the bad habit of duplicating email occasionally as you upgrade. Is there any way to fix this? I mean I don't care about this as long as it doesn't show in my 3 instances of Local Folders. In the meantime, I had noticed that despite my settings there were 2 maildir directories active (as in (~/.config/akonadi/agentsrc). I deleted one, which was apparently the wrong one. Apparently, the agent that I had deleted earlier (so that a new Local Folders agent would be created by the program) was not removed at all. In the meantime, I now have 4 instances of Local Folders! I'd be indebted for useful help. Here's akonadiserverrc:
Here's the correspoding section from agentsrc:
EDIT: Discovered a bug to where an agent can only be removed (in akonadiconsole) properly when all the config files for that agent are in place, namely the one for online/offline in .config/akonadi and the one in .kde4/share/config/ as well as the entry in .config/akonadi/agentsrc. After making sure that there is no other rebel instance of Local Folders, I am back from four to 3 now and it seems clear that there's something wrong with this particular agent. I'll try deleting it again. EDIT2: Deleting worked this time, but the problem persists. |
![]() Administrator ![]()
|
Text in red means "broken" resource, i.e. thast it cannot be accessed for a variety of reasons. Nevertheless, this is quite strange. Do you have any meaningful errors in ~/.xsession-errors when you start up kmail?
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
Not sure how much of this applies, but this is it:
EDIT: Edited out my email addresses. |
![]() Administrator ![]()
|
This looks like one of the rogue resources. I think it would be wise to post a bug to bugs.kde.org with a detailed description of the problem, as I'm not sure whether there is some inconsistency in your Akonadi database or you (by chance) hit a bug.
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
Thanks for your help up to this point. I posted the bug report here: https://bugs.kde.org/show_bug.cgi?id=292679
There is clearly a problem with akonadi duplicating agents. Look at my current agentsrc. There's a second maildir agent AGAIN, and there are about 8 contacts resources listed - I should have 3 and no more. Same with calender resources; there should be 2+birthdays.
|
![]() Registered Member ![]()
|
Ok jfyi, I was able to delete all the duplicate agents and there was no problem as to that they would have reappeared. But there was no luck getting rid of the duplicate Local Folders. Starting a new akonadi database took care of that problem, but caused another one. It never ends.
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]