Python client error
Thu, 01/10/2013 - 07:14
Hey, the current Python client gives me the following error:
Traceback (most recent call last):
File "cb.py", line 5, in
couchbase = Couchbase("127.0.0.1:8091", "default", "")
File "/usr/local/lib/python2.7/dist-packages/couchbase/client.py", line 61, in __init__
self.couch_api_base = config["nodes"][0].get("couchApiBase")
TypeError: 'instancemethod' object has no attribute '__getitem__'
What can I do?
"""
from couchbase.client import Couchbase
couchbase = Couchbase("127.0.0.1:8091", "default", "")
bucket = client["default"]
print bucket.get("test")
"""
... Ubuntu 12.10
Hi There,
This is a known bug that is currently undergoing a fix.
A quick-hack fix is to add 'requests==0.14.2' in your requirements.txt file.
If you have any other issues, please feel free to email me on Robin@couchbase.com and I'll be happy to help!
Best,
Robin J.
Developer Advocate