Open AbadiMac opened 1 month ago
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (yale
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
yale documentation yale source (message by IssueLinks)
@bdraco Hello, again do you mind having a look? Also I tried to reinstall the integration but the integration is giving:
Error Config flow could not be loaded: {"message":"Invalid handler specified"}
@homeassistant All types of the integration are not working anymore, I see no responses here, what to do?
SyntaxError: source code string cannot contain null bytes
This usually means this disk corruption, try rebuilding the container or replacing the storage media
The problem
Hello,
I just updated from 2024.10.2 to 2024.10.3 and Yale integration showing not loaded!
What version of Home Assistant Core has the issue?
core-2024.10.3
What was the last working version of Home Assistant Core?
core-2024.10.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Yale
Link to integration documentation on our website
https://www.home-assistant.io/integrations/yale
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Logger: homeassistant.setup Source: setup.py:334 First occurred: 11:10:17 PM (1 occurrences) Last logged: 11:10:17 PM
Setup failed for 'yale': Unable to import component: Exception importing homeassistant.components.yale Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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 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 "/usr/src/homeassistant/homeassistant/components/yale/init.py", line 22, in
from .data import YaleData
File "/usr/src/homeassistant/homeassistant/components/yale/data.py", line 6, in
from yalexs.manager.data import YaleXSData
File "/usr/local/lib/python3.12/site-packages/yalexs/manager/data.py", line 24, in
from .activity import ActivityStream
File "/usr/local/lib/python3.12/site-packages/yalexs/manager/activity.py", line 19, in
from .socketio import SocketIORunner
File "/usr/local/lib/python3.12/site-packages/yalexs/manager/socketio.py", line 1, in
import socketio
File "/usr/local/lib/python3.12/site-packages/socketio/init.py", line 1, in
from .client import Client
File "/usr/local/lib/python3.12/site-packages/socketio/client.py", line 3, in
import engineio
File "/usr/local/lib/python3.12/site-packages/engineio/init.py", line 2, in
from .middleware import WSGIApp, Middleware
File "/usr/local/lib/python3.12/site-packages/engineio/middleware.py", line 2, in
from engineio.static_files import get_static_file
SyntaxError: source code string cannot contain null bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component comp = await self.hass.async_add_import_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1078, in _get_component raise ImportError(f"Exception importing {self.pkg_path}") from err ImportError: Exception importing homeassistant.components.yale
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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 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 "/usr/src/homeassistant/homeassistant/components/yale/init.py", line 22, in
from .data import YaleData
File "/usr/src/homeassistant/homeassistant/components/yale/data.py", line 6, in
from yalexs.manager.data import YaleXSData
File "/usr/local/lib/python3.12/site-packages/yalexs/manager/data.py", line 24, in
from .activity import ActivityStream
File "/usr/local/lib/python3.12/site-packages/yalexs/manager/activity.py", line 19, in
from .socketio import SocketIORunner
File "/usr/local/lib/python3.12/site-packages/yalexs/manager/socketio.py", line 1, in
import socketio
File "/usr/local/lib/python3.12/site-packages/socketio/init.py", line 1, in
from .client import Client
File "/usr/local/lib/python3.12/site-packages/socketio/client.py", line 3, in
import engineio
File "/usr/local/lib/python3.12/site-packages/engineio/init.py", line 2, in
from .middleware import WSGIApp, Middleware
File "/usr/local/lib/python3.12/site-packages/engineio/middleware.py", line 2, in
from engineio.static_files import get_static_file
SyntaxError: source code string cannot contain null bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component self._component_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1019, in async_get_component comp = self._get_component() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1078, in _get_component raise ImportError(f"Exception importing {self.pkg_path}") from err ImportError: Exception importing homeassistant.components.yale