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


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
    • Environment:
      Ubuntu 12.04/12.10
      Requests: 1.0.4 (the latest version from pip install)
      Couchbase python client library: HEAD from github


      When I try to connect Couchbase as
      self.client = Couchbase('', '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.

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


        byzhang by zhang created issue -
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Assignee Matt Ingenthron [ ingenthr ] Mark Nunberg [ mnunberg ]
        mnunberg Mark Nunberg made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Incomplete [ 4 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 23363 ] Couchbase SDK Workflow [ 44608 ]


          • Assignee:
            mnunberg Mark Nunberg
            byzhang by zhang
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes