couchDB adressbook doesn't work

Bug #805897 reported by Loïc Alejandro
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evolution-couchdb
New
Undecided
Unassigned

Bug Description

Since several weeks now, my couchDB address book doesn't work.

When I click on it, after a minute an alert window appears and says something like "Impossible to open the address book. Impossible to open this address book. You wrote an incorrect URI or the server is not accessible. detailed error message : waiting delay too long".

the replication log says ("error 400") :
...
2011-07-05 12:50:15,482 DEBUG started replicating
2011-07-05 12:50:15,535 DEBUG replication of discovered hosts finished
2011-07-05 12:50:15,553 DEBUG static pairings are [('ee888789-792f-4d29-90d3-750ac9c5b5e8', 'ubuntuone', True, True)]
2011-07-05 12:50:15,553 DEBUG Looking up prefix for service 'ubuntuone'
2011-07-05 12:50:15,553 DEBUG Looking up prefix for service 'ubuntuone'
2011-07-05 12:50:16,245 ERROR replication of services aborted
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/replication.py", line 155, in do_all_replication
    remote_location = str(prefix_getter)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/replication_services/ubuntuone.py", line 114, in __str__
    result = urllib2.urlopen(req, None, 30)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: BAD REQUEST
2011-07-05 12:50:16,246 DEBUG finished replicating

I made another user account on my laptop, and connected to my U1 account with this alternative user. With this user the replication log says ("error 500") :
    2011-07-05 12:24:08,575 DEBUG found 1 self_identity records
    2011-07-05 12:24:08,591 INFO starting advertising _couchdb_location._tcp on port 55207
    2011-07-05 12:24:08,607 DEBUG started replicating
    2011-07-05 12:24:08,624 DEBUG replication of discovered hosts finished
    2011-07-05 12:24:08,634 DEBUG static pairings are []
    2011-07-05 12:24:08,634 DEBUG finished replicating
    2011-07-05 12:24:08,634 DEBUG starting replicator main loop
    2011-07-05 12:34:08,608 DEBUG started replicating
    2011-07-05 12:34:08,643 DEBUG replication of discovered hosts finished
    2011-07-05 12:34:08,669 DEBUG static pairings are [('b8c19964-f492-4518-a2a6-34dc117685ce', 'ubuntuone', True, True)]
    2011-07-05 12:34:08,670 DEBUG Looking up prefix for service 'ubuntuone'
    2011-07-05 12:34:08,676 INFO get_oauth_data: asking for credentials to Ubuntu SSO. App name: Ubuntu One
    2011-07-05 12:34:09,230 INFO Got credentials from Ubuntu SSO. Non emtpy credentials? True
    2011-07-05 12:34:09,230 DEBUG Looking up prefix for service 'ubuntuone'
    2011-07-05 12:34:13,405 ERROR replication of services aborted
    Traceback (most recent call last):
      File "/usr/lib/pymodules/python2.7/desktopcouch/application/replication.py", line 155, in do_all_replication
        remote_location = str(prefix_getter)
      File "/usr/lib/pymodules/python2.7/desktopcouch/application/replication_services/ubuntuone.py", line 114, in __str__
        result = urllib2.urlopen(req, None, 30)
      File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 397, in open
        response = meth(req, response)
      File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.7/urllib2.py", line 435, in error
        return self._call_chain(*args)
      File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 518, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 500: INTERNAL SERVER ERROR
    2011-07-05 12:34:13,410 DEBUG finished replicating

Other weird thing : when I check the connected devices, I see 3 times my laptop !!!

Other weird thing : on U1 web interface, when I click on "view/edit" of my "1 x Ubuntu One Basic (2 GB)" subscription, I get a page saying : "Something has gone wrong ..."

Other weird thing : I have a 20Go U1 account and on my account info in the web interface just "1 x Ubuntu One Basic (2 GB)"

Other weird thing : on https://wiki.ubuntu.com/UbuntuOne/Status#MobileContacts it says that Mobile contacts are inactive. On http://voices.canonical.com/ubuntuone/?p=943 it repeats that Mobile Contact is OFF.
But on https://one.ubuntu.com/mobile/ Contact sync is still present.
So it is working or not ? We should use it or not ?

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

using Ubuntu Natty and PPA nightly packages for U1

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Ok downgraded to regular packages with rye's help. CouchDB address book looks ok now.

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.