|
家里有小米电视4 55寸,小米互联网音箱,京东叮咚TOP语音助手。并安装了虫子大神的DLNA插件。现发现,在小米电视打开的情况下,HomeAssistant启动时,无法找到小米互联网音箱,京东叮咚TOP语音助手等DLNA设备,
但是,在小米电视关闭的情况下,能成功的找到小米互联网音箱,京东叮咚TOP语音助手等DLNA设备,并正常运行。
相关错误日志如下:
:ERROR:homeassistant.core:Error doing job: Task exception was never retrieved
:Traceback (most recent call last):
: File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
: result = coro.throw(exc)
: File "/home/homeassistant/.homeassistant/custom_components/dlna.py", line 53, in scan_devices
: None, dlna.discover_MediaPlayer)
: 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 "/home/homeassistant/.homeassistant/custom_components/dlna.py", line 212, in discover_MediaPlayer
: device = self.register_device(location_url)
: File "/home/homeassistant/.homeassistant/custom_components/dlna.py", line 131, in register_device
: UPNP_DEFAULT_SERVICE_TYPE = re.search("urn:schemas-upnp-org:service:AVTransport:\d+",xml).group()
:AttributeError: 'NoneType' object has no attribute 'group'
:INFO:homeassistant.core:Bus:Handling <Event system_log_event[L]: exception=Traceback (most recent call last):
: File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
: result = coro.throw(exc)
: File "/home/homeassistant/.homeassistant/custom_components/dlna.py", line 53, in scan_devices
: None, dlna.discover_MediaPlayer)
: 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 "/home/homeassistant/.homeassistant/custom_components/dlna.py", line 212, in discover_MediaPlayer
: device = self.register_device(location_url)
: File "/home/homeassistant/.homeassistant/custom_components/dlna.py", line 131, in register_device
: UPNP_DEFAULT_SERVICE_TYPE = re.search("urn:schemas-upnp-org:service:AVTransport:\d+",xml).group()
:AttributeError: 'NoneType' object has no attribute 'group'
:, source=custom_components/dlna.py, timestamp=1524203927.6050668, message=Error doing job: Task exception was never retrieved, level=ERROR>
|
|