On Saturday 10 August 2013 12:27:02 Pali Rohár wrote:
> On Monday 15 July 2013 14:56:55 you wrote:
> > Hello,
> > 
> > I wrote akonadi plugin for contacts. But plugin does not
> > working on testing machine where is akonadi and nepomuk
> > installed and running. Code is here:
> > 
> > http://quickgit.kde.org/?p=clones/trojita/pali/trojita.git&a
> > =commit&h=b44dd6 cd553dd7266198220c6bcede7facfbcf49
> > 
> > (it is in branch pali-gsoc-merge)
> > 
> > Problem is that it always return empty list of contacts and
> > I do not know why. I read both api pages for akonadi
> > contacts:
> > 
> > http://techbase.kde.org/Development/AkonadiPorting/AddressBo
> > ok http://api.kde.org/4.x-api/kdepimlibs->
> > apidocs/akonadi/contact/html/classAkonadi_1_1ContactSearchJ
> > ob.html
> > 
> > And my code is very simlilar to above example code. But
> > akonadi job still return empty list of contacts. I'm sure
> > that I have contacts which match trojita search request (I
> > check it in new kaddressbook and also in akonadiconsole). I
> > also disabled search pattern (api say that then it returns
> > all contacts) and still list of addresses is empty.
> > 
> > So I think this is akonadi bug and not in my code. It looks
> > like I'm not alone with this problem. Here are developers
> > with same problem. Look at first results from google:
> > 
> > http://comments.gmane.org/gmane.linux.debian.user.kde/26659
> > http://lists.kde.org/?l=kde-pim&m=129923342305966
> > 
> > And if KMail (2) which using akonadi has same code for
> > autocompletion email addresses in compose new mail, then I
> > bet this is reason why it not working in Kmail (on my
> > testing machine).
> > 
> > Kevin can you look at my akonadi code if it is OK? Or can
> > somebody else test if akonadi plugin for trojita email
> > address autocompletion working?
> 
> Akonadi plugin started working on my testing machine :-)
> Problem was somewhere in akonadi/nepomuk settings.
> 
> Here are steps what I done:
> 
> 1. open systemsettings --> personal informations --> and add
> some addressbook resource (I used vcard directory) and make
> sure that akonadi server is running 2. open systemsettings
> --> desktop search --> and enable all 3 nepomuk index
> checkboxes and make sure that nepomuk indexer/server is
> running 2. open nepomukpimindexerutility --> and right click
> "index" on addressbook resource added in step 1, then wait
> 
> After waiting some time (I think until nepomuk finished
> indexing) autocompletion in trojita composer with akonadi
> plugin working.

If somebody who has installed KDE4 with Akonadi can test if 
Trojita akonadi addressbook plugin working fine (after indexing 
nepomuk addressbook)?

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to