Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error showing in portainer #48

Open
BerserkeR-Git opened this issue Jun 18, 2024 · 0 comments
Open

Error showing in portainer #48

BerserkeR-Git opened this issue Jun 18, 2024 · 0 comments

Comments

@BerserkeR-Git
Copy link

BerserkeR-Git commented Jun 18, 2024

2024-06-18T14:52:22.322376342Z 2024-06-18 16:52:22.321 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'edge_tts' at custom_components/edge_tts/tts.py, line 408: async for chunk in tts.stream(): (offender: /usr/local/lib/python3.12/netrc.py, line 74: with open(file, encoding="utf-8") as fp:), please create a bug report at https://github.com/hasscc/hass-edge-tts/issues
2024-06-18T14:52:22.322425492Z Traceback (most recent call last):
2024-06-18T14:52:22.322437222Z   File "<frozen runpy>", line 198, in _run_module_as_main
2024-06-18T14:52:22.322469893Z   File "<frozen runpy>", line 88, in _run_code
2024-06-18T14:52:22.322479863Z   File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
2024-06-18T14:52:22.322487973Z     sys.exit(main())
2024-06-18T14:52:22.322496533Z   File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
2024-06-18T14:52:22.322505533Z     exit_code = runner.run(runtime_conf)
2024-06-18T14:52:22.322514613Z   File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
2024-06-18T14:52:22.322524323Z     return loop.run_until_complete(setup_and_run_hass(runtime_config))
2024-06-18T14:52:22.322533243Z   File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
2024-06-18T14:52:22.322541123Z     self.run_forever()
2024-06-18T14:52:22.322549674Z   File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
2024-06-18T14:52:22.322558704Z     self._run_once()
2024-06-18T14:52:22.322567434Z   File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
2024-06-18T14:52:22.322576754Z     handle._run()
2024-06-18T14:52:22.322585004Z   File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
2024-06-18T14:52:22.322593944Z     self._context.run(self._callback, *self._args)
2024-06-18T14:52:22.322602474Z   File "/usr/src/homeassistant/homeassistant/components/tts/__init__.py", line 727, in get_tts_data
2024-06-18T14:52:22.322611454Z     extension, data = await engine_instance.async_get_tts_audio(
2024-06-18T14:52:22.322619844Z   File "/config/custom_components/edge_tts/tts.py", line 408, in async_get_tts_audio
2024-06-18T14:52:22.322628214Z     async for chunk in tts.stream():

This error simply comes up when you run TTS in an automation, latest HA version docker install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant