Re: Problems getting changes

Sushma Rai <[email protected]>
Newsgroups gmane.comp.gnome.evolution.devel
Message-ID <[email protected]>
Hi,

Not very sure, but
e_book_open() is successful?
Do you have many address books? 
Which one is marked as default address book?

Thanks,
Sushma.

On Wed, 2006-04-19 at 13:31 +0200, Armin Bauer wrote:
> Hi,
> 
> the evolution2 opensync plugin has stopped working for me, but i cannot
> see the reason. The code basically looks like this (note that the
> problem only occurs if i call the default_addressbook function):
> 
> if (!(env->addressbook = e_book_new_default_addressbook(&gerror))) {
> 	//Error handling
> 	g_clear_error(&gerror);
> 	return FALSE;
> }
> 
> if (!e_book_open(env->addressbook, TRUE, &gerror)) {
> 	//Error handling
> 	return FALSE;
> }
> 
> if (!e_book_get_changes(env->addressbook, env->change_id, &changes, NULL)) {
> 	//Error handling
> 	return;
> }
> 
> The problem is that the changes list is empty even if there were changes
> (adds, modifications and deletes). Any idea what could be wrong?
> 
> 
> My system:
> 
> debian unstable
> 
> evolution-data-server 1.4.2.1-2
> evolution 2.4.2.1-2
> 
> 
> Best Regards,
> Armin Bauer
> 
> _______________________________________________
> Evolution-hackers mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.