[Kde-pim] Problem with akonadi-java: ProtocolException: Invalid command argument

Kevin Krammer kevin.krammer at gmx.at
Tue Aug 18 08:57:59 BST 2009


Hi Fabian,

On Monday, 2009-08-17, Fabian Köster wrote:

> Thats what the debugger prints:

[snip]

> 0x92efb38 3 FETCH
> 0x92efb38 3 NO Invalid command argument

FETCH didn't get the () part

> > > I am using the Akonadi-Server from current Ubuntu Karmic. Can you help
> > > me getting around this exception?
> >
> > Which version is that?
>
> The version of akonadi-server I tested with is 1.2.0-0ubuntu1

Ah.
This version has a bug in its parser which isn't triggered by the C++ client 
library. I fixed it in trunk, though we still have to backport it to the 1.2 
branch.

It might be possible to work around it in the Java code by explicitly flushing 
the stream when writing the command.

In case you are using IRC, I will be on #akonadi (freenode network) later on, 
nick is krake.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090818/44033f49/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