Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78224 - [home-assistant] Missing dependecny for ulid_transform
Attached to Project:
Community Packages
Opened by Łukasz Pożarlik (pozar87) - Sunday, 16 April 2023, 21:31 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 24 May 2023, 21:27 GMT
Opened by Łukasz Pożarlik (pozar87) - Sunday, 16 April 2023, 21:31 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 24 May 2023, 21:27 GMT
|
DetailsDescription:
In recent version the home-assistant seems to require ulid_transform. There was no such package - so I've created one - https://aur.archlinux.org/packages/python-ulid-transform. After installing it, HA starts as normal. Additional info: * home-assistant - 2023.4.2-1 * starting logs: Apr 16 22:50:30 HomeAssistant systemd[1]: Started Home assistant. Apr 16 22:50:31 HomeAssistant hass[2173]: Traceback (most recent call last): Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/bin/hass", line 8, in <module> Apr 16 22:50:31 HomeAssistant hass[2173]: sys.exit(main()) Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/__main__.py", line 181, in main Apr 16 22:50:31 HomeAssistant hass[2173]: args = get_arguments() Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/__main__.py", line 81, in get_arguments Apr 16 22:50:31 HomeAssistant hass[2173]: from . import config as config_util Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/config.py", line 20, in <module> Apr 16 22:50:31 HomeAssistant hass[2173]: from . import auth Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/auth/__init__.py", line 12, in <module> Apr 16 22:50:31 HomeAssistant hass[2173]: from homeassistant import data_entry_flow Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/data_entry_flow.py", line 16, in <module> Apr 16 22:50:31 HomeAssistant hass[2173]: from .core import HomeAssistant, callback Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/core.py", line 83, in <module> Apr 16 22:50:31 HomeAssistant hass[2173]: from .util import dt as dt_util, location, ulid as ulid_util Apr 16 22:50:31 HomeAssistant hass[2173]: File "/usr/lib/python3.10/site-packages/homeassistant/util/ulid.py", line 6, in <module> Apr 16 22:50:31 HomeAssistant hass[2173]: from ulid_transform import bytes_to_ulid, ulid_at_time, ulid_hex, ulid_to_bytes Apr 16 22:50:31 HomeAssistant hass[2173]: ModuleNotFoundError: No module named 'ulid_transform' Apr 16 22:50:31 HomeAssistant systemd[1]: home-assistant.service: Main process exited, code=exited, status=1/FAILURE Apr 16 22:50:31 HomeAssistant systemd[1]: home-assistant.service: Failed with result 'exit-code'. Apr 16 22:50:31 HomeAssistant systemd[1]: home-assistant.service: Consumed 1.624s CPU time. Apr 16 22:50:32 HomeAssistant systemd[1]: home-assistant.service: Scheduled restart job, restart counter is at 8. Apr 16 22:50:32 HomeAssistant systemd[1]: Stopped Home assistant. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Wednesday, 24 May 2023, 21:27 GMT
Reason for closing: Fixed
Additional comments about closing: 1:2023.5.4
Wednesday, 24 May 2023, 21:27 GMT
Reason for closing: Fixed
Additional comments about closing: 1:2023.5.4
Workaround: Run as root (which is usually not recommended= "pip install ulid-transform==0.7.2"