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

couchbase-cli crashed when using option server-readd --help

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • tools
    • None
    • Centos 7.2 64-bit
    • Untriaged
    • Yes

    Description

      Install Couchbase Server 5.0.0-2000

      Run command line couchbase-cli server-readd --help, the execution crashed with error

       
      -bash-4.2$ ~/opt/couchbase/bin/couchbase-cli server-readd --help
      Traceback (most recent call last):
        File "/home/nonroot/opt/couchbase/lib/python/couchbase-cli", line 20, in <module>
          main()
        File "/home/nonroot/opt/couchbase/lib/python/couchbase-cli", line 14, in main
          args = cli.parse(sys.argv)
        File "/home/nonroot/opt/couchbase/lib/python/cbmgr.py", line 331, in parse
          l2_args = l1_args.klass().parse(args[2:])
        File "/home/nonroot/opt/couchbase/lib/python/cbmgr.py", line 284, in parse
          return self.parser.parse_args(args)
        File "/home/nonroot/opt/couchbase/lib/python/argparse.py", line 1725, in parse_args
          args, argv = self.parse_known_args(args, namespace)
        File "/home/nonroot/opt/couchbase/lib/python/argparse.py", line 1754, in parse_known_args
          namespace, args = self._parse_known_args(args, namespace)
        File "/home/nonroot/opt/couchbase/lib/python/argparse.py", line 1960, in _parse_known_args
          start_index = consume_optional(start_index)
        File "/home/nonroot/opt/couchbase/lib/python/argparse.py", line 1900, in consume_optional
          take_action(action, args, option_string)
        File "/home/nonroot/opt/couchbase/lib/python/argparse.py", line 1828, in take_action
          action(self, namespace, argument_values, option_string)
        File "/home/nonroot/opt/couchbase/lib/python/cbmgr.py", line 250, in __call__
          CBHelpAction._show_man_page(self.klass.get_man_page_name())
        File "/home/nonroot/opt/couchbase/lib/python/cbmgr.py", line 261, in _show_man_page
          call(["man", os.path.join(CB_MAN_PATH, page)])
      NameError: global name 'call' is not defined
      

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            thuan Thuan Nguyen
            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