Bug 227968

Summary: KMail exits prematurely during the first invocation due to an akonadi SNAFU
Product: [Unmaintained] kmail Reporter: Shlomi Fish <shlomif>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kollix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: First log of the unsuccessful invocation.
Second log of the successful invocation

Description Shlomi Fish 2010-02-21 19:56:56 UTC
Version:            (using KDE 4.4.0)
Compiler:          gcc-c++-4.4.3-2mnb2 
OS:                Linux
Installed from:    Mandriva RPMs

KMail exits prematurely during the first invocation due to an akonadi SNAFU . The second invocation appears to be OK. I'm on Mandriva Linux Cooker and I've tried it using IceWM. I'll attach the logs of the first and second invocations soon - meanwhile here are the last lines of kmail1.log  :

<<<<
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"
[/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_1(2286)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope>::fetchResult: Fetch failed: "Unknown error. (Collection 11 does not exist)"
[/usr/bin/akonadi_kcal_resource] akonadi_kcal_resource_0(2287)/kdepimlibs (kcal): Cannot read uid map file ' "/home/shlomi/.kde4/share/apps/kcal/uidmaps/remote_FLwbIRuKkX" '
kdeinit4: Got EXEC_NEW 'kio_http' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(2294)/libakonadi Akonadi::DefaultResourceJob::slotResult: "Unknown resource"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(2294)/libakonadi Akonadi::ResourceScanJob::Private::fetchResult: "Unknown resource"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(2294)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_1" : "Unknown error. (Unknown resource)"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(2294) OutboxQueue::Private::localFoldersRequestResult: Failed to get outbox folder.
[/usr/bin/akonadi_kcal_resource] akonadi_kcal_resource_0(2287)/kdepimlibs (kcal): Cannot read uid map file ' "/home/shlomi/.kde4/share/apps/kcal/uidmaps/remote_FLwbIRuKkX" '
kmail(2203)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "overlay-busy-clock-1.png" 
kmail(2203)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "overlay-busy-clock-2.png" 
kmail(2203)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "overlay-busy-clock-3.png" 
kmail(2203)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "overlay-busy-clock-4.png" 
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kmail(2203)/libakonadi Akonadi::Control::Private::exec: Could not start/stop Akonadi! 
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kmail(2203) main: Unable to start Akonadi server, exit application 
kdeinit4: PID 2369 terminated.
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
kdeinit4: Got EXEC_NEW 'kio_pop3' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/kio_pop3.so
kdeinit4: Got EXT_EXEC '/usr/bin/knotify4' from launcher.
kdeinit4: preparing to launch /usr/bin/knotify4
knotify(2401)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "knotify" 
knotify(2401)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "knotify" 
knotify(2401)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "knotify" 
knotify(2401)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "knotify" 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: PID 2400 terminated.
knotify(2401) KNotify::event: 1  ref= 0
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
kdeinit4: PID 2345 terminated.
kdeinit4: PID 2391 terminated.
kdeinit4: PID 2370 terminated.
kdeinit4: PID 2349 terminated.
kdeinit4: PID 2371 terminated.
kdeinit4: PID 2393 terminated.
>>>>
Comment 1 Shlomi Fish 2010-02-21 19:57:56 UTC
Created attachment 40989 [details]
First log of the unsuccessful invocation.

This is the first log of the unsuccesful invocation.
Comment 2 Shlomi Fish 2010-02-21 19:58:45 UTC
Created attachment 40990 [details]
Second log of the successful invocation

This is the second log of the successful invocation.
Comment 3 Martin Koller 2010-02-27 13:33:46 UTC

*** This bug has been marked as a duplicate of bug 226982 ***