Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-76

It doesn't work with the latest python requests package

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Critical
    • None
    • 1.0.0
    • library
    • Security Level: Public
    • None
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            byzhang by zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty