Does anyone know a workaround for this bug? This also blocks development
on applications created with quickly:

$ quickly create ubuntu-application foo
Creating project directory foo
Creating bzr repository and committing
Launching your newly created project!
Traceback (most recent call last):
  File "./foo", line 33, in <module>
    foo.main()
  File "/home/andi/devel/foo/foo/__init__.py", line 40, in main
    preferences.db_connect()
  File "/home/andi/devel/foo/foo_lib/preferences.py", line 50, in db_connect
    self._database = CouchDatabase(self._db_name, create=True)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 
101, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 
75, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 
123, in __init__
    self._reconnect()
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 
85, in _reconnect
    super(DesktopDatabase, self)._reconnect(uri=uri)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 
139, in _reconnect
    self._server.create(self._database_name)
  File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create
    self.resource.put_json(validate_dbname(name))
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json
    status, headers, data = self.put(*a, **k)
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put
    return self._request('PUT', path, body=body, headers=headers, **params)
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request
    credentials=self.credentials)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/http.py", line 251, 
in request
    raise Unauthorized(error)
couchdb.http.Unauthorized: ('unauthorized', 'Authentication required.')
Congrats, your new project is setup! cd /home/andi/devel/foo/ to start hacking.

quickly run in the project folder brings up the same traceback.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/780972

Title:
  desktopcouch-service crashed with Unauthorized in request():
  ('unauthorized', 'Authentication required.')

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/desktopcouch/+bug/780972/+subscriptions

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

Reply via email to