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

[CX] Python UDFs broken on MacOS & Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • analytics
    • Untriaged
    • 1
    • Unknown
    • CX Sprint 246

    Description

      Currently the path to cbpy is assumed on unixen to be $CBHOME/lib/python/runtime/ . This is wrong for MacOS. There should be logic to find or know the path to the installed cbpy inside $HOME/Library/Python/couchbase-py/ .

      For Windows, the problem is similar but is only for a library path. Currently site packages are assumed to be at $CBHOME/lib/python/runtime/lib/python3.9/site-packages. For Windows this needs to be altered to $CBHOME/lib/python/runtime/Lib/site-packages . 

      Attachments

        Issue Links

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

          Activity

            People

              umang.agrawal Umang
              ian.maxon Ian Maxon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty