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

Error doing job: Exception in callback ThreadsafeProxy #618

Closed
Yardco opened this issue Apr 29, 2024 · 2 comments · Fixed by #620
Closed

Error doing job: Exception in callback ThreadsafeProxy #618

Yardco opened this issue Apr 29, 2024 · 2 comments · Fixed by #620

Comments

@Yardco
Copy link

Yardco commented Apr 29, 2024

(Hoping I'm creating the issue in the right place, if not, please direct me to the correct repo.)
Since testing out home assistant beta 2024.5, I'm getting the following error:

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:147
First occurred: 08:55:34 (39 occurrences)
Last logged: 09:14:19

Error doing job: Exception in callback ThreadsafeProxy.__getattr__.<locals>.func_wrapper.<locals>.check_result_wrapper() at /usr/local/lib/python3.12/site-packages/bellows/thread.py:110
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.12/site-packages/bellows/thread.py", line 111, in check_result_wrapper
    result = call()
             ^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bellows/ezsp/__init__.py", line 330, in frame_received
    self._protocol(data)
  File "/usr/local/lib/python3.12/site-packages/bellows/ezsp/protocol.py", line 103, in __call__
    result, data = self.types.deserialize(data, schema)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bellows/types/__init__.py", line 9, in deserialize
    value, data = type_.deserialize(data)
                  ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/types/basic.py", line 197, in deserialize
    raise ValueError(f"Data is too short to contain {byte_size} bytes")
ValueError: Data is too short to contain 2 bytes

This error is accompanied by the following warning:

Logger: bellows.ezsp.protocol
Source: runner.py:190
First occurred: 08:55:34 (39 occurrences)
Last logged: 09:14:19

Failed to parse frame changeSourceRouteHandler: b'0c6f15'
Failed to parse frame changeSourceRouteHandler: b'0c4794'
Failed to parse frame changeSourceRouteHandler: b'0ccc82'

turned on debug mode and captured the following log from startup: https://dpaste.org/h98Kv

@puddly
Copy link
Contributor

puddly commented Apr 29, 2024

Could you enable debug mode for the ZHA integration and reload it?

@Yardco
Copy link
Author

Yardco commented Apr 29, 2024

Sure thing (added the log directly here, struggeling with adding it to dpaste)
log file

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

Successfully merging a pull request may close this issue.

2 participants