[Kde-pim] [SORT-OF-SOLVED] Re: More breakage on upgrade to 4.4.3
Raj Mathur ( राज =?utf-8?b?IOCkruCkvuCkpeClgeCksA==?=)
raju at linux-delhi.org
Tue May 25 14:31:12 BST 2010
On Tuesday 25 May 2010, Kevin Krammer wrote:
> On Tuesday, 2010-05-25, Raj Mathur (राज माथुर) wrote:
> > On Tuesday 25 May 2010, Kevin Krammer wrote:
> > > On Tuesday, 2010-05-25, Raj Mathur (राज माथुर) wrote:
> > > > In KDE 3 the command to add a an address to kaddressbook was:
> > > > dcop kaddressbook KAddressBookIface importVCard
> > > >
> > > > In KDE 4 up to 4.4.3 the command was:
> > > > qdbus org.kde.kaddressbook /KAddressBook \
> > > >
> > > > org.kde.KAddressbook.Core.importVCard
> > >
> > > Another option would be to use kabcclient, though this requires
> > > the migration or manual configuration of the Akonadi KResource
> > > plugin for contacts.
> >
> > Wunderbar! This is exactly what I need. As I mentioned earlier, I
> > don't particularly want or need to use Akonadi -- the native
> > kaddressbook system suits my limited needs (look up address, add
> > new contact through command line) just fine.
>
> The point I was trying to make is that it uses the KResource API,
> thus has access to storage methods available through KResource
> plugins. Akonadi might be using different ones, so addresses added
> through kabcclient might not show up in KAddressBook if they differ.
I'm a bit confused now... I was under the impression that KAddressBook
and Akonadi are different beasts, and independent except that
KAddressBook feeds into Akonadi. Are you saying that they're
interlinked and KAddressBook won't work without Akonadi at all? And
that KResource (whatever that is!) is another interface to another set
of databases and services?
> However there is a compatibility plugin for contacts which looks like
> a KResource storage plugin to kabcclient but writes into Akonadi
> folders. We call that a client side bridge.
>
> It should work, especially for your use case, but since it is bound
> by the rather limited KResource API, there can be occasional
> glitches when the operations it is supposed to perform do not map
> very well to how Akonadi performs their equivalent.
Right, tried to add a VCard using kabcclient and it works (except for
the irritating KResource Migration Tool pop-up... any way to disable
that?) I can see the new VCard in my directory under .kde/.../kabc/ and
I presume that eventually KAddressBook will pick it up too. Thanks,
this really helps.
Regards,
-- Raj
--
Raj Mathur raju at kandalaya.org http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/ || It is the mind that moves
_______________________________________________
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