[Kde-pim] [SORT-OF-SOLVED] Re: More breakage on upgrade to 4.4.3

Tobias Koenig tokoe at kde.org
Tue May 25 09:43:08 BST 2010


On Tue, May 25, 2010 at 01:38:02PM +0530, Raj Mathur (????????? ???????????????) wrote:
> Hi Tobias,
Hej Raj,

> > No idea about this one, never saw this before... Could it be that
> > some migration tool is running on every startup for you, which tries
> > to migrate your old resources?
> 
> Yes it does.  Some Resource Migrator pops up whenever I start 
> kaddressbook or kmail, gives some "Unable to migrate to compatibility 
> bridge" or similar messages and then vanishes after a while.  No clue 
> where this is coming from.  Can give you exact messages if you like.
Then this might be the problem...

> Isn't there a scripting interface to add contacts to kaddressbook 
> anymore?
Well, the KDE bindings guys provide a scripting API for nearly all
KDE libraries for various programming languages, so if you don't want
to use C++, use the bindings instead.

> I could be wrong, but I was under the 
> impression that KDE had a policy about making all interfaces scriptable; 
> has that changed?
scriptable != dbus

Scriptable means you can access an interface with a script language, therefor
you need bindings for the script language (see comment above).

DBus is an inter-process-communication protocol, which was kind of missused in
KDE-PIM to do data handling (which should nowaday be done with Akonadi instead).

> 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
Well, this has been a complete new technology (DCOP vs. DBus), of course the
interface changed...

> In 4.4.3 I have no clue what the command is, but it definitely has 
> changed:
There is no DBus API anymore... you should use Akonadi directly instead.

Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100525/af141d01/attachment.sig>
-------------- next part --------------
_______________________________________________
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