ServerError: 401, unauthorized

Bug #551409 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: desktopcouch

I haven't seen this exact error in other reports, and ubuntu-bug only captures of the deprecation warting. This looks like the root cause of why I cannot use UbunutOne or gwibber.

Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 93, in main
    replication_runtime = replication.set_up(lambda: port)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/replication.py", line 220, in set_up
    couchdb_io.mkuri("localhost", int(port)), create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 156, in get_my_host_unique_id
    ids = _get_management_data(MY_ID_RECORD_TYPE, "self_identity", uri=uri)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 200, in _get_management_data
    for record in results[record_type]:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 871, in __iter__
    for row in self.rows:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 893, in rows
    self._fetch()
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 881, in _fetch
    data = self.view._exec(self.options)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 766, in _exec
    resp, data = self.resource.get(**self._encode_options(options))
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 978, in get
    return self._request('GET', path, headers=headers, **params)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
    raise ServerError((status_code, error))
ServerError: (401, (u'unauthorized', u'Authentication required.'))

Revision history for this message
Curtis Hovey (sinzui) wrote :

I'll let someone with knowledge mark this invalid.

The solution to this issue, and the related gwibber startup is that I had an old version of launchpadlib and oauth install in /usr/local/lib/python2.6. I did not realise I had old libs about until I tried to use apport-collection which provided a launchpadlib error I understood. Other users with desktopcouch/gwibber/ubuntuone issues may be caused by old libs.

Curtis Hovey (sinzui)
Changed in desktopcouch (Ubuntu):
status: New → Invalid
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.