[Evolution-hackers] Can't find installed BookFactories



hello,

when I tried libebook function such as : e_book_new, e_book_new_default_addressbook, e_book_new_system_addressbook to init a EBook, but all of them gave a error message:
WARNING **: Can't find installed BookFactories

1.
      EBook *n_ebook = e_book_new_system_addressbook (NULL);

2.
      vcf_file = "xxx.vcf";  // a exported vcard file from evolution directly
      ESource *s_source = e_source_new_with_absolute_uri(vcf_file, dirname);
      EBook *n_ebook = e_book_new (s_source, NULL);

3.
      EBook *n_ebook = e_book_new_default_addressbook (NULL);

4.
     const char *uri = "~/.evolution/addressbook/local/system";
     EBook *n_ebook = e_book_new_from_uri  (uri, NULL);




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]