Comment 12 for bug 786456

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Okay, another little tidbit I've observed: it looks like the replication of "dmedia" is failing upon trying to replicate the first doc with attachments... failing with a JSON encoding error:

"""
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 259, in request
    raise ServerError((status, error))
ServerError: (500, ('json_encode', '{bad_term,<0.19787.0>}'))
"""

Does that sound familiar?