Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Incomplete
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: library
-
Security Level: Public
-
Labels:None
-
Environment:Ubuntu 12.04/12.10
Requests: 1.0.4 (the latest version from pip install)
Couchbase python client library: HEAD from github
Description
When I try to connect Couchbase as
self.client = Couchbase('127.0.0.1', 'user', 'pwd)
I get this error:
couchbase-python-client/couchbase/client.py", line 61, in __init__
self.couch_api_base = config["nodes"][0].get("couchApiBase")
TypeError: 'instancemethod' object has no attribute '__getitem__'
If I revert requests to 0.14.2, then everything is good.
From http://pypi.python.org/pypi/requests:
(version 1.0.0) This is not a backwards compatible change.
self.client = Couchbase('127.0.0.1', 'user', 'pwd)
I get this error:
couchbase-python-client/couchbase/client.py", line 61, in __init__
self.couch_api_base = config["nodes"][0].get("couchApiBase")
TypeError: 'instancemethod' object has no attribute '__getitem__'
If I revert requests to 0.14.2, then everything is good.
From http://pypi.python.org/pypi/requests:
(version 1.0.0) This is not a backwards compatible change.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Matt Ingenthron
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Matt Ingenthron [ ingenthr ] | Mark Nunberg [ mnunberg ] |
Mark Nunberg
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Incomplete [ 4 ] |