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

Please rename lib/couchbase module so that it doesn't conflict with public sdk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • bug-backlog
    • None
    • test-execution
    • Security Level: Public
    • None

    Description

      Hey Deep, believe you have many tests relying on the couchbase.py module. Problem is whenever I have public couchbase sdk installed and try to use anything from testrunner that relies on rest_client, I get the following error:

      File "../lib/membase/api/rest_client.py", line 8, in <module>
      from couchbase.document import DesignDocument, View
      ImportError: No module named document

      In the past I've done workaround by modifying sys.path to import local couchbase module first. But now I have a complicated situation where this is no longer working.
      Will be great to find another name for this: 'lib/couchbaseinternal' or 'lib/rest_couchbase' ?

      Attachments

        For Gerrit Dashboard: MB-6923
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty