[Kde-pim] issues inserting/retrieving collection from akonadi

Alan Alvarez aalvarez at aliensoft.net
Wed Oct 21 03:46:24 BST 2009


2009/10/13 Volker Krause <vkrause at kde.org>

> On Tuesday 13 October 2009 15:25:20 Alan Alvarez wrote:
> > The code is in svn trunk in the openchange resource. You would need a
> > MS exchange server to be able to test it though.
> >
> > I get the same results with akonadiconsole. Except in akonadi console
> > the header information (to:n from:)never shows. In mailody it shows,
> > until you click on the item, at which point it disappears from the
> > screen.
>
> Does this also happen when using another resource, eg. a local maildir? If
> yes
> it's probably an ETM bug and we should be able to reproduce (and fix) it
> here. If not it's likely a problem on how message parts are delivered by
> exchange (fetching the body does not include the headers again I guess?)
> and
> how the serializer deals with that.
>
> regards
> Volker
>
> _______________________________________________
> 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/
>

Apparently it does have to do with the serializer. I'm getting the following
error:
akonadiconsole(12005)/akonadiserializer (mail)
Akonadi::SerializerPluginMail::deserialize: Akonadi KMime Deserializer: Got
invalid envelope:  ()
akonadiconsole(12005)/libakonadi Akonadi::ItemSerializer::deserialize:
Unable to deserialize payload part: "ENVELOPE"
akonadiconsole(12005)/akonadiserializer (mail)
Akonadi::SerializerPluginMail::deserialize: Akonadi KMime Deserializer: Got
invalid envelope:  ()
akonadiconsole(12005)/libakonadi Akonadi::ItemSerializer::deserialize:
Unable to deserialize payload part: "ENVELOPE"
akonadiconsole(12005)/akonadiserializer (mail)
Akonadi::SerializerPluginMail::deserialize: Akonadi KMime Deserializer: Got
invalid envelope:  ()
akonadiconsole(12005)/libakonadi Akonadi::ItemSerializer::deserialize:
Unable to deserialize payload part: "ENVELOPE"

I'm trying to find where the deserializer plugin for for rfc822 messages to
look through the code and see if I can spot something special.

>From what I can tell, I'm adding the headers in the same Mailody does. This
is what I based my code when I first wrote it and from what I can see much
hasn't changed there either. I'd appreciate if you guys could guide me to
where the code for the deserializer is so I can go through it, or help my in
any other way you see fit.

Thank you

-- 
regards,

Alan Alvarez
_______________________________________________
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