Re: Problems getting changes

Armin Bauer <[email protected]>
Newsgroups gmane.comp.gnome.evolution.devel
Message-ID <[email protected]>

Sushma Rai wrote:
> Hi,
> 
> Not very sure, but
> e_book_open() is successful?

if i use e_book_open, it works correctly

> Do you have many address books? 

only 3

> Which one is marked as default address book?

the "system" addressbook ("Personal")

i played around with evolution a bit more and i has to be considered
completely broken here.

1. The personal addressbook is not created at all if i add a contact. i
can add a contact but i guess that it gets cached. If i kill the eds the
contact is not written to the harddrive and has disappeared.

2. If i add a new addressbook, the addressbook gets created directly
under addressbooks/local. so lets say i add a book "test1" and another
one "test2", both will have the same content (since it does not get
created in a subfolder)

3. if i add a new addressbook, it immediatly shows a messages that it
could not access addressbook/local (but it is accessible)

Dont know if this has to do with it, but the debian package install
eds-1.4 under /usr/lib/evolution-data-server-1.2. when i start the eds i
get: "Could not open camel provider directory
(/usr/lib/evolution-data-server-1.2/camel-providers): No such file or
directory"

Best Regards,
Armin Bauer

> 
> 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
>

_______________________________________________
Evolution-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-hackers
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFER0oEq9z7v9k9UakRAgF5AKCOvQu/QUZpbapteekvQ9pGlgFIlQCfYzIF
0vROQMOSe+zIdeGP1C/XX0M=
=9Kjj
-----END PGP SIGNATURE-----
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.