FS#67961 - [home-assistant] No module named 'hass_nabucasa'

Attached to Project: Community Packages
Opened by Jamin Collins (jamincollins) - Monday, 21 September 2020, 22:58 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 22 September 2022, 16:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
A fresh install of home-assistant 0.115.2-1 will not successfully start the first time.

Additional info:
* home-assistant 0.115.2-1

Steps to reproduce:

* sudo pacman -Sy home-assistant
* sudo systemctl start home-assistant
* journalctl -f -u home-assistant

journal output:
Sep 21 22:24:54 testing systemd[1]: Started Home assistant.
Sep 21 22:25:07 testing hass[1178]: 2020-09-21 22:25:07 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: No module named 'hass_nabucasa'
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: No module named 'PIL'
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Unable to import component: No module named 'zeroconf'
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for ssdp: Unable to import component: No module named 'defusedxml'
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
Sep 21 22:25:10 testing hass[1178]: 2020-09-21 22:25:10 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
Sep 21 22:25:11 testing hass[1178]: 2020-09-21 22:25:11 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Unable to import component: No module named 'mutagen'

watching "sudo netstat -ntlp" shows that home-assistant never opens a listener on port 8123.

A subsequent stop/start or restart of home-assistant will allow it to finish startup and open the listener.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Thursday, 22 September 2022, 16:02 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75379 
Comment by Maxime Gauduin (Alucryd) - Wednesday, 30 September 2020, 06:40 GMT
This is a known issue and I don't really know how to go around it for now.

Loading...