Community Packages

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!
Tasklist

FS#70159 - [home-assistant] gtts dependency missing

Attached to Project: Community Packages
Opened by Tomasz KoƂodziejski (neo) - Thursday, 25 March 2021, 16:11 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 14 April 2021, 16:49 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 0
Private No

Details

Description: gtts dependency missing. After manually installing pyhton-gtts everything worked fine

Mar 25 15:54:01 xoran-x1 hass[183154]: 2021-03-25 15:54:01 ERROR (MainThread) [homeassistant.config] Platform error: tts
Mar 25 15:54:01 xoran-x1 hass[183154]: Traceback (most recent call last):
Mar 25 15:54:01 xoran-x1 hass[183154]: File "/usr/lib/python3.9/site-packages/homeassistant/config.py", line 823, in async_process_component_config
Mar 25 15:54:01 xoran-x1 hass[183154]: platform = p_integration.get_platform(domain)
Mar 25 15:54:01 xoran-x1 hass[183154]: File "/usr/lib/python3.9/site-packages/homeassistant/loader.py", line 424, in get_platform
Mar 25 15:54:01 xoran-x1 hass[183154]: cache[full_name] = self._import_platform(platform_name)
Mar 25 15:54:01 xoran-x1 hass[183154]: File "/usr/lib/python3.9/site-packages/homeassistant/loader.py", line 429, in _import_platform
Mar 25 15:54:01 xoran-x1 hass[183154]: return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Mar 25 15:54:01 xoran-x1 hass[183154]: File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Mar 25 15:54:01 xoran-x1 hass[183154]: return _bootstrap._gcd_import(name[level:], package, level)
Mar 25 15:54:01 xoran-x1 hass[183154]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
Mar 25 15:54:01 xoran-x1 hass[183154]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
Mar 25 15:54:01 xoran-x1 hass[183154]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
Mar 25 15:54:01 xoran-x1 hass[183154]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
Mar 25 15:54:01 xoran-x1 hass[183154]: File "<frozen importlib._bootstrap_external>", line 790, in exec_module
Mar 25 15:54:01 xoran-x1 hass[183154]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
Mar 25 15:54:01 xoran-x1 hass[183154]: File "/usr/lib/python3.9/site-packages/homeassistant/components/google_translate/tts.py", line 5, in <module>
Mar 25 15:54:01 xoran-x1 hass[183154]: from gtts import gTTS, gTTSError



Additional info:
* package version(s): 2021.1.5-2
* config and/or log files etc.: everything was the default
* link to upstream bug report, if any: none

Steps to reproduce: simply install home-assistant from AUR and observe journalctl -fu home-assistant
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Wednesday, 14 April 2021, 16:49 GMT
Reason for closing:  Won't implement
Additional comments about closing:  The tts module is optional, and python-gtts is in AUR. I can't possibly list every dependency of every optional module in hass. Maybe when someone feels like moving python-gtts to [community] I can revisit this.

Loading...