Check Home Assistant configuration 0.98.1 UPDATE

hello community,

as always i’ve launched the add-on to check if there are problems with the new update and this time i can’t debug the following error… can someone help me?

[21:42:04] INFO: Installing Home Assistant: latest...
[21:42:04] INFO: Please be patient, this might take a few minutes...
WARNING: You are using pip version 19.1.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[21:45:03] INFO: Installed Home Assistant 0.98.1
[21:45:03] INFO: Don't worry, this temporary installation is not overwriting your current one.
[21:45:03] INFO: Making a copy of your configuration for checking...
[21:45:08] INFO: Checking your configuration against this version...
[21:49:33] ERROR: The configuration check did not pass!
[21:49:33] ERROR: See the output below for more details.
INFO:homeassistant.util.package:Attempting install of colorlog==4.0.2
Testing configuration at /tmp/config
INFO:homeassistant.util.package:Attempting install of hass-nabucasa==0.17
INFO:homeassistant.util.package:Attempting install of restrictedpython==4.0
INFO:homeassistant.util.package:Attempting install of python-nmap==0.6.1
INFO:homeassistant.util.package:Attempting install of getmac==0.8.1
INFO:homeassistant.util.package:Attempting install of yeelight==0.5.0
INFO:homeassistant.util.package:Attempting install of pywebpush==1.9.2
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20190828.0
INFO:homeassistant.util.package:Attempting install of androidtv==0.0.24
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/scripts/check_config.py", line 206, in check
    async_check_ha_config_file(hass)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/check_config.py", line 156, in async_check_ha_config_file
    platform = p_integration.get_platform(domain)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/loader.py", line 235, in get_platform
    "{}.{}".format(self.pkg_path, platform_name)
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/androidtv/media_player.py", line 6, in <module>
    from androidtv import setup, ha_state_detection_rules_validator
  File "/usr/local/lib/python3.7/site-packages/androidtv/__init__.py", line 6, in <module>
    from .androidtv import AndroidTV
  File "/usr/local/lib/python3.7/site-packages/androidtv/androidtv.py", line 9, in <module>
    from .basetv import BaseTV
  File "/usr/local/lib/python3.7/site-packages/androidtv/basetv.py", line 13, in <module>
    from adb import adb_commands
  File "/usr/local/lib/python3.7/site-packages/adb/adb_commands.py", line 31, in <module>
    from adb import common
  File "/usr/local/lib/python3.7/site-packages/adb/common.py", line 25, in <module>
    import libusb1
  File "/usr/local/lib/python3.7/site-packages/libusb1.py", line 8, in <module>
    from usb1.libusb1 import *
  File "/usr/local/lib/python3.7/site-packages/usb1/__init__.py", line 61, in <module>
    from . import libusb1
  File "/usr/local/lib/python3.7/site-packages/usb1/libusb1.py", line 199, in <module>
    libusb = _loadLibrary()
  File "/usr/local/lib/python3.7/site-packages/usb1/libusb1.py", line 173, in _loadLibrary
    return dll_loader('libusb-1.0' + suffix, **loader_kw)
  File "/usr/local/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: Error loading shared library libusb-1.0.so: No such file or directory
Fatal error while loading config: Error loading shared library libusb-1.0.so: No such file or directory
Failed config
  General Errors: 
    - Error loading shared library libusb-1.0.so: No such file or directory

Successful config (partial)

It looks like that add-on is missing a library, I’d open an issue with the developer.

thanks for the quick reply, you mean open an issue in the “check home assistant configuration” add-on or the home assistant os?

The requirements chain is:

androidtv --> adb-homeassistant --> libusb1

libusb1 is looking for libusb-1.0.so, which apparently isn’t present.

I don’t use the config checker add-on, but I updated to 0.98 with no issues. Also, while the androidtv version got bumped, its requirements are the same, so I don’t know why it would complain now if it wasn’t complaining before.

I saw that a few people mentioned this issue in the 0.98 release notes thread, but I think they successfully updated despite this message.