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

Config flow could not be loaded: {"message":"Invalid handler specified"} #10

Open
HalmarV opened this issue May 23, 2023 · 5 comments
Open

Comments

@HalmarV
Copy link

HalmarV commented May 23, 2023

HA ver. 2023.5.3
IDS X64, extented zones, two partition.

Config flow could not be loaded: {"message":"Invalid handler specified"}
error as soon as integration is added, never get to request account/user/alarm details.

Logger: homeassistant.config_entries
Source: config_entries.py:863
First occurred: May 22, 2023 at 11:15:02 PM (6 occurrences)
Last logged: 9:17:34 PM

Error occurred loading flow for integration ids_hyyp: Exception importing custom_components.ids_hyyp.config_flow

This error originated from a custom integration.

Logger: homeassistant.loader
Source: custom_components/ids_hyyp/init.py:6
Integration: IDS Hyyp(Beta)
First occurred: May 22, 2023 at 11:15:02 PM (6 occurrences)
Last logged: 9:17:34 PM

Unexpected exception importing platform custom_components.ids_hyyp.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
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 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
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/ids_hyyp/init.py", line 6, in
from pyhyypapi import HyypClient
File "/usr/local/lib/python3.10/site-packages/pyhyypapi/init.py", line 6, in
from .push_receiver import run_example
File "/usr/local/lib/python3.10/site-packages/pyhyypapi/push_receiver.py", line 25, in
from .android_checkin_pb2 import AndroidCheckinProto, ChromeBuildProto
File "/usr/local/lib/python3.10/site-packages/pyhyypapi/android_checkin_pb2.py", line 36, in
_descriptor.EnumValueDescriptor(
File "/usr/local/lib/python3.10/site-packages/google/protobuf/descriptor.py", line 796, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Thanks - please let me know if I can assist with testing, happy to help where I can, would like to get this working.

@hawky358
Copy link

@HalmarV

Hello there,
From activity it seems like the dev is on hiatus or quit.

I have forked the repo and fixed this specific issue. See https://github.com/hawky358/hass_ids_hyyp

@HalmarV
Copy link
Author

HalmarV commented May 27, 2023 via email

@HalmarV
Copy link
Author

HalmarV commented May 27, 2023 via email

@Owewolf
Copy link

Owewolf commented May 27, 2023

Thanks Hawky, I’m back to where I was still not running for me: , I have two separate sites both with one partition and a stay profile programmed I’m unable to get the integration going

@hawky358
Copy link

@Owewolf Would you mind logging it as an issue on my fork so we can continue the conversation there? Let's see if I can get it going for you.
I don't have access to a 2 site setup, but let's move the discussion first.

https://github.com/hawky358/hass_ids_hyyp/issues

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