Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'resp'. #3

Open
Greta991 opened this issue Sep 1, 2021 · 0 comments
Open

KeyError: 'resp'. #3

Greta991 opened this issue Sep 1, 2021 · 0 comments

Comments

@Greta991
Copy link

Greta991 commented Sep 1, 2021

Hello,
i run the command: cd tcrm && sh setup.sh --project_id=$GOOGLE_CLOUD_PROJECT
but this error returns: KeyError: 'resp'

Traceback (most recent call last):
  File "cloud_env_setup.py", line 139, in <module>
    main()
  File "cloud_env_setup.py", line 114, in main
    cloud_api_utils.enable_apis(apis=_APIS_TO_BE_ENABLED)
  File "/home/g/TaglessCRM/gps_building_blocks/py/gps_building_blocks/cloud/utils/cloud_api.py", line 92, in enable_apis
    operation = utils.execute_request(request)
  File "/home/g/tcrm-venv/lib/python3.7/site-packages/google/api_core/retry.py", line 286, in retry_wrapped_func
    on_error=on_error,
  File "/home/g/tcrm-venv/lib/python3.7/site-packages/google/api_core/retry.py", line 189, in retry_target
    if not predicate(exc):
  File "/home/g/TaglessCRM/gps_building_blocks/py/gps_building_blocks/cloud/utils/utils.py", line 57, in _is_retriable_http_error
    if error.__dict__['resp'].status in _RETRIABLE_STATUS_CODES:
KeyError: 'resp'

What did i do wrong?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant