[Kde-pim] Re: Item serializer for application/x-vnd.akonadi.calendar.event not found

Thomas McGuire mcguire at kde.org
Tue Mar 8 20:14:28 GMT 2011


Hi,

On Monday, March 07, 2011 05:18:27 PM Thomas McGuire wrote:
> a user of the Facebook resource and I myself have a problem that the
> Facebook resource crashes as soon as it tries to sync events.
> The trouble is that the serializer for KCalCore::Event::mimeType() can't be
> found, instead the DefaultItemSerializerPlugin is used, which eventually
> leads to an exception that is thrown in Akonadi::Item::payloadImpl:
> "Akonadi::PayloadException: Wrong payload type (requested:
> sp(0)<QByteArray>; present: sp(2)<KCalCore::Incidence*>"
> 
> I personally only get this when trying to use the resource with KDEPIM
> 4.4.10, with master it works fine.

The problem is probably that KDEPIM runtime 4.4.10 does not have support for 
KCalCore events, only for KCal legacy, as there is simply no plugin that can 
handle KCalCore types.

How do I write my resource that it supports KDEPIM runtime 4.4.10 and 4.6 at 
the same time?

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110308/79824d2b/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