David Lechner

Results 1570 comments of David Lechner

Even if it is not paired, BlueZ still caches information about the device. Removing the device will clear all of the cached info so that you can start fresh.

Does it still raise a `BleakError` with v0.11.0? What is the new stack trace?

I recently found a bug in BlueZ where the cache was not entirely cleared when the device is removed. Here is the workaround: bluetoothctl -- remove XX:XX:XX:XX:XX:XX # prior to...

> not being able to import all backends' code on the RTD build servers Does [autodoc_mock_imports](https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports) not work around the problem?

Suggestion: https://github.com/hbldh/bleak/issues/676#issuecomment-950314129

Readthedocs is [passing](https://readthedocs.org/projects/bleak/builds/), so I'm guessing this must have to do with the Sphinx version. It still uses the default Sphinx v1.8.6.

> ImportError: cannot import name 'contextfunction' from 'jinja2' https://stackoverflow.com/q/71634462/1976323 I guess the jinja2 version needs to be pinned as well.

I've never used the top-level makefile, so I would be OK with just deleting the whole file.

These issues have been addressed in 78f15ee and 74c29ff.

If you would like help finding a solution, please provide as much information as possible: --- * bleak version: * Python version: * Operating System: * BlueZ version (`bluetoothctl -v`)...