Created attachment 54170 [details] konsole output Version: 2.0.89 (using Devel) OS: Linux On each start of kmail I receive following error message: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." Reproducible: Always
> grep akonadi .kde4/share/config/kmail* ... .kde4/share/config/kmail2rc:[Resource akonadi_mixedmaildir_resource_0] .kde4/share/config/kmail2rc:[Resource akonadi_pop3_resource_0] ... > grep resource .kde4/share/config/* ... Alt + F2: akonadi or kmail > settings > accounts > receiving
(In reply to comment #1) What do you try to tell me? I already did a 'rm -f ~/.kde4/share/config/*kmail*' and 'rm -f ~/.kde4/share/config/*akonadi*' in hope it fixes it. And then I filed this bug report ...
Created attachment 54198 [details] Akonadi settings with a standard KMail-Maildir
Created attachment 54218 [details] settings ...
Created attachment 54219 [details] my settings I deleted in Akonadi settings 'Local Folders, KMail Folders' and added 'KMail-Maildir'.
> cat specialmailcollectionsrc [SpecialCollections] DefaultResourceId=akonadi_maildir_resource_4 > cat akonadi_maildir_resource_4rc [General] Path[$e]=$HOME/.local/share/local-mail
After some manual editing the *rc files I could make kmail2 'starting'. 'Starting' because there is a really stupid bug left: ▼ Lokale Ordner │ ├ Entwürfe (empty) │ ├ Postausgang (empty) │ ├ Posteingang (empty) │ ├ Versendete Nachrichten (empty) │ ├ Vorlagen (empty) │ ├ drafts (empty) │ ├ inbox (all new incoming mails) │ ├ outbox (empty) │ ├ sent-mail (empty) │ ├ templates (empty) │ └ trash (empty) ▼ mail ├ drafts (empty) ▼ inbox (all old mails from kmail era - not in subfolders as in kmail era) │ ├ JohannesObermayr (empty) │ ├ kde-doc-english (empty) │ ├ [...] (all empty) │ └ l10n-kde4 (empty) ├ outbox (empty) ├ sent-mail (empty) ├ templates (empty) └ trash (empty) I am wondering some parts are translated: bug 258926 ... I can receive mails from my pop.gmx.net resource. But I cannot send mails: 'There were problems trying to queue the message for sending: Message has invalid sent-mail folder.' As you see there is much work left for a working automatically migration ... Please do not call me 'DAU'. But a migration tool must be useable by DAU without manual adaptions ... ;-)
Oh I forgot to mention. All my mails in 'sent-mail' folder seems to be lost :-(
Created attachment 54272 [details] DAU > i=sent-mail; echo $(($(dir .kde4/share/apps/kmail/mail/$i/cur/|wc -l)+$(dir .kde4/share/apps/kmail/mail/$i/new/|wc -l)-2)) > wc --help If I check all folders i with Konsole all mail counts are correct. I my 'experimental' phase I had some mails only in the akonadi data base. With kfind > content > containing text, I could locate those 7 missing mails. I moved them with kmail to 'Local Folders' and then back. Now mail counts are consistent.
I still get the same error with kmail 4.6 rc2 on Kubuntu 10.10 (Maverick) Akonadi uses: cat ~/.config/akonadi/agent_config_akonadi_maildir_resource_4 [Agent] Online=true Name=Local Folders It's still not clear from the thread for me what the real problem is, and especially how to fix the settings to get a) the migration tool accept the resource b) finally fix the migration tool ;)
Created attachment 55886 [details] example with kmail 1.13.5 openSUSE 11.2 (i586), 4.5.95 (4.6 RC2), KMail Version 1.13.5 (not kmail2): .kde4/share/apps/kmail/mail/ is my maildir. Going back from kmail2 to kmail1 I deleted the kmail2 resources. No errors anymore.
This bug is now fixed. Look at release KDE 4.9 and https://bugs.kde.org/show_bug.cgi?id=124111