Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1120

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.1.2, 3.1.3
    • 3.1.1
    • None
    • Python sdk-3.1.1
    • 1

    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

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              jyotsna.nayak Jyotsna Nayak
              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