I've packaged 0.10.0~svn806985~ppa1, which is a snapshot of the 0.10 branch that Jan created today, + the part of the patch for COUCHDB-478 that has not been applied to the branch yet.
After merging with trunk and resolving the merge conflicts, I get errors on a number of tests, all appear to have the same cause: 401 on a HEAD request.
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run
self.setUp()
File "/home/emurphy/canonical/ubuntuone/shared/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 44, in setUp
self.dbname, create=True, uri=URI)
File "/home/emurphy/canonical/ubuntuone/shared/desktopcouch/trunk/desktopcouch/records/server.py", line 58, in __init__
if database not in self._server:
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
self.resource.head(validate_dbname(name))
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
return self._request('HEAD', path, headers=headers, **params)
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
raise ServerError((status_code, error))
couchdb.client.ServerError: (401, '')
===============================================================================
[ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_update_fields
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run
self.setUp()
File "/home/emurphy/canonical/ubuntuone/shared/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 44, in setUp
self.dbname, create=True, uri=URI)
File "/home/emurphy/canonical/ubuntuone/shared/desktopcouch/trunk/desktopcouch/records/server.py", line 58, in __init__
if database not in self._server:
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
self.resource.head(validate_dbname(name))
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
return self._request('HEAD', path, headers=headers, **params)
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
raise ServerError((status_code, error))
couchdb.client.ServerError: (401, '')
I've packaged 0.10.0~ svn806985~ ppa1, which is a snapshot of the 0.10 branch that Jan created today, + the part of the patch for COUCHDB-478 that has not been applied to the branch yet.
After merging with trunk and resolving the merge conflicts, I get errors on a number of tests, all appear to have the same cause: 401 on a HEAD request.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == records. tests.test_ server. TestCouchDataba se.test_ record_ exists
[ERROR]: desktopcouch.
Traceback (most recent call last): python2. 6/dist- packages/ testtools/ testcase. py", line 161, in run emurphy/ canonical/ ubuntuone/ shared/ desktopcouch/ trunk/desktopco uch/records/ tests/test_ server. py", line 44, in setUp emurphy/ canonical/ ubuntuone/ shared/ desktopcouch/ trunk/desktopco uch/records/ server. py", line 58, in __init__ pymodules/ python2. 6/couchdb/ client. py", line 124, in __contains__ resource. head(validate_ dbname( name)) pymodules/ python2. 6/couchdb/ client. py", line 981, in head 'HEAD', path, headers=headers, **params) pymodules/ python2. 6/couchdb/ client. py", line 1035, in _request (status_ code, error)) client. ServerError: (401, '') ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == records. tests.test_ server. TestCouchDataba se.test_ update_ fields
File "/usr/lib/
self.setUp()
File "/home/
self.dbname, create=True, uri=URI)
File "/home/
if database not in self._server:
File "/usr/lib/
self.
File "/usr/lib/
return self._request(
File "/usr/lib/
raise ServerError(
couchdb.
=======
[ERROR]: desktopcouch.
Traceback (most recent call last): python2. 6/dist- packages/ testtools/ testcase. py", line 161, in run emurphy/ canonical/ ubuntuone/ shared/ desktopcouch/ trunk/desktopco uch/records/ tests/test_ server. py", line 44, in setUp emurphy/ canonical/ ubuntuone/ shared/ desktopcouch/ trunk/desktopco uch/records/ server. py", line 58, in __init__ pymodules/ python2. 6/couchdb/ client. py", line 124, in __contains__ resource. head(validate_ dbname( name)) pymodules/ python2. 6/couchdb/ client. py", line 981, in head 'HEAD', path, headers=headers, **params) pymodules/ python2. 6/couchdb/ client. py", line 1035, in _request (status_ code, error)) client. ServerError: (401, '')
File "/usr/lib/
self.setUp()
File "/home/
self.dbname, create=True, uri=URI)
File "/home/
if database not in self._server:
File "/usr/lib/
self.
File "/usr/lib/
return self._request(
File "/usr/lib/
raise ServerError(
couchdb.