[Bug 255104] New: KMail fails to start with: Could not create collection

Stephan Johach hunsum at gmx.de
Sun Oct 24 12:48:18 BST 2010


https://bugs.kde.org/show_bug.cgi?id=255104

           Summary: KMail fails to start with: Could not create collection
           Product: kmail2
           Version: 2.0 beta1
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: hunsum at gmx.de


Version:           2.0 beta1 (using KDE 4.5.2) 
OS:                Linux

After switching my user from KDE 4.4 to KDE 4.5 (including kdepim 4.5) I can no
longer start KMail. It fails with

Could not create collection

Reproducible: Always

Steps to Reproduce:
Compiled and installed kde 4.5 (including kdepim 4.5). Switching my KDE 4.4
user to KDE 4.5 results in a startup failure for kmail. Akonadi diagnostic
shows no problems, but the error log states the following on KDE startup:

[akonadiserver] Error during executing query "INSERT INTO CollectionTable
(remoteId, remoteRevision, name, parentId, resourceId, cachePolicyInherit)
VALUES (:0, :1, :2, :3, :4, :5)" :  "Duplicate entry '134-outbox' for key
'parentAndNameIndex' QMYSQL3: Unable to execute statement"
[akonadiserver] Error during insertion into table "CollectionTable" "Duplicate
entry '134-outbox' for key 'parentAndNameIndex' QMYSQL3: Unable to execute
statement"
[/opt/kde4.5/bin/akonadi_maildispatcher_agent]
akonadi_maildispatcher_agent(26031)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::collectionCreateResult: Failed
CollectionCreateJob. "Unbekannter Fehler. (Could not create collection)"
[/opt/kde4.5/bin/akonadi_maildispatcher_agent]
akonadi_maildispatcher_agent(26031)
OutboxQueue::Private::localFoldersRequestResult: Failed to get outbox folder.

Start Kmail. and wait for the error message box.

Actual Results:  
Akonadi diagnostic shows no problems, but the error log states the following on
KDE startup:

[akonadiserver] Error during executing query "INSERT INTO CollectionTable
(remoteId, remoteRevision, name, parentId, resourceId, cachePolicyInherit)
VALUES (:0, :1, :2, :3, :4, :5)" :  "Duplicate entry '134-outbox' for key
'parentAndNameIndex' QMYSQL3: Unable to execute statement"
[akonadiserver] Error during insertion into table "CollectionTable" "Duplicate
entry '134-outbox' for key 'parentAndNameIndex' QMYSQL3: Unable to execute
statement"
[/opt/kde4.5/bin/akonadi_maildispatcher_agent]
akonadi_maildispatcher_agent(26031)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::collectionCreateResult: Failed
CollectionCreateJob. "Unbekannter Fehler. (Could not create collection)"
[/opt/kde4.5/bin/akonadi_maildispatcher_agent]
akonadi_maildispatcher_agent(26031)
OutboxQueue::Private::localFoldersRequestResult: Failed to get outbox folder.


Expected Results:  
KMail should simply start up and work like before. 

Updating my existing kde 4.4 kdepim to 4.5 results in an automatic conversion
to the new nepomuk based akonadi format (whatever this means). There were no
error messages during the conversion, but starting KMail (oder Kontact) always
fails now.

I am not sure if this is in fact only akonadi related and no error of kmail 2.
Perhaps the conversion to the new nepomuk format failed somehow.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list