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

Possible issue beginning with 1.3.4 #105

Open
jhemak opened this issue May 22, 2024 · 4 comments
Open

Possible issue beginning with 1.3.4 #105

jhemak opened this issue May 22, 2024 · 4 comments

Comments

@jhemak
Copy link

jhemak commented May 22, 2024

Hello, I have been seeing the below error in my logs, multiple times, for the past day. The only thing I recall changing was installing 1.3.4 of this integration. I am not 100% sure there is a connection, however I've tried bouncing between 1.3.3 and 1.3.4 today and when I do get the error it's always been with 1.3.4 installed. I've never, so far, seen the error when running 1.3.3. That said, I don't understand the error enough to know if there could be a link with this integration or if it's something completely unrelated. Has anyone else seen this?

2024-05-22 19:07:37.822 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 504, in _async_callback_delayed_write
await self._async_handle_write_data()
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 529, in _async_handle_write_data
await self._async_write_data(self.path, data)
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 534, in _async_write_data
await self.hass.async_add_executor_job(self._write_data, self.path, data)
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/helpers/storage.py", line 541, in _write_data
data["data"] = data.pop("data_func")()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/homeassistant/exposed_entities.py", line 390, in _data_to_save
"exposed_entities": {
^
RuntimeError: dictionary changed size during iteration
@mrk-its
Copy link
Owner

mrk-its commented May 23, 2024

Thanks, will take a look on that later this week

@jhemak
Copy link
Author

jhemak commented May 24, 2024

I ended up seeing the same behavior even when downgraded to 1.3.3 ... however it is intermittent. I disabled the integration and have not seen any of these errors since then. So, I am still inclined to think this integration is causing it, just not sure in which version it started now. I'll provide an update if I learn anything more. Thanks!

@jhemak
Copy link
Author

jhemak commented May 27, 2024

Confirmed ... it's due to this integration. I had it disabled for the past 48 hours and saw none of these errors. Just enabled it during a thunderstorm here and started seeing the error above within a couple minutes.

@jhemak
Copy link
Author

jhemak commented Jul 3, 2024

Still seeing this with 2024.7. Any ideas?

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

2 participants