Bug 251422

Summary: Kontact cannot start at start up
Product: [Applications] kontact Reporter: Unknown <null>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: montel, tomas.linhart
Priority: NOR    
Version: 0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Strace output

Description Unknown 2010-09-16 10:44:40 UTC
Created attachment 51709 [details]
Strace output

Version:           0.1 (using KDE 4.5.1) 
OS:                Linux

When I start Kontact, it says (via KMKernel::emergencyExit): "The program encountered a severe error, it exits. The error message: Could not create collection". (Only the last sentence is English).

It does not crash, however, just exits.

kontact -v
Qt: 4.7.0
KDE Development Platform: 4.5.1 (KDE 4.5.1)
Kontact: 4.5 beta1

I have a KMail2, KOrganizer and a KJots component loaded.

After starting KMail separately, nothing changed. But after I started KJots separately, somehow Kontact got fixed and starts normally.

I attach the verbose log of strace with which you can track down this bug.

Reproducible: Always




OS: Linux (x86_64) release 2.6.34.4-0.1-desktop
Compiler: gcc
Comment 1 Unknown 2010-09-26 12:44:02 UTC
After trying to start KMail, akonadictl says:

[akonadiserver] Database "akonadi" opened using driver "QMYSQL"
[akonadiserver] Database "akonadi" opened using driver "QMYSQL"
[akonadiserver] Error during executing query "INSERT INTO CollectionTable (remoteId, remoteRevision, name, parentId, resourceId, cachePolicyInherit) VALUES (:0, :1, :2, :3, :4, :5)" :  "Duplicate entry '51-drafts' for key 'CollectionTable_parentAndNameIndex' QMYSQL3: Unable to execute statement"
[akonadiserver] Error during insertion into table "CollectionTable" "Duplicate entry '51-drafts' for key 'CollectionTable_parentAndNameIndex' QMYSQL3: Unable to execute statement"
Comment 2 Unknown 2010-09-26 14:26:13 UTC
...while in KMail's terminal: 

"/usr/bin/kmail(22834)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(22834)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kmail(22834)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(22834)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(22834)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(22834)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(22834)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(22834)" Soprano: "Invalid iterator."
kmail2(22834)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::collectionCreateResult: Failed CollectionCreateJob. "Unknown error. (Could not create collection)"
Comment 3 Denis Kurz 2016-09-24 19:34:17 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:50:31 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.