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.
Does anyone know a workaround for this bug? This also blocks development on applications created with quickly:
$ quickly create ubuntu-application foo andi/devel/ foo/foo/ __init_ _.py", line 40, in main .db_connect( ) andi/devel/ foo/foo_ lib/preferences .py", line 50, in db_connect self._db_ name, create=True) pymodules/ python2. 7/desktopcouch/ application/ server. py", line 101, in __init__ tokens= oauth_tokens, ctx=ctx) pymodules/ python2. 7/desktopcouch/ application/ server. py", line 75, in __init__ tokens= oauth_tokens, ctx=ctx, views_factory= views_factory) pymodules/ python2. 7/desktopcouch/ records/ database. py", line 123, in __init__ _reconnect( ) pymodules/ python2. 7/desktopcouch/ application/ server. py", line 85, in _reconnect DesktopDatabase , self)._ reconnect( uri=uri) pymodules/ python2. 7/desktopcouch/ records/ database. py", line 139, in _reconnect _server. create( self._database_ name) pymodules/ python2. 7/couchdb/ client. py", line 193, in create resource. put_json( validate_ dbname( name)) pymodules/ python2. 7/couchdb/ http.py" , line 405, in put_json pymodules/ python2. 7/couchdb/ http.py" , line 384, in put 'PUT', path, body=body, headers=headers, **params) pymodules/ python2. 7/couchdb/ http.py" , line 419, in _request =self.credentia ls) pymodules/ python2. 7/desktopcouch/ records/ http.py" , line 251, in request http.Unauthoriz ed: ('unauthorized', 'Authentication required.') devel/foo/ to start hacking.
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/
preferences
File "/home/
self._database = CouchDatabase(
File "/usr/lib/
oauth_
File "/usr/lib/
oauth_
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
status, headers, data = self.put(*a, **k)
File "/usr/lib/
return self._request(
File "/usr/lib/
credentials
File "/usr/lib/
raise Unauthorized(error)
couchdb.
Congrats, your new project is setup! cd /home/andi/
quickly run in the project folder brings up the same traceback.