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

cli commands including cbstats and couchbase-cli don't work in Mac OSX

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8.0, 1.8.1, 2.0-developer-preview-3
    • Fix Version/s: 2.0
    • Component/s: installer
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Mac OSX 1.7.1

      Description

      #! /bin/sh
      prefix=/Users/dustin/work/dev/membase/171/install
      exec_prefix=$

      {prefix}

      root=$

      {exec_prefix}

      /lib/python

      if test -z "$

      {PYTHONPATH}"; then
      PYTHONPATH=$root
      else
      PYTHONPATH=$root:${PYTHONPATH}

      fi
      export PYTHONPATH
      exec $root/`basename $0` "$@"

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

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        the path needs to be fixed before creating the dmg

        right now the path is hardcoded in all the scripts as mentioned above

        Show
        farshid Farshid Ghods (Inactive) added a comment - the path needs to be fixed before creating the dmg right now the path is hardcoded in all the scripts as mentioned above
        Hide
        dserodio Daniel Serodio added a comment -

        Is this really fixed? Prefix is set to "../" but it still doesn't work:

        bin/couchbase-cli: line 13: /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/..//lib/python/couchbase-cli: No such file or directory
        bin/couchbase-cli: line 13: exec: /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/..//lib/python/couchbase-cli: cannot execute: No such file or directory

        Setting prefix to "/Applications/Couchbase Server.app/Contents/Resources/couchbase-core" fixes it.

        Show
        dserodio Daniel Serodio added a comment - Is this really fixed? Prefix is set to "../" but it still doesn't work: bin/couchbase-cli: line 13: /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/..//lib/python/couchbase-cli: No such file or directory bin/couchbase-cli: line 13: exec: /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/..//lib/python/couchbase-cli: cannot execute: No such file or directory Setting prefix to "/Applications/Couchbase Server.app/Contents/Resources/couchbase-core" fixes it.
        Hide
        mikew Mike Wiederhold added a comment -

        Looks like this was fixed for 2.0. I just downloaded 1.8.1 and verified that this is an issue, but it looks like things function okay in the 2.0 recent builds

        Show
        mikew Mike Wiederhold added a comment - Looks like this was fixed for 2.0. I just downloaded 1.8.1 and verified that this is an issue, but it looks like things function okay in the 2.0 recent builds

          People

          • Assignee:
            Unassigned
            Reporter:
            mikew Mike Wiederhold
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes