Closed backslashV closed 2 years ago
What version of Python are you using? It looks like maybe asyncio.exceptions.InvalidStateError
only works in >3.8. I think I can change it to asyncio.InvalidStateError
which should work down to 3.6.
I'm not sure if that's the actual error though or if its just erroring there as well.
I am running Python 3.7. I changed it to asyncio.InvalidStateError
in my forked repo. Will report if I still see the issue.
So, I upgraded to Python 3.9. The unhandled error part went away, but I am still seeing the "Task exception was never retrieved error" from time to time:
I don't have a RPi to test on unfortunately. Does it still move the desk correctly despite the errors, or does it stop? If you were willing to add some error handling in the right place I'd happily accept a PR.
Closing as it seems like it works despite the error?
Device: raspberry pi zero
bluetoothctl -v: 5.6.2
Error:
Any ideas? I was getting the same error before updating bluetoothctl when it was at v5.5.