-
Notifications
You must be signed in to change notification settings - Fork 865
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
錯誤 #631
Comments
你的 core 还是 python 3.12,肯定不是 latest,请前往 设置-关于 再确认下HA版本。 |
same problem, with python 3.13.1, core 2025.1.2, fresh new installed ha core |
更新下插件版本,拉取最新的提交 |
您好,下个版本会换成asyncio,就不会有类似问题了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug / 描述问题
錯誤 設定流程無法載入: {"message":"Invalid handler specified"}
How to Reproduce / 复现步骤
1.unzip
2.install
3.error
Expected Behavior / 预期结果
error
Reproduce Time / 问题复现的时间点
2025/1/12 11:47
Home Assistant Logs / 系统日志
2025-01-12 11:34:56.650 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform custom_components.xiaomi_home.config_flow
Traceback (most recent call last):
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1232, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1264, in import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "F:\ha\config\custom_components\xiaomi_home_init.py", line 64, in
from .miot.miot_device import MIoTDevice
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_device.py", line 89, in
from .miot_client import MIoTClient
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_client.py", line 69, in
from .miot_mips import (
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 300, in
class MipsClient(ABC):
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 332, in MipsClient
_cmd_event_fd: os.eventfd
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'eventfd'
2025-01-12 11:34:56.677 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.xiaomi_home.config_flow
Traceback (most recent call last):
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1232, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1264, in import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "F:\ha\config\custom_components\xiaomi_home_init.py", line 64, in
from .miot.miot_device import MIoTDevice
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_device.py", line 89, in
from .miot_client import MIoTClient
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_client.py", line 69, in
from .miot_mips import (
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 300, in
class MipsClient(ABC):
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 332, in MipsClient
_cmd_event_fd: os.eventfd
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'eventfd'
2025-01-12 11:34:56.686 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration xiaomi_home: Exception importing custom_components.xiaomi_home.config_flow
2025-01-12 11:41:37.713 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform custom_components.xiaomi_home.config_flow
Traceback (most recent call last):
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1232, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1264, in import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "F:\ha\config\custom_components\xiaomi_home_init.py", line 64, in
from .miot.miot_device import MIoTDevice
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_device.py", line 89, in
from .miot_client import MIoTClient
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_client.py", line 69, in
from .miot_mips import (
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 300, in
class MipsClient(ABC):
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 332, in MipsClient
_cmd_event_fd: os.eventfd
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'eventfd'
2025-01-12 11:41:37.738 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.xiaomi_home.config_flow
Traceback (most recent call last):
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1232, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\site-packages\homeassistant\loader.py", line 1264, in import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ha\python-3.12.3.amd64\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "F:\ha\config\custom_components\xiaomi_home_init.py", line 64, in
from .miot.miot_device import MIoTDevice
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_device.py", line 89, in
from .miot_client import MIoTClient
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_client.py", line 69, in
from .miot_mips import (
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 300, in
class MipsClient(ABC):
File "F:\ha\config\custom_components\xiaomi_home\miot\miot_mips.py", line 332, in MipsClient
_cmd_event_fd: os.eventfd
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'eventfd'
2025-01-12 11:41:37.745 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration xiaomi_home: Exception importing custo
Log Timezone / 日志时区
asia
Home Assistant Core Version / Home Assistant Core 版本
latest
Home Assistant Operation System Version / Home Assistant Operation System 版本
latest
Xiaomi Home Integration Version / 米家集成版本
latest
Additional Context / 其他说明
No response
The text was updated successfully, but these errors were encountered: