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

[Windows] couchbase-cli uses wrong ebin path names

    XMLWordPrintable

Details

    • Triaged
    • 1
    • Unknown

    Description

      couchbase-cli has code that expects the babysitter ebin files to be here:

      babystr_ebin_path = os.path.join(CB_LIB_PATH, "ns_server", "erlang", "lib" , "ns_babysitter", "ebin")
      ns_server_ebin_path = os.path.join(CB_LIB_PATH, "ns_server", "erlang", "lib", "ns_server", "ebin")
      

      On linux CB_LIB_PATH is /opt/couchbase/lib
      On Windows CB_LIB_PATH is C:\Program Files\Couchbase\Server\lib

      The ebin files on linux are in

          
      /opt/couchbase/lib/ns_server/erlang/lib/ns_babysitter/ebin
      

      which matches the expected location.

      However on Windows the ebin files are in

       C:\Program Files\Couchbase\Server\lib\ns_babysitter\ebin
      

      instead of where the code is looking for them

       C:\Program Files\Couchbase\Server\lib\ns_server\erlang\lib\ns_babysitter\ebin
      

      I don't know if this is a packaging/installation issue or if couchbase-cli should have OS-specific code.

      Attachments

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

        Activity

          People

            pvarley Patrick Varley (Inactive)
            steve.watanabe Steve Watanabe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty