Google Cloud error after config check

Ran the config check before updating, and received this error. I don’t know where to start, is this something I need to do on my end, or wait for a component fix?

Thanks for the help in advance.

This is the error.

General Errors: 
    - Platform error tts.google_cloud - Error relocating /usr/local/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-arm-linux-gnueabihf.so: backtrace: symbol not found

2 Likes

I have the same issue (like I posted in the 0.115.0 update thread) When starting hass (docker) I get the following error:

home-assistant   | 2020-09-18 15:11:27 ERROR (MainThread) [homeassistant.config] Platform error: tts
home-assistant   | Traceback (most recent call last):
home-assistant   |   File "/usr/src/homeassistant/homeassistant/config.py", line 815, in async_process_component_config
home-assistant   |     platform = p_integration.get_platform(domain)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/loader.py", line 401, in get_platform
home-assistant   |     cache[full_name] = importlib.import_module(
home-assistant   |   File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
home-assistant   |     return _bootstrap._gcd_import(name[level:], package, level)
home-assistant   |   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
home-assistant   |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
home-assistant   |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
home-assistant   |   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
home-assistant   |   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
home-assistant   |   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/google_cloud/tts.py", line 7, in <module>
home-assistant   |     from google.cloud import texttospeech
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/google/cloud/texttospeech.py", line 19, in <module>
home-assistant   |     from google.cloud.texttospeech_v1 import TextToSpeechClient
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/google/cloud/texttospeech_v1/__init__.py", line 21, in <module>
home-assistant   |     from google.cloud.texttospeech_v1.gapic import text_to_speech_client
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/google/cloud/texttospeech_v1/gapic/text_to_speech_client.py", line 22, in <module>
home-assistant   |     import google.api_core.gapic_v1.client_info
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/google/api_core/gapic_v1/__init__.py", line 18, in <module>
home-assistant   |     from google.api_core.gapic_v1 import config
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/google/api_core/gapic_v1/config.py", line 23, in <module>
home-assistant   |     import grpc
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/grpc/__init__.py", line 23, in <module>
home-assistant   |     from grpc._cython import cygrpc as _cygrpc
home-assistant   | ImportError: Error relocating /usr/local/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-arm-linux-gnueabihf.so: backtrace: symbol not found

I think I’ll file bug-report on github since it was definitely working before the upgrade

1 Like

It’s already reported: https://github.com/home-assistant/core/issues/40148

Sounds good, Guess I will sit back and wait for someone to pick it up and find what is causing it to act up Thanks for the reply. :slight_smile:

Well this is a bit concerning, no one has picked up the integration to fix it yet over on github… I may have to start looking at the alternatives. Might have to go back to Amazon’s poly

Hi
I have the same problem on google vision with the last version 0.115.2 !

  Platform error image_processing.google_vision - Error relocating /usr/local/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-arm-linux-gnueabihf.so: backtrace: symbol not found

Giloris

A workaround has been created with https://github.com/home-assistant/core/pull/40678 I suspect it will land in a new (minor) release soon.

Hi
It seems 0.115.4 résolve problem
I tested yesterday on Google vision works very well now .
Regards
Giloris

That makes sense: According to the 0.115.4 changelog the PR is merged in. I haven’t tested it myself yet.