Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6691

cbshell error message is bad when no user/pswd supplied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 4.0.0
    • 1.8.1, 2.0, 2.0.1, 2.1.0
    • tools
    • Security Level: Public
    • Untriaged
    • PCI Team - Sprint 6

    Description

      I just tried a 'pip install --upgrade cbshell', and that worked. But then, trying to use cbshell...

      steve-cmb:membase-cli steveyen$ cbshell 10.5.2.20
      connecting to couchbase: 10.5.2.20:8091
      connected.
      cb = couchbase '10.5.2.20:8091'
      [2012-09-18 12:33:57,239] - [rest_client] [140735143397728] - ERROR - http://10.5.2.20:8091/pools/default/buckets/default error 401 reason:
      Exception AttributeError: "'Bucket' object has no attribute 'mc_client'" in <bound method Bucket._del_ of <couchbase.client.Bucket object at 0x102f7cfd0>> ignored
      error: could not access bucket: default;
      exception: unable to find bucket default on the host @ 10.5.2.20
      steve-cmb:membase-cli steveyen$

      Related...

      $ pip search couchbase
      couchbase - Couchbase Python SDK
      INSTALLED: 0.8.0 (latest)
      pylibcb - Python Couchbase Client
      cbshell - Interactive python shell for couchbase
      INSTALLED: 0.1 (latest)
      cbtestlib - Couchbase test library

      Attachments

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

        Activity

          People

            steve Steve Yen
            steve Steve Yen
            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