ok, with your patch, getting slightly further.
However, now I get:
2009-11-28 17:58:33,291 DEBUG asking 'http://localhost:39949/' to replicate {'url': 'https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fcontacts', 'auth': {'oauth': {'consumer_secret': 'hammertime', 'token': 'w8sDs2jkXQzxgJ2DrLfp', 'consumer_key': 'ubuntuone', 'token_secret': '10RW9hrCCwRmC3T6TDlZq7lqLdZjShG4CRJ30BHqR4CLhmMxCfjCnftx86k1Nf2nkSqVFlxBp7fxLv01'}}} to contacts, using record {'source': {'url': 'https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fcontacts', 'auth': {'oauth': {'consumer_secret': 'hammertime', 'token': 'w8sDs2jkXQzxgJ2DrLfp', 'consumer_key': 'ubuntuone', 'token_secret': '10RW9hrCCwRmC3T6TDlZq7lqLdZjShG4CRJ30BHqR4CLhmMxCfjCnftx86k1Nf2nkSqVFlxBp7fxLv01'}}}, 'target': 'contacts'}
2009-11-28 18:07:05,704 ERROR can't replicate 'u/0a4/330/97870/contacts' 'http://localhost:39949/' <== {'source': {'url': 'https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fcontacts', 'auth': {'oauth': {'consumer_secret': 'hammertime', 'token': 'w8sDs2jkXQzxgJ2DrLfp', 'consumer_key': 'ubuntuone', 'token_secret': '10RW9hrCCwRmC3T6TDlZq7lqLdZjShG4CRJ30BHqR4CLhmMxCfjCnftx86k1Nf2nkSqVFlxBp7fxLv01'}}}, 'target': 'contacts'} Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 256, in replicate content=record) File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 981, in post **params) File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 1031, in _request raise ServerError((status_code, error)) ServerError: (500, ('case_clause', '{error,\n {{{badmatch,\n {error,\n {http_request_failed,\n <<"failed to replicate https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fcontacts/">>}}},\n [{couch_rep,do_init,1},\n {couch_rep,init,1},\n {gen_server,init_it,6},\n {proc_lib,init_p_do_apply,3}]},\n {child,undefined,"f5ed1d613a0c9ff4f94083b4c66dc43c",\n {gen_server,start_link,\n [couch_rep,\n ["f5ed1d613a0c9ff4f94083b4c66dc43c",\n {[{<<"source">>,\n {[{<<"url">>,\n <<"https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fcontacts">>},\n {<<"auth">>,\n {[{<<"oauth">>,\n {[{<<"consumer_secret">>,<<"hammertime">>},\n {<<"token">>,<<"w8sDs2jkXQzxgJ2DrLfp">>},\n {<<"consumer_key">>,<<"ubuntuone">>},\n {<<"token_secret">>,\n <<"10RW9hrCCwRmC3T6TDlZq7lqLdZjShG4CRJ30BHqR4CLhmMxCfjCnftx86k1Nf2nkSqVFlxBp7fxLv01">>}]}}]}}]}},\n {<<"target">>,<<"contacts">>}]},\n {user_ctx,<<"MPGTeQIAcm">>,[<<"_admin">>]}],\n []]},\n temporary,1,worker,\n [couch_rep]}}}')) 2009-11-28 18:07:05,706 DEBUG want to replipull 'gtd' from static host '1b67c630-f82e-453b-8b69-62cf94a0364e' @ couchdb.one.ubuntu.com 2009-11-28 18:07:05,732 DEBUG db exists, and we're ready to replicate 2009-11-28 18:07:05,739 DEBUG asking 'http://localhost:39949/' to replicate {'url': 'https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fgtd', 'auth': {'oauth': XXX }}} to gtd, using record {'source': {'url': 'https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fgtd', 'auth': {'oauth': XXX}}, 'target': 'gtd'} 2009-11-28 18:08:32,386 WARNING haven't finished replicating before next time to start.
As you can see, a good ten minutes before it notices it fails to replicate. An obtuse couchdb error, as usual, can't make sense of it.
All it managed to replicate was the 'name' of the contacts database.
ok, with your patch, getting slightly further.
However, now I get:
2009-11-28 17:58:33,291 DEBUG asking 'http:// localhost: 39949/' to replicate {'url': 'https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fcontacts', 'auth': {'oauth': {'consumer_secret': 'hammertime', 'token': 'w8sDs2jkXQzxgJ 2DrLfp' , 'consumer_key': 'ubuntuone', 'token_secret': '10RW9hrCCwRmC3 T6TDlZq7lqLdZjS hG4CRJ30BHqR4CL hmMxCfjCnftx86k 1Nf2nkSqVFlxBp7 fxLv01' }}} to contacts, using record {'source': {'url': 'https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fcontacts', 'auth': {'oauth': {'consumer_secret': 'hammertime', 'token': 'w8sDs2jkXQzxgJ 2DrLfp' , 'consumer_key': 'ubuntuone', 'token_secret': '10RW9hrCCwRmC3 T6TDlZq7lqLdZjS hG4CRJ30BHqR4CL hmMxCfjCnftx86k 1Nf2nkSqVFlxBp7 fxLv01' }}}, 'target': 'contacts'}
2009-11-28 18:07:05,704 ERROR can't replicate 'u/0a4/ 330/97870/ contacts' 'http:// localhost: 39949/' <== {'source': {'url': 'https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fcontacts', 'auth': {'oauth': {'consumer_secret': 'hammertime', 'token': 'w8sDs2jkXQzxgJ 2DrLfp' , 'consumer_key': 'ubuntuone', 'token_secret': '10RW9hrCCwRmC3 T6TDlZq7lqLdZjS hG4CRJ30BHqR4CL hmMxCfjCnftx86k 1Nf2nkSqVFlxBp7 fxLv01' }}}, 'target': 'contacts'} python2. 6/site- packages/ desktopcouch/ pair/couchdb_ pairing/ couchdb_ io.py", line 256, in replicate python2. 6/site- packages/ couchdb/ client. py", line 981, in post python2. 6/site- packages/ couchdb/ client. py", line 1031, in _request (status_ code, error)) failed, \n <<"failed to replicate https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fcontacts/">>}}},\n [{couch_ rep,do_ init,1} ,\n {couch_ rep,init, 1},\n {gen_server, init_it, 6},\n {proc_lib, init_p_ do_apply, 3}]},\n {child, undefined, "f5ed1d613a0c9f f4f94083b4c66dc 43c",\n {gen_server, start_link, \n [couch_rep,\n ["f5ed1d613a0c9 ff4f94083b4c66d c43c",\ n {[{<<"source">>,\n {[{<<"url">>,\n <<"https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fcontacts">>},\n {<<"auth">>,\n {[{<<"oauth">>,\n {[{<<"consumer_ secret" >>,<<"hammertim e">>},\ n {<<"token" >>,<<"w8sDs2jkX QzxgJ2DrLfp" >>},\n {<<"consumer_ key">>, <<"ubuntuone" >>},\n {<<"token_ secret" >>,\n <<"10RW9hrCCwRm C3T6TDlZq7lqLdZ jShG4CRJ30BHqR4 CLhmMxCfjCnftx8 6k1Nf2nkSqVFlxB p7fxLv01" >>}]}}] }}]}},\ n {<<"target" >>,<<"contacts" >>}]},\ n {user_ctx, <<"MPGTeQIAcm" >>,[<<" _admin" >>]}],\ n []]},\n temporary, 1,worker, \n [couch_rep]}}}')) f82e-453b- 8b69-62cf94a036 4e' @ couchdb. one.ubuntu. com localhost: 39949/' to replicate {'url': 'https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fgtd', 'auth': {'oauth': XXX }}} to gtd, using record {'source': {'url': 'https:/ /couchdb. one.ubuntu. com/u%2F0a4% 2F330%2F97870% 2Fgtd', 'auth': {'oauth': XXX}}, 'target': 'gtd'}
Traceback (most recent call last):
File "/usr/lib/
content=record)
File "/usr/lib/
**params)
File "/usr/lib/
raise ServerError(
ServerError: (500, ('case_clause', '{error,\n {{{badmatch,\n {error,\n {http_request_
2009-11-28 18:07:05,706 DEBUG want to replipull 'gtd' from static host '1b67c630-
2009-11-28 18:07:05,732 DEBUG db exists, and we're ready to replicate
2009-11-28 18:07:05,739 DEBUG asking 'http://
2009-11-28 18:08:32,386 WARNING haven't finished replicating before next time to start.
As you can see, a good ten minutes before it notices it fails to replicate. An obtuse couchdb error, as usual, can't make sense of it.
All it managed to replicate was the 'name' of the contacts database.