|
发表于 2020-8-5 12:40:24
|
显示全部楼层
请求帮助:
Logger: homeassistant.bootstrap
Source: custom_components/ha_cloud_music/media_player.py:29
First occurred: 下午12:34:48 (1 occurrences)
Last logged: 下午12:34:48
Error setting up integration media_player - received exception
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.7/site-packages/homeassistant/setup.py", line 68, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/homeassistant_venv/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
hass, config, integration
File "/srv/homeassistant/homeassistant_venv/lib/python3.7/site-packages/homeassistant/config.py", line 804, in async_process_component_config
platform = p_integration.get_platform(domain)
File "/srv/homeassistant/homeassistant_venv/lib/python3.7/site-packages/homeassistant/loader.py", line 322, in get_platform
f"{self.pkg_path}.{platform_name}"
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/ha_cloud_music/media_player.py", line 29, in <module>
from .source_mpd import MediaPlayerMPD
File "/home/homeassistant/.homeassistant/custom_components/ha_cloud_music/source_mpd.py", line 121
self.is_tts == False:
^
SyntaxError: invalid syntax |
|