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

Eventing function management fails when using 7.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.7
    • 3.2.6
    • library
    • None
    • 1

    Description

      http://sdk.jenkins.couchbase.com/blue/organizations/jenkins/python%2Fsdk%2Fpython-integration-pipeline/detail/python-integration-pipeline/1187/tests
       
      _init_() got an unexpected keyword argument 'function_scope'

      Stacktrace

      Traceback (most recent call last):
      File "/home/couchbase/.pyenv/versions/3.8.0/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
      yield
      File "/home/couchbase/.pyenv/versions/3.8.0/lib/python3.8/unittest/case.py", line 672, in run
      self._callSetUp()
      File "/home/couchbase/.pyenv/versions/3.8.0/lib/python3.8/unittest/case.py", line 630, in _callSetUp
      self.setUp()
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/tests_v3/cases/eventingmgmt_t.py", line 92, in setUp
      self._wait_until_status(
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/tests_v3/cases/eventingmgmt_t.py", line 233, in _wait_until_status
      func_status = self.efm._get_status(name)
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/management/eventing.py", line 101, in _get_status
      statuses = self.functions_status()
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/exceptions.py", line 1596, in wrapped
      return func(*args, **kwargs)
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/management/eventing.py", line 342, in functions_status
      return EventingFunctionsStatus.from_server(response)
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/management/eventing.py", line 1490, in from_server
      functions.append(EventingFunctionStatus.from_server(func))
      File "/home/couchbase/jenkins/workspace/python/sdk/python-integration-pipeline/couchbase-python-client-3.8.0-7.1-stable/couchbase/management/eventing.py", line 1456, in from_server
      return cls(**server_json)
      TypeError: _init_() got an unexpected keyword argument 'function_scope'

      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
              jake.rawsthorne Jake Rawsthorne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty