homeassistant-midea-air-appliances-lan
homeassistant-midea-air-appliances-lan copied to clipboard
Unable to install Integration: Config flow could not be loaded: {"message":"Invalid handler specified"}
Version of the custom_component
Configuration
2024-03-21 17:13:24.661 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.midea_dehumidifier_lan.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1025, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1058, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/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 "/config/custom_components/midea_dehumidifier_lan/__init__.py", line 31, in
from midea_beautiful.lan import LanDevice
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/__init__.py", line 7, in
from midea_beautiful.lan import LanDevice, appliance_state
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/lan.py", line 13, in
from midea_beautiful.appliance import Appliance
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/appliance.py", line 8, in
from midea_beautiful.command import (
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/command.py", line 17, in
_order_lock = RLock()
^^^^^^^
File "/usr/local/lib/python3.12/multiprocessing/context.py", line 73, in RLock
return RLock(ctx=self.get_context())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 194, in __init__
SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 57, in __init__
sl = self._semlock = _multiprocessing.SemLock(
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system
2024-03-21 17:13:24.664 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration midea_dehumidifier_lan: Exception importing custom_components.midea_dehumidifier_lan.config_flow
Describe the bug
Downloaded via HACS.
Tried to install:
The issue persists after multiple restarts of home assistant and the host machine. I also tried changing the installed version of this integration and fully removing it. Nothing seems to help.
Debug log
Logger: homeassistant.loader
Source: loader.py:1025
First occurred: 5:13:06 PM (4 occurrences)
Last logged: 5:14:53 PM
Unexpected exception importing platform custom_components.midea_dehumidifier_lan.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1025, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1058, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/midea_dehumidifier_lan/__init__.py", line 29, in <module>
from midea_beautiful.cloud import MideaCloud
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/__init__.py", line 7, in <module>
from midea_beautiful.lan import LanDevice, appliance_state
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/lan.py", line 13, in <module>
from midea_beautiful.appliance import Appliance
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/appliance.py", line 8, in <module>
from midea_beautiful.command import (
File "/usr/local/lib/python3.12/site-packages/midea_beautiful/command.py", line 17, in <module>
_order_lock = RLock()
^^^^^^^
File "/usr/local/lib/python3.12/multiprocessing/context.py", line 73, in RLock
return RLock(ctx=self.get_context())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 194, in __init__
SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 57, in __init__
sl = self._semlock = _multiprocessing.SemLock(
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system
Also of note is that the other integration in the screenshot isn't configured yet and I had this error before it was installed.
i ve the same problem since 2 week.... "Invalid Handler Specified" any update to correct this ?
I ended up going with Midea AC Lan for my cube dehumidifier instead. After some minor tweaks it's working.
Shame I couldn't use this more featured library but it is what it is.
I'm also having the same problem. It looks like the most recent update to CORE may have broken this?? I am restoring back to 2.5 now to see if that fixes it.
I'm also having the same problem. It looks like the most recent update to CORE may have broken this?? I am restoring back to 2.5 now to see if that fixes it.
Restoring did not fix the problem! :(
"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.
"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.
Of note is that Midea AC LAN is using some depreciated code and will stop working in Jan.
"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.
Of note is that Midea AC LAN is using some depreciated code and will stop working in Jan.
Oh great! Then nothing will work unless either of which are updated. I'm not holding my breath! Ugh
I'm afraid it's the same issue as is being discussed here https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/issues/134 , the integration needs to be re-written after a change in Docker CE (this is the real root cause of why all of a sudden this stopped working and why a downgrade in e.g. Home Assistant doesn't solve it).
"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.
Of note is that Midea AC LAN is using some depreciated code and will stop working in Jan.
Oh great! Then nothing will work unless either of which are updated. I'm not holding my breath! Ugh
Good news, looks like the depreciated code is being addressed. So that one should keep working.
Seems to be solved in version 0.9.4!
Great! I see the update now! Thanks!
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.