can't replicate 'gwibber_accounts' 'http://localhost:60736/'

Bug #813977 reported by sam tygier on 2011-07-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch (Ubuntu)
Undecided
Unassigned

Bug Description

i am getting the following in my .cache/desktop-couch/log/desktop-couch-replication.log when trying to replicate

2011-07-21 11:02:26,205 DEBUG started replicating
2011-07-21 11:02:26,218 DEBUG want to replipush to discovered host u'xxx-11c7-4f3d-8f3f-xxx' @ hydrogen.local
2011-07-21 11:02:26,226 DEBUG Got list of databases from <DesktopServer 'http://localhost:60736/'>:
    set(['management', 'gwibber_accounts', 'contacts', 'test_suite_db/with_slashes', 'test_suite_db', 'dc_trash', 'test_suite_db_a', 'test_suite_db_b', '_users', 'test_suite_users', 'gwibber_preferences', 'gwibber_messages', 'users'])
2011-07-21 11:02:26,238 DEBUG skipping record {'push_to_server': True, 'oauth': {'consumer_secret': 'HiddenHidd', 'token': 'xxx', 'consumer_key': 'xxx', 'token_secret': 'HiddenHidd'}, 'pairing_identifier': 'xxx-11c7-4f3d-8f3f-xxx', 'ctime': '2011-07-21 10:57', 'server': 'hydrogen.local'} with no excluded_names
2011-07-21 11:02:26,239 DEBUG found 0 excluded_names records
2011-07-21 11:02:26,239 DEBUG creating 'gwibber_accounts' hydrogen.local:41785 {'consumer_secret': 'HiddenHidd', 'token': 'xxx', 'consumer_key': 'xxx', 'token_secret': 'HiddenHidd'}
2011-07-21 11:02:26,297 DEBUG 'gwibber_accounts' exists. Ready to replicate.
2011-07-21 11:02:26,298 DEBUG asking 'http://localhost:60736/' to replicate gwibber_accounts to {'url': u'http://hydrogen.local:41785/gwibber_accounts', 'auth': {'oauth': {'consumer_secret': 'HiddenHidd', 'token': 'xxx', 'consumer_key': 'xxx', 'token_secret': 'HiddenHidd'}}}
2011-07-21 11:02:26,299 ERROR can't replicate 'gwibber_accounts' 'http://localhost:60736/' <= 'gwibber_accounts' to {'url': u'http://hydrogen.local:41785/gwibber_accounts', 'auth': {'oauth': {'consumer_secret': 'HiddenHidd', 'token': 'xxx', 'consumer_key': 'xxx', 'token_secret': 'HiddenHidd'}}}
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/pair/couchdb_pairing/couchdb_io.py", line 319, in replicate
    data = local_server.replicate(source, target)
  File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 214, in replicate
    status, headers, data = self.resource.post_json('_replicate', data)
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 399, in post_json
    status, headers, data = self.post(*a, **k)
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 381, in post
    **params)
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request
    credentials=self.credentials)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/http.py", line 183, in request
    resp = _try_request_with_retries(iter(self.retry_delays))
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/http.py", line 139, in _try_request_with_retries
    return _try_request()
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/http.py", line 166, in _try_request
    chunk = body.read(CHUNK_SIZE)
AttributeError: 'dict' object has no attribute 'read'

(I xxxed out some of the thing that looked like keys. is there a security rick if i post the whole log?)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: desktopcouch 1.0.7-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Thu Jul 21 11:07:43 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: desktopcouch
UpgradeStatus: Upgraded to natty on 2011-05-28 (53 days ago)

sam tygier (samtygier) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers