evolution won't sync with ubuntuone

Bug #724639 reported by PeterPall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution-couchdb (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: evolution-couchdb

Got sync of files and everything working with ubuntu one. But if I choose the "ubuntuone" address book in evolution I get: Errorloading address book: GDBus.Error:org.freedesktop.DBUS.Error.NoReply:Message did not receive a reply (timeout of message bus)

Strangely enough since I have installed avahi (on which desktopcouch seems to depend on to be able to pair with ubuntu) desktopcouch seems to work:

gunter@book:~$ dbus-send --print-reply --dest=com.ubuntu.sso /credentials com.ubuntu.sso.ApplicationCredentials.login_to_get_credentials "string:Ubuntu One" "string:Workaround for LP:657850" int64:0
method return sender=:1.177 -> dest=:1.180 reply_serial=2

gunter@book:~$ dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort
method return sender=:1.98 -> dest=:1.178 reply_serial=2
   int32 34556

gunter@book:~$ /usr/lib/desktopcouch/desktopcouch-service
WARNING:root:Personal couchdb is already running at PID#2276.
DEBUG:root:starting dbus main loop
INFO:root:Loaded Ubuntu One extension for desktopcouch.
DEBUG:root:found 1 self_identity records
DEBUG:root:Not adding desktopcouch pairing since we are already paired
INFO:LocationAdvertisement:starting advertising _couchdb_location._tcp on port 34556
DEBUG:replication:started replicating
DEBUG:replication:replication of discovered hosts finished
DEBUG:root:static pairings are [('8c5e233e-5e7d-4668-a32b-b72bc6a86516', 'ubuntuone', True, True)]
DEBUG:replication:Looking up prefix for service 'ubuntuone'
INFO:root:get_oauth_data: asking for credentials to Ubuntu SSO. App name: Ubuntu One
INFO:root:Got credentials from Ubuntu SSO. Non emtpy credentials? True
DEBUG:replication:Looking up prefix for service 'ubuntuone'
DEBUG:root:Got list of databases from <DesktopServer 'http://localhost:34556/'>:
    set(['management', 'contacts', 'notes', 'dc_trash', '_users', 'bookmarks'])
DEBUG:root:skipping record {'push_to_server': True, 'ctime': '2011-02-25 00:11', 'service_name': 'ubuntuone', 'pairing_identifier': '8c5e233e-5e7d-4668-a32b-b72bc6a86516', 'oauth': {'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', 'token': 'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', 'consumer_key': 'mEfBsHm', 'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}, 'pull_from_server': True} with no excluded_names
DEBUG:root:found 0 excluded_names records
DEBUG:replication:want to replipush 'u/aea/649/602164/notes' to static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:creating 'u/aea/649/602164/notes' couchdb.one.ubuntu.com:443 {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}
DEBUG:root:'u/aea/649/602164/notes' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate notes to {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fnotes', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}}
DEBUG:root:replicate result: {'ok': True, 'source_last_seq': 7, 'session_id': '5497dfce54b1d7978fb3e5376fc7839c', 'history': [{'missing_found': 0, 'end_last_seq': 7, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:12:10 GMT', 'recorded_seq': 7, 'docs_read': 0, 'session_id': '5497dfce54b1d7978fb3e5376fc7839c', 'start_last_seq': 2, 'end_time': 'Thu, 24 Feb 2011 23:12:11 GMT', 'doc_write_failures': 0, 'missing_checked': 0}, {'missing_found': 1, 'end_last_seq': 2, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:13 GMT', 'recorded_seq': 2, 'docs_read': 1, 'session_id': 'dfcc89d0c52d0277f89c314888acde93', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:14 GMT', 'doc_write_failures': 1, 'missing_checked': 0}]}
DEBUG:replication:want to replipush 'u/aea/649/602164/dc_trash' to static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:creating 'u/aea/649/602164/dc_trash' couchdb.one.ubuntu.com:443 {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}
DEBUG:root:'u/aea/649/602164/dc_trash' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate dc_trash to {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fdc_trash', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}}
DEBUG:root:replicate result: {'ok': True, 'source_last_seq': 52, 'session_id': 'b28e04d64c5f0b77acb9c2d8ce1cb915', 'history': [{'missing_found': 1, 'end_last_seq': 52, 'docs_written': 1, 'start_time': 'Thu, 24 Feb 2011 23:12:12 GMT', 'recorded_seq': 52, 'docs_read': 1, 'session_id': 'b28e04d64c5f0b77acb9c2d8ce1cb915', 'start_last_seq': 51, 'end_time': 'Thu, 24 Feb 2011 23:12:12 GMT', 'doc_write_failures': 0, 'missing_checked': 0}, {'missing_found': 0, 'end_last_seq': 51, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:15 GMT', 'recorded_seq': 51, 'docs_read': 0, 'session_id': '458841ed141de2de2f1f76ef69468c86', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:15 GMT', 'doc_write_failures': 0, 'missing_checked': 0}]}
DEBUG:replication:want to replipush 'u/aea/649/602164/bookmarks' to static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:creating 'u/aea/649/602164/bookmarks' couchdb.one.ubuntu.com:443 {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}
DEBUG:root:'u/aea/649/602164/bookmarks' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate bookmarks to {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fbookmarks', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}}
DEBUG:root:replicate result: {'no_changes': True, 'ok': True, 'source_last_seq': 3, 'session_id': 'ce34a2231460be42d06b0a04a841f112', 'history': [{'missing_found': 1, 'end_last_seq': 3, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:16 GMT', 'recorded_seq': 3, 'docs_read': 1, 'session_id': 'ce34a2231460be42d06b0a04a841f112', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:16 GMT', 'doc_write_failures': 1, 'missing_checked': 0}]}
DEBUG:replication:want to replipush 'u/aea/649/602164/contacts' to static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:creating 'u/aea/649/602164/contacts' couchdb.one.ubuntu.com:443 {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}
DEBUG:root:'u/aea/649/602164/contacts' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate contacts to {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fcontacts', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}}
DEBUG:root:replicate result: {'ok': True, 'source_last_seq': 243, 'session_id': '9badbff113444aebc3edcd1e4066a5f4', 'history': [{'missing_found': 0, 'end_last_seq': 243, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:12:14 GMT', 'recorded_seq': 243, 'docs_read': 0, 'session_id': '9badbff113444aebc3edcd1e4066a5f4', 'start_last_seq': 187, 'end_time': 'Thu, 24 Feb 2011 23:12:14 GMT', 'doc_write_failures': 0, 'missing_checked': 0}, {'missing_found': 1, 'end_last_seq': 187, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:17 GMT', 'recorded_seq': 187, 'docs_read': 1, 'session_id': '6d0e99ab88845961fc557980c038642b', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:17 GMT', 'doc_write_failures': 1, 'missing_checked': 0}]}
DEBUG:root:Got list of databases from <DesktopServer 'https://couchdb.one.ubuntu.com/'>/_all_dbs?user_id=602164:
    set(['u/aea/649/602164/contacts', 'u/aea/649/602164/notes', 'u/aea/649/602164/bookmarks', 'u/aea/649/602164/dc_trash'])
DEBUG:replication:want to replipull 'contacts' from static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:'contacts' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fcontacts', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}} to contacts
DEBUG:root:replicate result: {'ok': True, 'source_last_seq': 395, 'session_id': '84d447174842d30941f64270ca025085', 'history': [{'missing_found': 0, 'end_last_seq': 395, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:12:15 GMT', 'recorded_seq': 395, 'docs_read': 0, 'session_id': '84d447174842d30941f64270ca025085', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:12:15 GMT', 'doc_write_failures': 0, 'missing_checked': 0}]}
DEBUG:replication:want to replipull 'notes' from static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:'notes' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fnotes', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}} to notes
DEBUG:root:replicate result: {'no_changes': True, 'ok': True, 'source_last_seq': 7, 'session_id': 'b52b7313e8a9b4b395386b09b99c9663', 'history': [{'missing_found': 0, 'end_last_seq': 7, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:19 GMT', 'recorded_seq': 7, 'docs_read': 0, 'session_id': 'b52b7313e8a9b4b395386b09b99c9663', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:19 GMT', 'doc_write_failures': 0, 'missing_checked': 0}]}
DEBUG:replication:want to replipull 'bookmarks' from static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:'bookmarks' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fbookmarks', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}} to bookmarks
DEBUG:root:replicate result: {'no_changes': True, 'ok': True, 'source_last_seq': 2, 'session_id': '5ecdf9f69320a985809bfe5a0ecb7f59', 'history': [{'missing_found': 0, 'end_last_seq': 2, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:20 GMT', 'recorded_seq': 2, 'docs_read': 0, 'session_id': '5ecdf9f69320a985809bfe5a0ecb7f59', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:20 GMT', 'doc_write_failures': 0, 'missing_checked': 0}]}
DEBUG:replication:want to replipull 'dc_trash' from static host '8c5e233e-5e7d-4668-a32b-b72bc6a86516' @ couchdb.one.ubuntu.com
DEBUG:root:'dc_trash' exists. Ready to replicate.
DEBUG:root:asking 'http://localhost:34556/' to replicate {'url': 'https://couchdb.one.ubuntu.com/u%2Faea%2F649%2F602164%2Fdc_trash', 'auth': {'oauth': {u'consumer_secret': 'HiddenHiddenHiddenHiddenHidden', u'token': u'RHPhhmDDYwZQqqESzwJJolmaCwqCumRJBiKoJxsZrKOOQKxfJL', u'consumer_key': u'mEfBsHm', u'name': u'Ubuntu One @ book', u'token_secret': 'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}} to dc_trash
DEBUG:root:replicate result: {'ok': True, 'source_last_seq': 53, 'session_id': 'b5fadab55088695bbf3ec8c4e08ed294', 'history': [{'missing_found': 0, 'end_last_seq': 53, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:12:17 GMT', 'recorded_seq': 53, 'docs_read': 0, 'session_id': 'b5fadab55088695bbf3ec8c4e08ed294', 'start_last_seq': 52, 'end_time': 'Thu, 24 Feb 2011 23:12:17 GMT', 'doc_write_failures': 0, 'missing_checked': 0}, {'missing_found': 0, 'end_last_seq': 52, 'docs_written': 0, 'start_time': 'Thu, 24 Feb 2011 23:11:20 GMT', 'recorded_seq': 52, 'docs_read': 0, 'session_id': '3a5ca040d91dac0b20b2c815a78b7420', 'start_last_seq': 0, 'end_time': 'Thu, 24 Feb 2011 23:11:21 GMT', 'doc_write_failures': 0, 'missing_checked': 0}]}
DEBUG:replication:finished replicating
DEBUG:root:starting replicator main loop
INFO:root:Attempting update of design docs
INFO:root:Attempting migration of data
INFO:root:Migrating DB: contacts
INFO:root:Migrating DB: bookmarks
INFO:root:Migrating DB: notes
INFO:root:Migrating DB: management
INFO:root:Completed

Before writing this bug I have tried all the standard stuff from all other bug reports I was able to find:
 - Deleted all desktopcouch keys from the keyring
 - Deleted all evolution addressbook folders from gconf

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: evolution-couchdb 0.5.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Fri Feb 25 00:05:24 2011
SourcePackage: evolution-couchdb

Revision history for this message
PeterPall (peterpall) wrote :
Revision history for this message
PeterPall (peterpall) wrote :

Got another interesting result:

gunter@book:~/dwhelper$ dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort
Error org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/ipc.py", line 50, in getPort
    port = int(direct_access_find_port(ctx=self.ctx))
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/__init__.py", line 172, in direct_access_find_port
    return direct_access_find_port(pid, ctx, retries_left - 1)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/__init__.py", line 172, in direct_access_find_port
    return direct_access_find_port(pid, ctx, retries_left - 1)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/__init__.py", line 172, in direct_access_find_port
    return direct_access_find_port(pid, ctx, retries_left - 1)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/__init__.py", line 173, in direct_access_find_port
    raise RuntimeError("Unable to find listening port")
RuntimeError: Unable to find listening port

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.