[Kde-pim] D-Bus Message from KMail (Help!)

Allen Winter winter at kde.org
Sat Nov 15 20:45:47 GMT 2008


On Saturday 15 November 2008 12:44:31 pm Ingo Klöcker wrote:
> On Saturday 15 November 2008, Allen Winter wrote:
> > Hi,
> >
> > When I run KMail stand-alone I see the following message on console
> > output. I've been trying to figure out a fix and give up.
> >
> > kmail(26111)/kresources KRES::Resource::open: Opening resource "imap
> > address book" kmail(26111) KDBusServiceStarter::startServiceFor:
> > starting "/data/kde/share/applications/kde4/Kontact.desktop"
> > kmail(26111) KDBusServiceStarter::findServiceFor: DBus service is
> > available now, as "org.kde.kontact" kmail(26111)/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("org.freedesktop.DBus.Error.UnknownObject", "No such
> > object path '/Groupware'") kmail(26111)/kdepimlibs (kabc): "Unable to
> > open resource 'imap address book'!"
> >
> >
> > Can someone who knows D-Bus please have a look?
> >
Ingo's analysis notwithstanding, the D-Bus message happens
no matter if I start Kontact first or KMail first.  So I do think
something is broken.

> > The other strange thing:  KMail starts, but then so does Kontact.
> > I think Kontact starts because I have a Kolab resource.
> > This isn't good.
> 
I know.. I know.. Akonadi will solve this :)

> This problem did already exist in KDE 3.5. The problem is that both, 
> KMail and Kontact provide the service DBUS/ResourceBackend/IMAP
> 
> # find . -name '*.desktop' -print0 | xargs -0 \
> grep 'DBUS/ResourceBackend/IMAP'
> ./kmail/dbusimap.desktop:X-KDE-ServiceType=DBUS/ResourceBackend/IMAP
> ./kontact/src/Kontact.desktop:X-KDE-ServiceTypes=DBUS/ResourceBackend/IMAP,DBUS/Mailer
> 
> 
> Now the problem is that if you start KMail, then KMail wants to open the 
> address book via the IMAP resource. The IMAP resource asks KDE to start 
> the DBUS/ResourceBackend/IMAP. The first match is Kontact.desktop so 
> KDE tries to start Kontact. Starting Kontact fails because KMail is 
> already running outside of Kontact.
> 
> Maybe the actual problem is that KMail tries to open the address book 
> before it has registered itself for the DBUS/ResourceBackend/IMAP 
> service with D-Bus. Does KMail actually try to register itself actively 
> for this service? Or is this supposed to be handled only via kmail's 
> dbusimap.desktop file?
> 
> 
> FWIW, in KDE 3.5 I have "fixed" this problem on my computer by removing 
> the installed kontactdcop.desktop file (that announced Kontact as 
> provider of the service DCOP/ResourceBackend/IMAP).
> 
> 
> Regards,
> Ingo
> 

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list