Cannot update contact in UbuntuOne Couch DB

Bug #781400 reported by Rick Wilke
44
This bug affects 14 people
Affects Status Importance Assigned to Milestone
evolution-couchdb (Ubuntu)
Confirmed
High
Rodrigo Moya

Bug Description

Binary package hint: evolution

Updated to 11.04. Ubuntu Contacts synched to Evolution and contain the Category information. I attempted to add a Category to a contact. Got the message: "GDBUS.ERROR:org.gtk.GDBUS.UNMAPPEDGERROR.Quark._e_2ddata_2dbook_2derror.Code400: Cannot modify contact:BadRequest

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: evolution 2.32.2-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic i686
Architecture: i386
Date: Wed May 11 16:35:17 2011
ExecutablePath: /usr/bin/evolution
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evolution
UpgradeStatus: Upgraded to natty on 2011-05-02 (9 days ago)
XsessionErrors:
 (<unknown>:1227): dee-WARNING **: Transaction from com.canonical.Unity.ApplicationsPlace.SectionsModel is in the past. Ignoring transaction.
 (<unknown>:1227): dee-WARNING **: Transaction from com.canonical.Unity.ApplicationsPlace.GroupsModel is in the past. Ignoring transaction.
 (<unknown>:1227): dee-WARNING **: Transaction from com.canonical.Unity.ApplicationsPlace.GlobalGroupsModel is in the past. Ignoring transaction.
 (<unknown>:1227): dee-WARNING **: Transaction from com.canonical.Unity.ApplicationsPlace.RunnerGroupsModel is in the past. Ignoring transaction.

Revision history for this message
Rick Wilke (rick70433a) wrote :
affects: evolution (Ubuntu) → evolution-couchdb (Ubuntu)
Changed in evolution-couchdb (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Changed in evolution-couchdb (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

This should be fixed with the latest packages in Natty, so please reopen if it's not for you

Changed in evolution-couchdb (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Rick Wilke (rick70433a) wrote :

I just ran Synaptic and updated. Attempted to add a Category to a Contact and got the same error message. What do you need me to do to help debug?

Revision history for this message
sam tygier (samtygier) wrote :

seen this error today on natty. i am up to date. I am paired to another local computer using the couchdb paring tool

Changed in evolution-couchdb (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Sam/Rick, can you please quit evolution and, on a terminal, run the following:

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

then open evolution and try accessing the U1 addressbook and when it's shown the error again, please copy the whole output in the terminal and paste it here

Revision history for this message
sam tygier (samtygier) wrote :

sam@hydrogen:~$ COUCHDB_DEBUG_MESSAGES=1 /usr/lib/evolution/e-addressbook-factory
e-data-server-Message: adding type `EBookBackendGalFactory'
e-data-server-Message: adding type `EBookBackendExchangeFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `EBookBackendCouchDBFactory'
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendGoogleFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
Migrating cached backend data
Migrating local backend data
  rmdir /home/sam/.evolution
  FAILED: Directory not empty (contents follows)
          tasks
Server is up and running...
Couchdb-GLib-DEBUG: Sending GET to http://127.0.0.1:5984/contacts/... with headers:

** (e-addressbook-factory:22787): WARNING **: Could not get CouchDB database info: Cannot connect to destination (127.0.0.1)
Couchdb-GLib-DEBUG: Sending PUT to http://127.0.0.1:5984/contacts/... with headers:

** (e-addressbook-factory:22787): WARNING **: Could not create 'contacts' database: Cannot connect to destination (127.0.0.1)
Segmentation fault

i tried again in GDB, but it did not crash, and the edit seemed to go through.

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

Sam, you are trying to connect to the system-wide CouchDB instance (127.0.0.1:5984), not to the Ubuntu One's one. Of course, it shouldn't crash, so if you can get a stacktrace, that would be great.

Revision history for this message
Rick Wilke (rick70433a) wrote : Re: [Bug 781400] Re: Cannot update contact in UbuntuOne Couch DB
Download full text (3.8 KiB)

Rodrigo -

I did the steps you said, but did not get anything beyond the messages
before I opened Evolution. It took a long time for the U1 address book to
open - seems to be trying to get it off the server rather than local. Then
I got the same error a I've reported before.

Log pasted below.

Rick Wilke
40 Mistletoe Dr.
Covington, LA 70433
Home 985-875-9066; Cell 985-502-2242; Fax 985-871-9906
<email address hidden>
----- Original Message -----
From: "Rodrigo Moya" <email address hidden>
To: <email address hidden>
Sent: Wednesday, August 10, 2011 5:53 AM
Subject: [Bug 781400] Re: Cannot update contact in UbuntuOne Couch DB

Sam/Rick, can you please quit evolution and, on a terminal, run the
following:

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

then open evolution and try accessing the U1 addressbook and when it's
shown the error again, please copy the whole output in the terminal and
paste it here

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

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/781400

Title:
  Cannot update contact in UbuntuOne Couch DB

Status in “evolution-couchdb” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: evolution

  Updated to 11.04. Ubuntu Contacts synched to Evolution and contain the
  Category information. I attempted to add a Category to a contact.
  Got the message:
  "GDBUS.ERROR:org.gtk.GDBUS.UNMAPPEDGERROR.Quark._e_2ddata_2dbook_2derror.Code400:
  Cannot modify contact:BadRequest

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: evolution 2.32.2-0ubuntu7
  ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
  Uname: Linux 2.6.38-9-generic i686
  Architecture: i386
  Date: Wed May 11 16:35:17 2011
  ExecutablePath: /usr/bin/evolution
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: evolution
  UpgradeStatus: Upgraded to natty on 2011-05-02 (9 days ago)
  XsessionErrors:
   (<unknown>:1227): dee-WARNING **: Transaction from
...

Read more...

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

We really need a backtrace to know where it's crashed, so can you please try to get one via apport?

Revision history for this message
sam tygier (samtygier) wrote :

hopefully Bug #844598 has the backtrace that you need.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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