I faced this issue with my program too.
Database created but server returns 400 error code.
To reproduce this issue you can delete database, which application used.

Traceback (most recent call last):
  File "./bin/engnotify", line 55, in <module>
    en = Engnotify()
  File "/home/yura/Projects/python/engnotify/engnotify/engnotify.py", line 40, 
in __init__
    self.database = CouchDatabase('engnotify', create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 
57, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", 
line 153, in __init__
    self._reconnect()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", 
line 183, in _reconnect
    if self._database_name 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: (400, '')

-- 
desktopcouch applications throw 401 error
https://bugs.launchpad.net/bugs/451809
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to