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

Cannot import name 'Protocol' from 'couchbase_core._pyport'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Cheshire-Cat
    • None
    • Python sdk 3
    • Untriaged
    • 1
    • Unknown

    Description

      Tests are failing due to the following error in the python SDK: 

      Similar issue seen when we run this locally.
       

      >>> from couchbase.cluster import Cluster

      Traceback (most recent call last):

        File "<stdin>", line 1, in <module>

        File "/Users/jyotsna/anaconda3/lib/python3.7/site-packages/couchbase/cluster.py", line 5, in <module>

          from couchbase.management.queries import QueryIndexManager

        File "/Users/jyotsna/anaconda3/lib/python3.7/site-packages/couchbase/management/queries.py", line 8, in <module>

          from couchbase_core._pyport import Protocol

      ImportError: cannot import name 'Protocol' from 'couchbase_core._pyport' (/Users/jyotsna/anaconda3/lib/python3.7/site-packages/couchbase_core/_pyport.py)

      link to a job with a similar stack trace :
      http://perf.jenkins.couchbase.com/view/FTS/job/atlas_collections/767/*
      *

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jyotsna.nayak Jyotsna Nayak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty