|
楼主 |
发表于 2019-5-2 20:07:07
|
显示全部楼层
目前定位到具体一条错误:涉及到xiaomi_miio的报错
详细信息如下:
Log Details (ERROR)
Thu May 02 2019 20:04:41 GMT+0800 (CST)
Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/xiaomi_miio/fan.py", line 403, in async_setup_platform
from miio import Device, DeviceException
File "/srv/homeassistant/lib/python3.5/site-packages/miio/__init__.py", line 2, in <module>
from miio.airconditioningcompanion import AirConditioningCompanion
File "/srv/homeassistant/lib/python3.5/site-packages/miio/airconditioningcompanion.py", line 5, in <module>
import click
File "/srv/homeassistant/lib/python3.5/site-packages/click/__init__.py", line 16, in <module>
from .core import Context, BaseCommand, Command, MultiCommand, Group, \
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 669, in exec_module
File "<frozen importlib._bootstrap_external>", line 773, in get_code
File "<frozen importlib._bootstrap_external>", line 484, in _compile_bytecode
EOFError: marshal data too short |
|