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

Error with last update #88

Open
marc3k18 opened this issue Mar 1, 2023 · 2 comments
Open

Error with last update #88

marc3k18 opened this issue Mar 1, 2023 · 2 comments

Comments

@marc3k18
Copy link

marc3k18 commented Mar 1, 2023

Logger: homeassistant.loader
Source: custom_components/googlewifi/init.py:8
Integration: Google WiFi Integration (documentation, issues)
First occurred: 11:51:11 PM (1 occurrences)
Last logged: 11:51:11 PM

Unexpected exception importing component custom_components.googlewifi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 730, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/googlewifi/init.py", line 8, in
from googlewifi import GoogleHomeIgnoreDevice, GoogleWifi, GoogleWifiException
File "/usr/local/lib/python3.10/site-packages/googlewifi/init.py", line 8, in
from ghome_foyer_api.api_pb2 import GetHomeGraphRequest
File "/usr/local/lib/python3.10/site-packages/ghome_foyer_api/api_pb2.py", line 18, in
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
File "/usr/local/lib/python3.10/site-packages/google/protobuf/descriptor_pool.py", line 220, in AddSerializedFile
file_desc = self._ConvertFileProtoToFileDescriptor(file_desc_proto)
File "/usr/local/lib/python3.10/site-packages/google/protobuf/descriptor_pool.py", line 771, in _ConvertFileProtoToFileDescriptor
message_desc = self._ConvertMessageDescriptor(
File "/usr/local/lib/python3.10/site-packages/google/protobuf/descriptor_pool.py", line 913, in _ConvertMessageDescriptor
self._CheckConflictRegister(desc, desc.full_name, desc.file.name)
File "/usr/local/lib/python3.10/site-packages/google/protobuf/descriptor_pool.py", line 192, in _CheckConflictRegister
raise TypeError(error_msg)
TypeError: Conflict register for file "ghome_foyer_api/api.proto": google.internal.home.foyer.v1.GetAssistantRoutinesRequest is already defined in file "google/internal/home/foyer/v1.proto". Please fix the conflict by adding package name on the proto file, or use different name for the duplication.

@DerekF35
Copy link

DerekF35 commented Mar 1, 2023

Are you using Google Home HACS integration? If so, updating to the newly release v1.9.17 will allow them to play nice together. I had your error as well and can confirm Google Home v1.9.17 fixed it for me.

https://github.com/leikoilja/ha-google-home/releases/tag/v1.9.17

@frakman1
Copy link

I have this error too and I also have the Google Home HACS Integration.
I tried to update Google Home Integration but there is no option to Update within HACS:

image

It shows the current version as 1.9.15 and the latest version is 1.10.0 so I'm not sure why it doesn't see it:

image

I am using Home Assistant Core in docker within UNRAID. Obtained from: https://registry.hub.docker.com/r/homeassistant/home-assistant/

Home Assistant 2022.12.6
Frontend 20221213.0 - latest

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

3 participants