Traceback (most recent call last):


 "/Users/austin/.virtualenvs/ccfast/bin/alembic", line 8, in <module>

sys.exit(main())


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/config.py", line 581, in main

CommandLine(prog=prog).main(argv=argv)


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/config.py", line 575, in main

self.run_cmd(cfg, options)


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/config.py", line 552, in run_cmd

fn(


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/command.py", line 298, in upgrade

script.run_env()


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/script/base.py", line 489, in run_env

util.load_python_file(self.dir, "env.py")


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file

module = load_module_py(module_id, path)


 "/Users/austin/.virtualenvs/ccfast/lib/python3.9/site-packages/alembic/util/compat.py", line 184, in load_module_py

spec.loader.exec_module(module)


 "<frozen importlib._bootstrap_external>", line 790, in exec_module


 "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed


 "alembic/env.py", line 23, in <module>

from app.db.base import Base
# noqa
ModuleNotFoundError: No module named 'app'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/bluetooth_le_tracker/device_tracker.py", line 116, in update_ble

devs = discover_ble_devices()


 "/usr/src/homeassistant/homeassistant/components/bluetooth_le_tracker/device_tracker.py", line 76, in discover_ble_devices

devs = adapter.scan()


 "/usr/local/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 352, in scan

raise BLEError(message)
pygatt.exceptions.BLEError: Unexpected error when scanning: 
