Ubuntu One address book not working in Evolution

Bug #753047 reported by Graham Watson
62
This bug affects 15 people
Affects Status Importance Assigned to Milestone
evolution-couchdb (Ubuntu)
Fix Released
Medium
Rodrigo Moya

Bug Description

Binary package hint: evolution

There are similar bugs to this, but I can't see any that contain this exact error message so I thought I should open a new report.

After installing Ubuntu One plus the extension for Evolution and connecting it to my existing account, I open Evolution and click on contacts->CouchDb->Ubuntu One. My online contacts fail to open and instead I get an error box saying:

Unable to open address book

This address book cannot be opened. This either means that an incorrect URI was entered, or the server is unreachable.

Detailed error message: Invalid source

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: evolution 2.32.2-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Thu Apr 7 00:06:23 2011
ExecutablePath: /usr/bin/evolution
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=en_GB:en
 LANG=en_GB.UTF-8
SourcePackage: evolution
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Graham Watson (grahamw-home) wrote :
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Do you have evolution-couchdb installed? If so, can you please quit evolution and then go to a terminal and run the following:

$ killall -9 e-addressbook-factory
$ export COUCHDB_DEBUG_MESSAGES=1
$ /usr/lib/evolution/e-addressbook-factory

then, open Evolution and try to open the U1 addressbook again. When it fails again, please go back to the terminal and paste all the output from the last command to this bug?

affects: evolution (Ubuntu) → evolution-couchdb (Ubuntu)
Changed in evolution-couchdb (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
status: New → In Progress
Revision history for this message
Graham Watson (grahamw-home) wrote :

Hello,

This is interesting. I ran those commands and then loaded up Evolution, only to find that the problem had gone away. I rebooted and the problem has not returned.

The terminal output did not contain any information past the part that said that it was starting the server.

Regards
Graham

Revision history for this message
PeterPall (peterpall) wrote :

Very interesting:

This problem persisted for me for months. It could be temporary fixed by

- logging in
- waiting until the network is up
$ killall -9 e-addressbook-factory
$ /usr/lib/evolution/e-addressbook-factory
- waiting for about 10 seconds
- and starting evolution only then.

but the fix would not persist until the next log-in.

Today I did run

$ killall -9 e-addressbook-factory
$ export COUCHDB_DEBUG_MESSAGES=1
$ /usr/lib/evolution/e-addressbook-factory

...and since then my couchdb addressbook has started working even after restarting the computer. Will watch it for the next few days and see if it really fixed the actual problem - or this time it worked by a pure accident.

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

Ok, closing then for now. Please reopen the bug if you see it again

Changed in evolution-couchdb (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
PeterPall (peterpall) wrote :
Revision history for this message
Cesar Sevilla (c3s4r) wrote :

Hi all, I followed the instructions on https: //wiki.ubuntu.com/ubuntuone/FAQ/WhyArentMyContactsInEvolutionSyncing and still have the same problems, is another solution?

Revision history for this message
Garry Williams (garryd-williams) wrote :

I too am having this issue now. Sheesh, it seems if I'm trading one desktopcouch problem for another!

When I run the above terminal commands I get this output:

dee@NicandDeeLinux:~$ killall -9 e-addressbook-factory
dee@NicandDeeLinux:~$ export COUCHDB_DEBUG_MESSAGES=1
dee@NicandDeeLinux:~$ /usr/lib/evolution/e-addressbook-factory
e-data-server-Message: adding type `EBookBackendWebdavFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `EBookBackendGoogleFactory'
e-data-server-Message: adding type `EBookBackendGalFactory'
e-data-server-Message: adding type `EBookBackendExchangeFactory'
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
Migrating cached backend data
Migrating local backend data
  rmdir /home/dee/.evolution
  FAILED: Directory not empty (contents follows)
          mail
Server is up and running...

After I open Evolution again, I click on U1 contacts, get the same error message (invalid source) but the terminal just hangs at 'Server is up and running...'. Nothing happens after that.

Changed in evolution-couchdb (Ubuntu):
status: Fix Released → In Progress
Changed in evolution-couchdb (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Gary, you don't have evolution-couchdb installed, since if it were installed, it would show a message saying:

e-data-server-Message: adding type `EBookBackendCouchDBFactory'

so please install that package and try again. Closing the bug again, so reopen if it still does not work for you, and if so, please paste the whole output of e-addressbook-factory in the terminal

Changed in evolution-couchdb (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Axel Scholz (axel-scholz183) wrote :

Hi there,
I have just installed Ubuntu 11.04 for the first time and got the same problem.

I did run:
$ killall -9 e-addressbook-factory
$ export COUCHDB_DEBUG_MESSAGES=1
$ /usr/lib/evolution/e-addressbook-factory

But after running Evolution and trying to open Couchdb Adressbook the folloing Error message apears:

GDBus.Error:org.gkt.GDBus.UnmappedGError.Quark_e_2ddata_2dbook_2derror.Code100:Cannot open book:Could not create DesktopcouchSession object

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.