Closed pattyland closed 2 years ago
I got this exact error as well running check config against 2022.2.1 on HAOS currently at 2021.12.10. Not sure what to do next. Is this a check config problem or is a config problem on my system preventing upgrade to 2022.2.1. I did try the upgrade earlier, but it did not take. Just seemed to stall and back out with no errors I could easily find.
Same here with checking the 2022.2.2 version
[07:37:21] ERROR: The configuration check did not pass! [07:37:21] ERROR: See the output below for more details. Testing configuration at /tmp/config INFO:homeassistant.helpers.storage:Migrating core.device_registry storage from 1.2 to 1.3 INFO:homeassistant.helpers.storage:Migrating core.entity_registry storage from 1.4 to 1.5 Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' Failed config General Errors:
I did find that 2022.2.1 installed eventually. It took a really long time for it to do my backup (and it was hard to tell it was still doing this and had not just given up - the best clue was trying to do another backup myself manually and the system telling me this could not be done because it was in a freeze state. Eventually after a few hours the update was complete.
Had the same problem. After a manual full backup i could install 2022.2.2. no problem.
Same issue here..
same here
Happening with the latest version (2022.2.3) too.
similar issue here when running the Check Home Assistant Configuration 3.9.0:
`<cut`` for brevity> INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.6.1 INFO:homeassistant.util.package:Attempting install of numpy==1.21.4 INFO:homeassistant.util.package:Attempting install of restrictedpython==5.2 INFO:homeassistant.util.package:Attempting install of pyenvisalink==4.3 Failed config General Errors:
Happening with the latest version (2022.2.5) too.
Same thing, checking 2021.11.4 against 2022.2.5.
You need just update multidict package to 6 version.
.. aaand how would you do that? It is in a docker container, which I prefer to keep official... and the regular updates (of home assistant) should take care of)
@MartinHjelmare You marked this issue with the label 'addon: check_config'. But are you sure this is just an issue with the add-on, not with HAOS or Core? Seems to me the Check Config addon is just doing it's job of pointing out issues, and is doing a fine job here :-)
According to @Beastest13:
You need just update multidict package to 6 version.
Could this issue perhaps be brought under the attention of someone who can fix that for us?
I haven't triaged this issue. I have just marked it with that label to identify which add-on was used.
.. aaand how would you do that? It is in a docker container, which I prefer to keep official... and the regular updates (of home assistant) should take care of)
pip install --upgrade multidict
pip install --upgrade multidict
Tried this, and got this error:
Collecting multidict
Downloading multidict-6.0.2.tar.gz (50 kB)
|████████████████████████████████| 50 kB 953 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: multidict
Building wheel for multidict (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpmf3t02j2
cwd: /tmp/pip-install-qrbp_en7/multidict
Complete output (22 lines):
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
running egg_info
writing multidict.egg-info/PKG-INFO
writing dependency_links to multidict.egg-info/dependency_links.txt
writing top-level names to multidict.egg-info/top_level.txt
reading manifest file 'multidict.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict/_multidict.html'
warning: no previously-included files found matching 'multidict/*.so'
warning: no previously-included files found matching 'multidict/*.pyd'
warning: no previously-included files found matching 'multidict/*.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
running build_ext
building 'multidict._multidict' extension
error: command 'gcc' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.2.4; however, version 22.0.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
bash-5.1#
could use pip3 install --upgrade multidict
.
I'm really unaware of all of the python environment settings but I guess you should use pip3 to comply with python3 (somewhat)
In my rush to make ha 2022.x running on my (old?) raspbian buster it made the final trick. I had to go over the full distro update to bullseye since I was really getting mad with all of the missing dependencies.
After updating to Check Home Assistant Configuration v3.10.0 (merged in #2385) the errors reported above and in #2377 still remain for me.
Error message: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
I'm running: Check Home Assistant Configuration: 3.10.0 HA Core: 2022.2.8 (I also had the issue on 2022.2.7) HA OS: 7.4
Is anyone else still experiencing this issue after updating to v3.10?
I'm new to reporting feedback and wasn't sure where the best place to post this, should this issue be re-opened, or would it be better for me to raise a new one?
Same for me, last night I updated check_config to 3.10 and try the conf for Home Assistant 2022-02-07 but the error is the same as before.
Same here...
I just upgraded from a pi 3 to a pi 4 booting from an SSD last weekend using the latest pre-compiled image. When checking "check home assistant configuration" for the update from core-2022.2.6 to core-2022.2.8 I got the same error:
[15:43:13] ERROR: The configuration check did not pass!
[15:43:13] ERROR: See the output below for more details.
Testing configuration at /tmp/config
Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
Failed config
General Errors:
- [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
Successful config (partial)
So I decided to upgrade multidict using the following method:
docker exec -it homeassistant /bin/bash
apk add build-base
apk add python-dev
pip3 install --upgrade multidict
(build-base is required for gcc and python-dev is required for the required python.h file.)
Which didn't work. Then I tried to do the same with the python outside of the docker (and I added a symbolic link to make sure the path was correct for the python outside of the home assistant docker as well) and that didn't work either...
So at this point I don't know what is going on. Is it working in the wrong docker or something?? Because I am 100% sure that '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
exists. Both inside as outside the home assistant docker.
So as a last ditch effort I tried rebooting one last time to see if that would fix it but it didn't so I don't know anymore.
My apologies. I wasn't sure how to test the update that upgraded the HA base images and was one of the suggestions in the past and so I hoped it worked. Apparently not.
Think this needs reopening @frenck
My apologies. I wasn't sure how to test the update that upgraded the HA base images and was one of the suggestions and so I hoped it worked. Apparently not.
Think this needs reopening @frenck
No worries, I appreciate your work regardless! Does it appear that this is just a bug in the Add-on, or is it reporting a genuine issue?
Happening in 2022.2.9..
Hi, 2022.2.9, supervisor installation, same for me:
Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' Failed config General Errors:
Successful config (partial)
And me
INFO:homeassistant.helpers.storage:Migrating core.device_registry storage from 1.2 to 1.3 INFO:homeassistant.helpers.storage:Migrating core.entity_registry storage from 1.4 to 1.5 Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' Failed config General Errors:
What hardware are you all running? Raspberry Pis, ODroid, single board computers?
What hardware are you all running? Raspberry Pis, ODroid, single board computers?
Raspberry pi 4, booting from an ssd I am running core-2022.2.6 on OS version 5.10.92-v8 with HA OS 7.4. Docker version 20.10.9 Python version 3.9.7
I’m using a pi 3B+
version | core-2021.12.10 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.10.92-v7 |
arch | armv7l |
timezone | Europe/London |
I have the same problem [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' Failed config
Intel nuc i3
What hardware are you all running? Raspberry Pis, ODroid, single board computers?
Raspi 4B+, SSD 128 Gb.
version | core-2022.2.9 |
---|---|
installation_type | Home Assistant Supervised |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.15.21-v7l+ |
arch | armv7l |
timezone | Europe/Moscow |
[14:18:12] ERROR: The configuration check did not pass! [14:18:12] ERROR: See the output below for more details. Testing configuration at /tmp/config INFO:homeassistant.helpers.storage:Migrating core.device_registry storage from 1.2 to 1.3 INFO:homeassistant.helpers.storage:Migrating core.entity_registry storage from 1.4 to 1.5 Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' Failed config General Errors:
version | core-2021.12.10 |
---|---|
installation_type | Home Assistant Supervised |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.4.79-v7l+ |
arch | armv7l |
timezone | America/New_York |
What hardware are you all running? Raspberry Pis, ODroid, single board computers?
I’m running Raspberry Pi 4B 4GB + SSD.
version | core-2022.2.9 |
---|---|
installation_type | Home Assistant Supervised |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.10.0-11-amd64 |
arch | x86_64 |
timezone | Europe/Athens |
Raspberry Pi 4 8GB.
Kind Regards,
Tas Ranson m +61 400 223 502
From: Daneish @.> Sent: Monday, 21 February 2022 15:11 To: home-assistant/addons @.> Cc: tasranson @.>; Comment @.> Subject: Re: [home-assistant/addons] Fatal error while loading config (Issue #2373)
What hardware are you all running? Raspberry Pis, ODroid, single board computers?
I'm running Raspberry Pi 4B 4GB + SSD.
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Faddons%2Fissues%2F2373%23issuecomment-1046468522&data=04%7C01%7C%7C1f43a6ad5bb1434c377f08d9f4f45b19%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637810152600448013%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=1wUpJihhW7d9LzLZ1fyCqr7SSQzsAycR34MAVieuda8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARSOECP6UDYKZKDTYE7HFYTU4G65VANCNFSM5NQDM5SQ&data=04%7C01%7C%7C1f43a6ad5bb1434c377f08d9f4f45b19%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637810152600448013%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6d4oBCI7ZVux75Op%2FAVi%2FT%2BGBC6qaufCmXZMDQpMf1A%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C1f43a6ad5bb1434c377f08d9f4f45b19%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637810152600448013%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=T2hnkFQZ3eJ2DU8GNM0KIc3EgbM34Uq1Y24FV3AZ9QQ%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7C1f43a6ad5bb1434c377f08d9f4f45b19%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637810152600448013%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wuJtVX0%2BHVnHDI9WU%2BiJtkS2QMr7kP9HRB%2Bw8HGi6xs%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
Same issue, running in a VM on Linux (ex office PC i5-4570)
INFO:homeassistant.util.package:Attempting install of colorlog==6.6.0 [1mTesting configuration at /tmp/config[0m INFO:homeassistant.helpers.storage:Migrating core.device_registry storage from 1.1 to 1.3 INFO:homeassistant.helpers.storage:Migrating core.entity_registry storage from 1.1 to 1.5 INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.4.27 INFO:homeassistant.util.package:Attempting install of bellows==0.29.0 INFO:homeassistant.util.package:Attempting install of zha-quirks==0.0.66 INFO:homeassistant.util.package:Attempting install of zigpy-deconz==0.14.0 [31mFatal error while loading config:[0m [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' [1;37mFailed config[0m [1;31mGeneral Errors:[0m [31m[31m
OK. I think the common denominator is using a Zigbee USB stick or hardware addon. Is that right? I'm using a CC2531 flashed with Zigbee2mqtt firmware
True, I do use the following stick:
EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis by ZHA
I am not using one and I got the same error. (Using a fresh installation with only duck dns, TFA and alexa media player via HACS on a pi 4 via ssd)
Could be, I have a zigbee USB stick too.
Kind Regards,
Tas Ranson m +61 400 223 502
From: Timothy Kist @.> Sent: Tuesday, 22 February 2022 19:22 To: home-assistant/addons @.> Cc: tasranson @.>; Comment @.> Subject: Re: [home-assistant/addons] Fatal error while loading config (Issue #2373)
OK. I think the common denominator is using a Zigbee USB stick or hardware addon. Is that right? I'm using a CC2531 flashed with Zigbee2mqtt firmware
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Faddons%2Fissues%2F2373%23issuecomment-1047559590&data=04%7C01%7C%7Cd65f0cc1f8de4af5145608d9f5e08974%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637811167006614280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=sZh3LHteJkxoR39WrgrrBXYc0cOt95EFsxbbApWw%2B68%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARSOECKZT46Q2SB33VREQZDU4NFBRANCNFSM5NQDM5SQ&data=04%7C01%7C%7Cd65f0cc1f8de4af5145608d9f5e08974%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637811167006614280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LoNgsXpKTQcBu5eHuWYBug6ziiv02zw0Ik35q3Jy3f0%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7Cd65f0cc1f8de4af5145608d9f5e08974%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637811167006614280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0X3mIeayTYIOvVIdoNMgEuDn%2Fjo8SHpMF%2BJUHImOnoA%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7Cd65f0cc1f8de4af5145608d9f5e08974%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637811167006614280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=WczfgF8OgqwVADw1ckp9d5dhCk%2F0qmIsGiyRBuJkO4I%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
@Akisame-AI
I am not using one and I got the same error. (Using a fresh installation with only duck dns, TFA and alexa media player via HACS on a pi 4 via ssd)
Strange, though I think there's an integration that's requiring multidict 6.0.0+ but it can't install it. Do you have similar logs you can post?
OK. I think the common denominator is using a Zigbee USB stick or hardware addon. Is that right? I'm using a CC2531 flashed with Zigbee2mqtt firmware
I’m not using Zigbee, I do use Broadlink.
@Akisame-AI
I am not using one and I got the same error. (Using a fresh installation with only duck dns, TFA and alexa media player via HACS on a pi 4 via ssd)
Strange, though I think there's an integration that's requiring multidict 6.0.0+ but it can't install it. Do you have similar logs you can post?
Hi. Firstly, using a zigbee USB stick. Second - did a manual update of the multidict (via pip3 install --upgrade multidict in docker) and then:
xxx@yyy:~ $ docker exec -it homeassistant /bin/bash bash-5.1# ls -la /usr/local/lib/python3.9/site-packages/ | grep multi drwxr-xr-x 3 root root 4096 Feb 19 14:47 multidict drwxr-xr-x 2 root root 4096 Feb 19 14:47 multidict-6.0.2.dist-info
and at the same time with Check Home Assistant configuration:
` [12:49:53] ERROR: The configuration check did not pass! [12:49:53] ERROR: See the output below for more details. Testing configuration at /tmp/config Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' Failed config General Errors:
OK. I think the common denominator is using a Zigbee USB stick or hardware addon. Is that right? I'm using a CC2531 flashed with Zigbee2mqtt firmware
I’m not running any Zigbee sticks, but I am running a USB SSD, if that’s what you meant by hardware add on?
Thanks all
@cfdresearch That's expected I think because there's a dependency constraint meaning that homeassistant can't install multidict>=6.0.0. Can you do a ha core check
after redoing the manual multidict upgrade on the homeassistant container and post the logs?
@Daneish strange. Can you post the /share/check_config.txt file after running Check config addon? You can access the file from either Samba or SSH addon.
@Akisame-AI
I am not using one and I got the same error. (Using a fresh installation with only duck dns, TFA and alexa media player via HACS on a pi 4 via ssd)
Strange, though I think there's an integration that's requiring multidict 6.0.0+ but it can't install it. Do you have similar logs you can post?
I have manually installed multidict-6.0.2 in both the docker as well as outside the docker. To do that I had to install both build-base and Python3-dev in order to compile it. (and create a symbolic link outside the docker so the path would be correct outside of the docker) However....Now that I am looking back into the terminal....It seems everything outside of the docker has been reset... But only outside of the docker. The build-base, python3-dev and multidic-6.0.2.dist-info is still there inside the docker. Weird.
Anyway, I have multidict-6.0.2 installed as shown below: But when I run Check Home Assistant configuration I still get the following:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[11:12:02] INFO: Don't worry, this temporary installation is not overwriting your current one.
[11:12:02] INFO: Installing Home Assistant: stable...
[11:12:02] INFO: Please be patient, this might take a few minutes...
[11:13:40] INFO: Installed Home Assistant 2022.2.9
[11:13:40] INFO: Making a copy of your configuration for checking...
[11:13:41] INFO: Checking your configuration against this version...
[11:17:11] ERROR: The configuration check did not pass!
[11:17:11] ERROR: See the output below for more details.
Testing configuration at /tmp/config
Fatal error while loading config: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
Failed config
General Errors:
- [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
Successful config (partial)
[11:17:11] INFO: The full output has been written to /share/check_config.txt
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Thanks all
@cfdresearch That's expected I think because there's a dependency constraint meaning that homeassistant can't install multidict>=6.0.0. Can you do a ha core check after redoing the manual multidict upgrade on the homeassistant container and post the logs?
Running ha core check
I get the following:
~ ha core check
Processing... Done.
Command completed successfully.
The logs only have following new entries:
Logger: homeassistant.components.homeassistant
Source: components/homeassistant/__init__.py:70
Integration: Home Assistant Core Integration (documentation, issues)
First occurred: February 17, 2022, 5:37:52 PM (195 occurrences)
Last logged: 11:18:45 AM
The service homeassistant.turn_off cannot be called without a target
Logger: asyncio
Source: /usr/local/lib/python3.9/asyncio/selector_events.py:911
First occurred: February 19, 2022, 1:25:16 PM (100 occurrences)
Last logged: 11:22:05 AM
socket.send() raised exception.
The first one is due to an automation where I have an empty turn_off event Supervisor log:
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-02-22 11:17:33 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-02-22 11:19:23 INFO (MainThread) [supervisor.api.middleware.security] /core/check access from a0d7b954_ssh
22-02-22 11:19:23 INFO (SyncWorker_1) [supervisor.docker] Runing command 'python3 -m homeassistant -c /config --script check_config' on ghcr.io/home-assistant/raspberrypi4-64-homeassistant
22-02-22 11:21:46 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant config is valid
22-02-22 11:22:02 ERROR (MainThread) [supervisor.api.ingress] Ingress error: [Errno 104] Connection reset by peer
22-02-22 11:24:45 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
Core logs has nothing interesting.
/share/check_config.txt
INFO:homeassistant.util.package:Attempting install of colorlog==6.6.0
[1mTesting configuration at /tmp/config[0m
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of wakeonlan==2.0.1
INFO:homeassistant.util.package:Attempting install of mutagen==1.45.1
INFO:homeassistant.util.package:Attempting install of gTTS==2.2.3
INFO:homeassistant.util.package:Attempting install of hass-nabucasa==0.52.0
INFO:homeassistant.util.package:Attempting install of scapy==2.4.5
INFO:homeassistant.util.package:Attempting install of aiodiscover==1.4.7
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20220203.1
INFO:homeassistant.util.package:Attempting install of PyNaCl==1.4.0
INFO:homeassistant.util.package:Attempting install of emoji==1.6.3
INFO:homeassistant.util.package:Attempting install of zeroconf==0.38.3
INFO:homeassistant.util.package:Attempting install of pyudev==0.22.0
INFO:homeassistant.util.package:Attempting install of pyserial==3.5
INFO:homeassistant.util.package:Attempting install of async-upnp-client==0.23.4
INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.4.27
INFO:homeassistant.util.package:Attempting install of pillow==9.0.1
INFO:homeassistant.util.package:Attempting install of PyTurboJPEG==1.6.5
[31mFatal error while loading config:[0m [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
[1;37mFailed config[0m
[1;31mGeneral Errors:[0m [31m[31m
- [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
[0m
[1;37mSuccessful config (partial)[0m
Ooh and my system info for good measure: Running on a pi 4 with usb SSD
version | core-2022.2.6 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.10.92-v8 |
arch | aarch64 |
timezone | Europe/Amsterdam |
Here is my log for a comparison
INFO:homeassistant.util.package:Attempting install of colorlog==6.6.0 [1mTesting configuration at /tmp/config[0m INFO:homeassistant.helpers.storage:Migrating core.device_registry storage from 1.2 to 1.3 INFO:homeassistant.helpers.storage:Migrating core.entity_registry storage from 1.4 to 1.5 INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.4.27 INFO:homeassistant.util.package:Attempting install of ring_doorbell==0.7.2 INFO:homeassistant.util.package:Attempting install of ha-ffmpeg==3.0.2 INFO:homeassistant.util.package:Attempting install of scapy==2.4.5 INFO:homeassistant.util.package:Attempting install of aiodiscover==1.4.7 INFO:homeassistant.util.package:Attempting install of broadlink==0.18.0 INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20220203.1 INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0 INFO:homeassistant.util.package:Attempting install of pillow==9.0.1 INFO:homeassistant.util.package:Attempting install of PyTurboJPEG==1.6.5 INFO:homeassistant.util.package:Attempting install of netdisco==3.0.0 INFO:homeassistant.util.package:Attempting install of mutagen==1.45.1 INFO:homeassistant.util.package:Attempting install of gTTS==2.2.3 [31mFatal error while loading config:[0m [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' [1;37mFailed config[0m [1;31mGeneral Errors:[0m [31m[31m
@Daneish strange. Can you post the /share/check_config.txt file after running Check config addon? You can access the file from either Samba or SSH addon.
`1st INFO:homeassistant.util.package:Attempting install of colorlog==6.6.0 [1mTesting configuration at /tmp/config[0m INFO:homeassistant.util.package:Attempting install of spotipy==2.19.0 INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0 INFO:homeassistant.util.package:Attempting install of zeroconf==0.38.3 INFO:homeassistant.util.package:Attempting install of aiofiles==0.6.0 INFO:homeassistant.util.package:Attempting install of numpy==1.21.4 INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.6.1 INFO:homeassistant.util.package:Attempting install of croniter==1.0.6 INFO:homeassistant.util.package:Attempting install of mutagen==1.45.1 INFO:homeassistant.util.package:Attempting install of gTTS==2.2.3 [31mFatal error while loading config:[0m [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA' [1;37mFailed config[0m [1;31mGeneral Errors:[0m [31m[31m
Edit: That one was from a few days ago, but ran it again and got the same result, failing after gTTS, which I also notice is the same as @newbyp above (but that could just be coincidence).
Have tested my config with 2022.03.0b1 and it's all fixed :)
Describe the issue you are experiencing
The Addon fails while loading config
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Check Home Assistant configuration
What is the version of the add-on?
3.9.0
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
Additional information
No response