Evolution lost Ubuntu One contacts, there still in the Couchdb database though

Bug #671507 reported by Nathaniel Homier
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evolution-couchdb (Ubuntu)
New
Low
Rodrigo Moya

Bug Description

Binary package hint: evolution

Evolution lost my Ubuntu One contacts, meaning they don't show up and an error box pops up. I checked the couchdb database and there still there, there just not showing up in Evolution. I don't do anything unusual with Evolution. This has happened before. It happens when I start Evolution.

I have used this fix many times: http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting
The above link usually does not work right away, I have to do it several times in a row before it works.

Here is my original Ubuntu forums thread I made concerning this issue: http://ubuntuforums.org/showthread.php?t=1485295

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evolution 2.28.3-0ubuntu10
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CheckboxSubmission: f28209556208badd1b7f1481d04b096c
CheckboxSystem: 6ce041aeed0a2c17b3343b66d157175d
Date: Fri Nov 5 10:51:57 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evolution

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :
Revision history for this message
Nathaniel Homier (mechamechanism) wrote :
Revision history for this message
Nathaniel Homier (mechamechanism) wrote :
Changed in evolution (Ubuntu):
importance: Undecided → Low
Revision history for this message
Rick Silva (silvari) wrote :

I've run into an issue that is not identical to yours, but has many similarities:

Contacts not synching bidirectionally between Evolution and U1
http://ubuntuforums.org/showthread.php?p=10083548#post10083548

The error dialog in the screenshot you posted above... have seen that a lot. The workaround at https://wiki.ubuntu.com/UbuntuOne/FAQ/WhyArentMyContactsSyncing would often (but not always) result in this error appearing consistently; it wasn't untill I used a variation of this, along with rebooting the machine, that I got back to a state where the error is not thrown (although I'm still having the problem where my contacts from U1 don't show up in Evolution's CouchDB addressbook)

affects: evolution (Ubuntu) → evolution-couchdb (Ubuntu)
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Can you please quit evolution, and, on a terminal, run:

$ /usr/lib/evolution/e-addressbook-factory

and then run evolution again and try opening the Ubuntu One addressbook? Then, please copy all output in the terminal and paste it here

Changed in evolution-couchdb (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Revision history for this message
Rick Silva (silvari) wrote :

Thanks for the response & recommendation Rodrigo.

>> Can you please quit evolution, and, on a terminal, run:
>> $ /usr/lib/evolution/e-addressbook-factory
>> and then run evolution again and try opening the Ubuntu One addressbook? Then, please copy all output in the terminal and paste it here

This results in very many of the following:

(e-addressbook-factory:24408): Couchdb-GLib-CRITICAL **: couchdb_document_contact_get_im_addresses: assertion `COUCHDB_IS_DOCUMENT_CONTACT (document)' failed
(e-addressbook-factory:24408): GLib-GObject-WARNING **: invalid cast from `CouchdbDocument' to `CouchdbDocumentContact'
(e-addressbook-factory:24408): Couchdb-GLib-CRITICAL **: couchdb_document_contact_get_birth_date: assertion `COUCHDB_IS_DOCUMENT_CONTACT (document)' failed
(e-addressbook-factory:24408): GLib-GObject-WARNING **: invalid cast from `CouchdbDocument' to `CouchdbDocumentContact'
(e-addressbook-factory:24408): Couchdb-GLib-CRITICAL **: couchdb_document_contact_get_wedding_date: assertion `COUCHDB_IS_DOCUMENT_CONTACT (document)' failed
(e-addressbook-factory:24408): Json-CRITICAL **: json_object_get_object_member: assertion `node != NULL' failed
(e-addressbook-factory:24408): Json-CRITICAL **: json_object_get_object_member: assertion `node != NULL' failed
(e-addressbook-factory:24408): Json-CRITICAL **: json_object_get_object_member: assertion `node != NULL' failed
(e-addressbook-factory:24408): Json-CRITICAL **: json_object_get_object_member: assertion `node != NULL' failed
(e-addressbook-factory:24408): Json-CRITICAL **: json_object_get_object_member: assertion `node != NULL' failed

Revision history for this message
Rick Silva (silvari) wrote :

Also, since my original comment, my contacts from The Cloud did finally show up in Evolution, but there are still indications of a problem and/or unexpected behavior. Details here: http://ubuntuforums.org/showpost.php?p=10087550&postcount=2

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

I'm not sure that I'm doing this right. Are my terminal commands right?

nate@universal-mechanism:~$ /usr/lib/evolution/e-addressbook-factory
bash: /usr/lib/evolution/e-addressbook-factory: No such file or directory
nate@universal-mechanism:~$ evolution
** (evolution:9369): DEBUG: mailto URL command: evolution %s
** (evolution:9369): DEBUG: mailto URL program: evolution

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Rick: hmm, those warnings are weird, since that part of the code should not be reached if the object is not a CouchdbDocumentContact, so, what version of evo-couchdb and couchdb-glib do you have?

Nathaniel: what version of evolution-data-server do you have? Maybe you have /usr/lib/evolution/evolution-data-server-2.28 instead?

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

nate@universal-mechanism:~$ /usr/lib/evolution/evolution-data-server-2.28
evolution-data-server-Message: Starting server
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
e-data-server-Message: adding type `ECalBackendGoogleTodosFactory'
e-data-server-Message: adding type `ECalBackendGoogleEventsFactory'
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 `EBookBackendGoogleFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
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 `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
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 `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `ECalBackendHttpMemosFactory'
e-data-server-Message: adding type `EBookBackendCouchDBFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
in server_log_handler
evolution-data-server-Message: Server up and running
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + couchdb://127.0.0.1
 => 0x1979180
impl_GNOME_Evolution_Addressbook_Book_open (0x1979180)

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Nathaniel, that's all you get?

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

I re-ran the commands some more to try to get better output. I ran the command 3 times and got 3 different outputs. I'll add them as text attachments.

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

/usr/lib/evolution/evolution-data-server-2.28 Number 1

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

/usr/lib/evolution/evolution-data-server-2.28 Number 2

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

/usr/lib/evolution/evolution-data-server-2.28 Number 3

Revision history for this message
Nathaniel Homier (mechamechanism) wrote :

This time I got a Segmentation fault.

nate@universal-mechanism:~$ evolution --force-shutdown
nate@universal-mechanism:~$ /usr/lib/evolution/evolution-data-server-2.28
evolution-data-server-Message: Starting server
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
e-data-server-Message: adding type `ECalBackendGoogleTodosFactory'
e-data-server-Message: adding type `ECalBackendGoogleEventsFactory'
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 `EBookBackendGoogleFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
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 `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
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 `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `ECalBackendHttpMemosFactory'
e-data-server-Message: adding type `EBookBackendCouchDBFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
in server_log_handler
evolution-data-server-Message: Server up and running
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/nate/.evolution/addressbook/local/system
 => 0x21caf60
impl_GNOME_Evolution_Addressbook_Book_open (0x21caf60)

(process:13706): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains "x-evolution-any-field" ""))

e_data_book_respond_get_book_view
book_view file uref
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + couchdb://127.0.0.1
 => 0x21aed20
impl_GNOME_Evolution_Addressbook_Book_open (0x21aed20)
in server_log_handler
Segmentation fault

Revision history for this message
Rick Silva (silvari) wrote :

@Rodrigo:

>> Rodrigo Moya wrote on 2010-11-15:
>> Rick: hmm, those warnings are weird, since that part of the code should not be reached if the object is not a CouchdbDocumentContact, so, what version of evo-couchdb and couchdb-glib do you have?

user1@homebase:~$ /usr/bin/couchdb -V
couchdb - Apache CouchDB 1.0.1

user1@homebase:~$ locate couchdb-glib
/usr/lib/libcouchdb-glib-1.0.so.2
/usr/lib/libcouchdb-glib-1.0.so.2.0.1
/usr/share/doc/libcouchdb-glib-1.0-2
/usr/share/doc/libcouchdb-glib-1.0-2/NEWS.gz
/usr/share/doc/libcouchdb-glib-1.0-2/README.gz
/usr/share/doc/libcouchdb-glib-1.0-2/TODO
/usr/share/doc/libcouchdb-glib-1.0-2/changelog.Debian.gz
/usr/share/doc/libcouchdb-glib-1.0-2/copyright
/var/lib/dpkg/info/libcouchdb-glib-1.0-2.list
/var/lib/dpkg/info/libcouchdb-glib-1.0-2.md5sums
/var/lib/dpkg/info/libcouchdb-glib-1.0-2.postinst
/var/lib/dpkg/info/libcouchdb-glib-1.0-2.postrm
/var/lib/dpkg/info/libcouchdb-glib-1.0-2.shlibs

Revision history for this message
PeterPall (peterpall) wrote :

The json errors were fixed by the last couchdb update on my system (natty). But contacts still don't sync for me.

Revision history for this message
PeterPall (peterpall) wrote :

Ok... found a workaround for my system:

- Close evolution
- killall e-addressbook-factory
- /usr/lib/evolution/e-addressbook--factory
- Start up evolution again.

...and all ubuntuone addressses will be there until the next reboot.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.