← Back to team overview

ubuntuone-users team mailing list archive

Re: Desktopcouch not syncing - focused on bookmarks

 

On Wed, Jun 1, 2011 at 9:25 PM, eric casteleijn
<eric.casteleijn@xxxxxxxxxxxxx> wrote:
> On Wed, 01 Jun 2011 18:51:19 +0200, wimpunk <wimpunk@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> On Wed, 2011-06-01 at 09:23 -0400, eric casteleijn wrote:
>> > >
>> > > Is there anyone out there who can help me to solve this problem?
>> >
>> > People have been reporting this error off and on, but we have not yet
>> > been able to diagnose the cause yet. I'm tracking this problem here:
>> >
>> > https://bugs.launchpad.net/ubuntu/+source/desktopcouch/+bug/786456
>> >
>> > Please subscribe to that bug to be notified of our progress, and perhaps
>> > see if you can help us by attaching the relevant logs from your system.
>> >
>>
>> I saw the bug was marked duplicate so I subscribed to #665024.  As far
>> as I see, it's the pulling who fails.  I'll post my results after
>> applying the patch from https://gist.github.com/603808
>
> Yes, sorry about that, I found that bug just after replying to you. If
> you don't want to fiddle with manual patching, I packaged the fix
> myself, and it seems to work here, so I'm cautiously optimistic. If you
> add the ubuntuone nightlies ppa[1], you should get the fix automatically
> when it's done building.
>
> [1] sudo apt-add-repository ppa:ubuntuone/nightlies

I replaced the repository and the original reported error seems to be
gone now but I still have a desktop-couch zombie process and in my
logging I get:

2011-06-04 14:44:02,156 DEBUG    want to replipull 'bookmarks' from
static host 'affcdf2f-e4b5-4775-a82a-f7a4a59f63cc' @
couchdb.one.ubuntu.com
2011-06-04 14:44:02,221 DEBUG    'bookmarks' exists. Ready to replicate.
2011-06-04 14:44:02,222 DEBUG    asking 'http://localhost:40850/' to
replicate {'url':
'https://couchdb.one.ubuntu.com/u%2F2aa%2F539%2F264587%2Fbookmarks',
'auth': {'oauth': {u'consumer_secret':
'HiddenHiddenHiddenHiddenHidden', u'token':
u'USxAAmSAfgQAUgksMiydRwmGTiQMnTcoSnNClEBUgyOCGQSoDA',
u'consumer_key': u'zPP8KXc', u'name': u'Ubuntu One @ nooks',
u'token_secret':
'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}} to bookmarks
2011-06-04 14:44:04,195 ERROR    can't replicate
'u/2aa/539/264587/bookmarks' 'http://localhost:40850/' <= {'url':
'https://couchdb.one.ubuntu.com/u%2F2aa%2F539%2F264587%2Fbookmarks',
'auth': {'oauth': {u'consumer_secret':
'HiddenHiddenHiddenHiddenHidden', u'token':
u'USxAAmSAfgQAUgksMiydRwmGTiQMnTcoSnNClEBUgyOCGQSoDA',
u'consumer_key': u'zPP8KXc', u'name': u'Ubuntu One @ nooks',
u'token_secret':
'HiddenHiddenHiddenHiddenHiddenHiddenHiddenHiddenHi'}}} to 'bookmarks'
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.24522.0>}'))

It seems to be an error on server side but I am not sure about it.
Could it help to delete the remote database and create a new one?


References