Check Home Assistant configuration - Fatal error

Dear All,

For the last few release cycles, the Check Home Assistant configuration addon shows a fatal error while checking my config against the latest version:

Testing configuration at /tmp/config
Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/idna-3.2.dist-info/METADATA'
Failed config
  General Errors: 
    - [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/idna-3.2.dist-info/METADATA'

Despite this, the updates (so far) have always succeeded and during normal run I see no problem with it (the logs are clean).

I checked my config for the missing directory and I found that indeed, I don’t have a /usr/local/lib/python3.9/site-packages/idna-3.2.dist-info structure, but I have a ‘/usr/local/lib/python3.9/site-packages/idna-2.10.dist-info’ directory.

I’m certain I haven’t done anything manually with the idna component. Is there any way to fix this issue (by updating the idna component or otherwise)?

Thanks for any pointers!

What type of installation is it?
The official docker image has /usr/local/lib/python3.9/site-packages/idna-2.10.dist-info with METADATA

It’s a Supervised installation:

System Health

version: core-2021.9.3
installation_type: Home Assistant Supervised
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.6
os_name: Linux
os_version: 4.19.0-17-amd64
arch: x86_64
timezone: Europe/Athens


GitHub API: ok
Github API Calls Remaining: 4844
Installed Version: 1.15.2
Stage: running
Available Repositories: 890
Installed Repositories: 30


logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok


host_os: Debian GNU/Linux 10 (buster)
update_channel: stable
supervisor_version: supervisor-2021.09.0
docker_version: 20.10.8
disk_total: 227.3 GB
disk_used: 10.5 GB
healthy: true
supported: true
supervisor_api: ok
version_api: ok
installed_addons: Z-Wave JS (0.1.37), Check Home Assistant configuration (3.8.0), Node-RED (10.0.0)


dashboards: 4
resources: 19
views: 19
mode: yaml


api_endpoint_reachable: ok

… and yes, the problem is that I do have the idna-2.10.dist-info with METADATA, but the check fails because it looks for a idna-3.2.dist-info structure…

Well, then the issue is in the addon…

Actually, the issue is already reported:

Oh, thank you, I couldn’t find it…

Thanks!!!