|
安装官方教程,最后显示这个错误,不知道该怎么调试了。。。可能是什么方面的问题?
2018-02-24 09:39:48 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform ubus
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py", line 158, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 42, in get_scanner
scanner = DnsmasqUbusDeviceScanner(config[DOMAIN])
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 141, in init
super(DnsmasqUbusDeviceScanner, self).init(config)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 84, in init
self.password)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/device_tracker/ubus.py", line 226, in _get_session_id
return res["ubus_rpc_session"]
TypeError: 'NoneType' object is not subscriptable
|
|