There are some inconsistences in libebook on the one hand and desktopcouch on the other hand. libebook returns sometimes NULL on e_contact_get_const, and desktopcouch failes on NULL passed as second argument to desktopcouch_document_contact_set_* (you can it in the logs).
This patch fixes this issue.
I don't know if that's the only problem: (My logs of evolution-data-server-2.28 are at the end)
This patch should fix the 3 CRITICALs but i don't know where the warning
'Could not PUT document: Conflict' comes from since i dont know much about the evolution/couchdb/desktopcouch source.
I hope this patch helps and fix the bug
Florian
$ /usr/lib/evolution/evolution-data-server-2.28
evolution-data-server-Message: Starting server
e-data-server-Message: adding type `EBookBackendGoogleFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `ECalBackendFileTodosFactory'
e-data-server-Message: adding type `ECalBackendFileEventsFactory'
e-data-server-Message: adding type `ECalBackendFileJournalFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `ECalBackendCalDAVEventsFactory'
e-data-server-Message: adding type `ECalBackendCalDAVTodosFactory'
e-data-server-Message: adding type `ECalBackendCalDAVMemosFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
e-data-server-Message: adding type `EBookBackendCouchDBFactory'
e-data-server-Message: adding type `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `ECalBackendHttpMemosFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseTodosFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseEventsFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseJournalFactory'
e-data-server-Message: adding type `ECalBackendGoogleTodosFactory'
e-data-server-Message: adding type `ECalBackendGoogleEventsFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
in server_log_handler
evolution-data-server-Message: Server up and running
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
+ file:///home/florian/.evolution/addressbook/local/system
=> 0x9698e60
impl_GNOME_Evolution_Addressbook_Book_open (0x9698e60)
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
+ file:///home/florian/.evolution/addressbook/local/system
=> 0x96c8d20
impl_GNOME_Evolution_Addressbook_Book_open (0x96c8d20)
There are some inconsistences in libebook on the one hand and desktopcouch on the other hand. libebook returns sometimes NULL on e_contact_ get_const, and desktopcouch failes on NULL passed as second argument to desktopcouch_ document_ contact_ set_* (you can it in the logs). data-server- 2.28 are at the end) couchdb/ desktopcouch source.
This patch fixes this issue.
I don't know if that's the only problem: (My logs of evolution-
This patch should fix the 3 CRITICALs but i don't know where the warning
'Could not PUT document: Conflict' comes from since i dont know much about the evolution/
I hope this patch helps and fix the bug
Florian
$ /usr/lib/ evolution/ evolution- data-server- 2.28 data-server- Message: Starting server server- Message: adding type `EBookBackendGo ogleFactory' server- Message: adding type `EBookBackendVC FFactory' server- Message: adding type `ECalBackendFil eTodosFactory' server- Message: adding type `ECalBackendFil eEventsFactory' server- Message: adding type `ECalBackendFil eJournalFactory ' server- Message: adding type `EBookBackendLD APFactory' server- Message: adding type `ECalBackendCal DAVEventsFactor y' server- Message: adding type `ECalBackendCal DAVTodosFactory ' server- Message: adding type `ECalBackendCal DAVMemosFactory ' server- Message: adding type `EBookBackendWe bdavFactory' server- Message: adding type `EBookBackendFi leFactory' server- Message: adding type `ECalBackendCon tactsEventsFact ory' server- Message: adding type `EBookBackendCo uchDBFactory' server- Message: adding type `ECalBackendHtt pTodosFactory' server- Message: adding type `ECalBackendHtt pEventsFactory' server- Message: adding type `ECalBackendHtt pMemosFactory' server- Message: adding type `ECalBackendGro upwiseTodosFact ory' server- Message: adding type `ECalBackendGro upwiseEventsFac tory' server- Message: adding type `ECalBackendGro upwiseJournalFa ctory' server- Message: adding type `ECalBackendGoo gleTodosFactory ' server- Message: adding type `ECalBackendGoo gleEventsFactor y' server- Message: adding type `EBookBackendGr oupwiseFactory' server- Message: adding type `ECalBackendWea therEventsFacto ry' data-server- Message: Server up and running Evolution_ Addressbook_ BookFactory_ getBook /home/florian/ .evolution/ addressbook/ local/system Evolution_ Addressbook_ Book_open (0x9698e60) Evolution_ Addressbook_ BookFactory_ getBook /home/florian/ .evolution/ addressbook/ local/system Evolution_ Addressbook_ Book_open (0x96c8d20)
evolution-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
e-data-
in server_log_handler
evolution-
impl_GNOME_
+ file://
=> 0x9698e60
impl_GNOME_
impl_GNOME_
+ file://
=> 0x96c8d20
impl_GNOME_
(process:21236): libedata- book-WARNING **: impl_GNOME_ Evolution_ Addressbook_ Book_getBookVie w ((contains "x-evolution- any-field" ""))
e_data_ book_respond_ get_book_ view
book_view file uref
(process:21236): libedata- book-WARNING **: impl_GNOME_ Evolution_ Addressbook_ Book_getBookVie w ((contains "x-evolution- any-field" ""))
e_data_ book_respond_ get_book_ view Evolution_ Addressbook_ BookFactory_ getBook Evolution_ Addressbook_ Book_open (0x96bfc30) Evolution_ Addressbook_ Book_getContact List
book_view file uref
impl_GNOME_
+ couchdb://127.0.0.1
=> 0x96bfc30
impl_GNOME_
impl_GNOME_
in server_log_handler
** (process:21236): CRITICAL **: desktopcouch_ document_ contact_ set_company: assertion `company != NULL' failed
in server_log_handler
** (process:21236): CRITICAL **: desktopcouch_ document_ contact_ set_department: assertion `department != NULL' failed
in server_log_handler
** (process:21236): CRITICAL **: desktopcouch_ document_ contact_ set_office: assertion `office != NULL' failed
in server_log_handler
** (process:21236): WARNING **: Could not PUT document: Conflict
^C