[Bug 93203] kmail always start when loggin, regardless of session

MartinG gronslet at gmail.com
Wed May 6 12:21:57 BST 2009


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





--- Comment #8 from MartinG <gronslet gmail com>  2009-05-06 13:21:54 ---
I've seen this problem less frequently after disabling the KOrganizer reminder
daemon (ie. make it *not* start on login). Also, I read an interesting comment
from Ingo Klöcker [1]:
  This problem did already exist in KDE 3.5. The problem is that both, 
  KMail and Kontact provide the service DBUS/ResourceBackend/IMAP

This is what I've got (Fedora Rawhide):
$ find /usr -name '*.desktop' -print0 | xargs -0 grep
'DBUS/ResourceBackend/IMAP'
/usr/share/applications/kde4/KMail.desktop:X-KDE-ServiceTypes=DBUS/ResourceBackend/IMAP,DBUS/Mailer
/usr/share/kde4/servicetypes/dbusimap.desktop:X-KDE-ServiceType=DBUS/ResourceBackend/IMAP

So, whenever an application wants to access an imap addressbook or imap
calendar, this will result in kmail getting started (and not the dbusimap
thingy). This is pretty consistent with what I am seeing - if I eg. try to
syncronize my phone and kdepim using opensync, I get the same behaviour (first,
close kontact/kmail):
$ msynctool --sync mobile-kdepim
Synchronizing group "mobile-kdepim"
libopensync-kdepim-plugin(12827)/kresources Kolab::KMailConnection::checkReply:
D-Bus communication failed. Reply error is: 
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path
'/Groupware'") Last interface error was:  QDBusError("", "")
libopensync-kdepim-plugin(12827)/kdepimlibs (kabc): "Unable to open resource
'imap address book'!"
libopensync-kdepim-plugin(12827)/kresources Kolab::KMailConnection::checkReply:
D-Bus communication failed. Reply error is: 
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path
'/Groupware'") Last interface error was:  QDBusError("", "")
Member 2 of type kdepim-sync had an error while connecting: Unable to lock
addressbook for writing.
Member 1 of type syncml-obex-client had an error while connecting: Bluetooth
connect error
All clients have disconnected
The sync failed: Unable to connect one of the members
Error while synchronizing: Unable to connect one of the members

And KMail is started during this (failed) sync.

Moreover (first close kmail/kontact):
$ kabcclient -L
kabcclient(13037)/kresources Kolab::KMailConnection::checkReply: D-Bus
communication failed. Reply error is: 
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path
'/Groupware'") Last interface error was:  QDBusError("", "")
kabcclient(13037)/kdepimlibs (kabc): "Unable to open resource 'imap address
book'!"

KMail is again started.

(I also tried "konsolekalendar --view", but got a Segmentation fault)

Now - how should I proceed in debugging/work around this? Should I modify
/usr/share/applications/kde4/KMail.desktop to not include
DBUS/ResourceBackend/IMAP?


[1] http://thread.gmane.org/gmane.comp.kde.devel.pim/22948/focus=22949

-- 
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