Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest release is breaking deployments on GAE Flex #47

Closed
@shaibt

Description

@shaibt

Environment details

  • OS type and version: GCP App Engine Python Flex
  • Python version: 3.6
  • pip version: pip --version
  • google-api-core version: 1.20.0

Steps to reproduce

  1. Deploy GAE app using default docker container to GAE Flex Python

Stack trace

File "/env/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() 
File "/env/lib/python3.6/site-packages/gunicorn/workers/base.py", line 119, in init_process self.load_wsgi() 
File "/env/lib/python3.6/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi self.wsgi = self.app.wsgi() 
File "/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() 
File "/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 49, in load return self.load_wsgiapp() 
File "/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp return util.import_app(self.app_uri) 
File "/env/lib/python3.6/site-packages/gunicorn/util.py", line 358, in import_app mod = importlib.import_module(module) 
File "/env/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) 
File "<frozen importlib._bootstrap>", line 994, in _gcd_import 
File "<frozen importlib._bootstrap>", line 971, in _find_and_load 
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked 
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked 
File "<frozen importlib._bootstrap_external>", line 678, in exec_module 
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed 
File "/home/vmagent/app/main.py", line 14, in <module> from google.cloud import logging as google_logging 
File "/env/lib/python3.6/site-packages/google/cloud/logging/__init__.py", line 22, in <module> from google.cloud.logging.client import Client F
ile "/env/lib/python3.6/site-packages/google/cloud/logging/client.py", line 21, in <module> from google.cloud.logging import _gapic 
File "/env/lib/python3.6/site-packages/google/cloud/logging/_gapic.py", line 20, in <module> from google.cloud.logging_v2.gapic.config_service_v2_client import ConfigServiceV2Client 
File "/env/lib/python3.6/site-packages/google/cloud/logging_v2/__init__.py", line 18, in <module> from google.cloud.logging_v2.gapic import config_service_v2_client 
File "/env/lib/python3.6/site-packages/google/cloud/logging_v2/gapic/config_service_v2_client.py", line 25, in <module> import google.api_core.gapic_v1.client_info 
File "/env/lib/python3.6/site-packages/google/api_core/gapic_v1/__init__.py", line 26, in <module> from google.api_core.gapic_v1 import method_async # noqa: F401 
File "/env/lib/python3.6/site-packages/google/api_core/gapic_v1/method_async.py", line 20, in <module> from google.api_core import general_helpers, grpc_helpers_async 
File "/env/lib/python3.6/site-packages/google/api_core/grpc_helpers_async.py", line 145, in <module> class _WrappedStreamUnaryCall(_WrappedUnaryResponseMixin, _WrappedStreamRequestMixin, aio.StreamUnaryCall): AttributeError: module 'grpc.experimental.aio' has no attribute 'StreamUnaryCall'

See also this SO post

Metadata

Metadata

Assignees

Labels

externalThis issue is blocked on a bug with the actual product.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions