Bug 284335 - "mail: Unable to append item flags" unable to add former maildir to kmail - akonadi resource
Summary: "mail: Unable to append item flags" unable to add former maildir to kmail - a...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 08:14 UTC by Marcus
Modified: 2017-01-07 22:49 UTC (History)
0 users

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 Marcus 2011-10-18 08:14:18 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

Problem: After upgrading to kubuntu 11.10 I can neither add a working Akonadi ressource nor import old messages via KmailCVT.
If I add a akonadi local resource (using the former ~/.kde/share/app/kmail/mail folder) the resource itself seems to be fine, but starting kmail I get

"mail: Unknown error. (Unable to append item flags.)"
Same if I try to import via KmailCVT. KmailCVT stops then and hangs, I have to kill it and nothing was importet.

Before upgrading I had Version 4.7.1 installed (already successful using Akonadi) After upgrading there have been no more emails in the upgraded installation. An automatic migration didn't run during installation, as the migration was done with 11.04 already.

Any help available? At least how to import?

Reproducible: Always

Steps to Reproduce:
Delete Akonadi resource and make a new one - still the same
Restart Akonadi
Start import again


Actual Results:  
cant use mails from version 4.7.1

Expected Results:  
shouldn't make any problem
Comment 1 Marcus 2011-10-18 10:57:53 UTC
seems's like the mailfolders have changed. I closed all akonadi needing programs and stopped the akonadi server. Than copied all my mail folders from ~/.kde/share/app/kmail/mail/ to ~/.local/share/local-mail/. Afterwards renamed all the Akonadi databases in ~/.local/share/akonadi adding a ".bak". Than started Akonadi server again. After starting Kmail I refreshed all the folders in Kmail. It takes a long long time! Folder by folder it shows the "imported" emails again.

Why kmail and kmailcvt were complaining about the item flags - and impossible to regulary import or add the database - I am not shure with, but I think, the most important was unabling the old databases and let them rebuild. So be careful, this is just a users experience, maybe not a safe way. (actualy I had all files backuped before)
Comment 2 Dominik Haumann 2012-01-28 11:55:32 UTC
Hi, I'm having the same problem trying to import a mbox-file from kmail1 with kmailcvt into kmail2 in KDE 4.8.0:

Error: Could not add message to folder MBOX-dh. Reason: Unknown error. (Unable to append item flags.)

In other words, it seems impossible to import mails for me...
Comment 3 Dominik Haumann 2012-01-28 11:56:03 UTC
Maybe related to bug #288816.
Comment 4 Denis Kurz 2016-09-24 18:11:45 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 22:49:10 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.