- 积分
- 416
- 金钱
- 389
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 416
- 金钱
- 389
- HASS币
- 0
|
发表于 2024-4-7 22:33:25
|
显示全部楼层
转移到U盘后有个报错,不影响使用。
日志: homeassistant.setup
来源: setup.py:398
首次发生: 22:01:23 (1 全部发生)
上次记录: 22:01:23
Error during setup of component stream
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 398, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 226, in async_setup
await hass.async_add_executor_job(set_pyav_logging, debug_enabled)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 196, in set_pyav_logging
import av # pylint: disable=import-outside-toplevel
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/av/__init__.py", line 27, in <module>
from av.audio.fifo import AudioFifo
File "/usr/local/lib/python3.12/site-packages/av/audio/__init__.py", line 1, in <module>
from .frame import AudioFrame
File "av/audio/frame.pyx", line 1, in init av.audio.frame
File "av/frame.pyx", line 1, in init av.frame
File "/usr/local/lib/python3.12/site-packages/av/codec/__init__.py", line 1, in <module>
from .codec import Capabilities, Codec, Properties, codec_descriptor, codecs_available
File "av/codec/codec.pyx", line 1, in init av.codec.codec
File "/usr/local/lib/python3.12/site-packages/av/video/__init__.py", line 1, in <module>
from .frame import VideoFrame
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 0: invalid start byte
|
|