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

couchbase-cli broken in build 786, getting: ImportError: No module named json

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.1.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None

    Description

      python 2.4
      CentOS release 5.8 (Final)
      2.0.2 Build 786

      0). stopped cb service: /etc/init.d/couchbase-server stop
      1). removed previous installation of couchbase: rpm -e couchbase-server-2.0.2-779
      2). installed new rpm: rpm -i couchbase-server-enterprise_x86_64_2.0.2-786-rel.rpm
      3). invoked: couchbase-cli

      [root@cen-1910 bin]# pwd
      /opt/couchbase/bin

      [root@cen-1910 bin]# ./couchbase-cli
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/couchbase-cli", line 13, in ?
      import node
      File "/opt/couchbase/lib/python/node.py", line 8, in ?
      import util_cli as util
      File "/opt/couchbase/lib/python/util_cli.py", line 4, in ?
      import json
      ImportError: No module named json
      [root@cen-1910 bin]# rpm -qa|grep couchbase
      couchbase-server-2.0.2-786
      [root@cen-1910 bin]# uname -a
      Linux cen-1910 2.6.18-308.el5 #1 SMP Tue Feb 21 20:06:06 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
      [root@cen-1910 bin]# pwd
      /opt/couchbase/bin
      [root@cen-1910 bin]# ./couchbase-cli server-list -c 10.1.3.106:8091 -u Administrator -p couchbase
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/couchbase-cli", line 13, in ?
      import node
      File "/opt/couchbase/lib/python/node.py", line 8, in ?
      import util_cli as util
      File "/opt/couchbase/lib/python/util_cli.py", line 4, in ?
      import json
      ImportError: No module named json
      [root@cen-1910 bin]#

      Attachments

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

        Activity

          People

            maria Maria McDuff (Inactive)
            maria Maria McDuff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty