正规英国365网址

[技术讨论]基于Edge浏览器的微软TTS插件,无需app_key

[技术讨论]基于Edge浏览器的微软TTS插件,无需app_key

weida295

weida295

当前离线

积分91

金钱84

威望0

贡献0

HASS币0

1

主题6

回帖91

积分

注册会员

注册会员, 积分 91, 距离下一级还需 109 积分

注册会员, 积分 91, 距离下一级还需 109 积分

积分91

金钱84

HASS币0

发消息

129#

发表于 2024-10-31 21:30:40

|

只看该作者

我部署好了之后,调用提示未知错误。

日志记录器: homeassistant.components.websocket_api.http.connection

来源: components/apple_tv/media_player.py:345

集成: Home Assistant WebSocket API (文档, 问题)

首次出现: 21:09:28 (5 次总计出现)

上次记录: 21:27:19

[139966096845280] Error handling message: Unknown error (unknown_error) (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0)

[139966086077104] Error handling message: Unknown error (unknown_error) weida295 from 192.168.3.50 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0)

Traceback (most recent call last):

File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 598, in open

stream_generator = await loop.run_in_executor(

^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run

result = self.fn(*self.args, **self.kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/site-packages/miniaudio.py", line 1270, in stream_any

raise DecodeError("failed to init decoder", result)

miniaudio.DecodeError: ('failed to init decoder', -17)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response

await func(hass, connection, msg)

File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script

script_result = await script_obj.async_run(

^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run

return await asyncio.shield(create_eager_task(run.async_run()))

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 463, in async_run

await self._async_step(log_exceptions=False)

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step

self._handle_exception(

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 557, in _handle_exception

raise exception

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step

await getattr(self, handler)()

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step

response_data = await self._async_run_long_action(

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action

return await long_task

^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call

response_data = await coro

^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service

return await target(service_call)

^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/components/tts/legacy.py", line 156, in async_say_handle

await hass.services.async_call(

File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call

response_data = await coro

^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service

return await target(service_call)

^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call

single_response = await _handle_entity_call(

^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call

result = await task

^^^^^^^^^^

File "/usr/src/homeassistant/homeassistant/components/apple_tv/media_player.py", line 345, in async_play_media

await self.atv.stream.stream_file(media_id)

File "/usr/local/lib/python3.12/site-packages/pyatv/core/facade.py", line 374, in stream_file

await self.relay("stream_file")(

File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/__init__.py", line 360, in stream_file

audio_file = await open_source(

^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 730, in open_source

return await InternetSource.open(source, sample_rate, channels, sample_size)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/raop/audio_source.py", line 611, in open

raise ProtocolError(source.error_message) from ex

pyatv.exceptions.ProtocolError: Got status 500 with message: Internal Server Error

复制代码

相关推荐

手机流量1G到底等于多少兆?单位换算与实用场景攻略
36566666是哪个公司的电话

手机流量1G到底等于多少兆?单位换算与实用场景攻略

📅 2025-08-27 👁️ 6285
手机相册打不开是什么原因
正规英国365网址

手机相册打不开是什么原因

📅 2025-07-11 👁️ 2005
Twitter甜美主播-陈诗云-小合集
正规英国365网址

Twitter甜美主播-陈诗云-小合集

📅 2025-09-05 👁️ 6011
想换个电瓶是换博世还是瓦尔塔
365bet中国

想换个电瓶是换博世还是瓦尔塔

📅 2025-08-31 👁️ 700