All of a sudden, Kmail will not start. I get this error:
The Email program encountered a fatal error and will terminate now. The error was: Could not create collection sent-mail, resourceId: 8
In my system log, I see more details:
Jul 29 17:24:32 tfr akonadiserver[1661]: DB error: "Duplicate entry '4-sent-mail' for key CollectionTable_parentAndNameIndex'" Jul 29 17:24:32 tfr akonadiserver[1661]: Error text: "Duplicate entry '4-sent-mail' for key 'CollectionTable_parentAndNameIndex' QMYSQL3: Unable to execute statement" Jul 29 17:24:32 tfr akonadiserver[1661]: Query: "INSERT INTO CollectionTable (remoteId, remoteRevision, name, parentId, resourceId, enabled, syncPref, displayPref, indexPref, cachePolicyInherit, cachePolicyCheckInterval, cachePolicyCacheTimeout, cachePolicySyncOnDemand, cachePolicyLocalParts, isVirtual) VALUES (:0, :1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14)"
The system offers to report the problem and takes quite a bit of time to upload the core dump and analyze it and then *fails* with this error:
2016-07-29 21:42:15 Analyzing crash data 2016-07-29 21:42:26 WARNING:fedora.client.openidbaseclient:Unable to create /usr/share/retrace-server/.fedora: [Errno 13] Permission denied: '/usr/share/retrace-server/.fedora'
(Now that's irritating.)
I used akonadiconsole to look at the database and there already is a record in the collectionstable with a key of (4, 'sent-mail').
Anyone have a clue why akonadi wants to create another one?
Please excuse any formatting problems in this E-mail message. I had to use Gmail to compose and send it since Kmail won't run!