『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 5512|回复: 0

[求助] ha0.68 之后dlna出现报错信息。。。。。

[复制链接]

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2018-4-28 22:59:30 | 显示全部楼层 |阅读模式
ha0.68 之后dlna出现报错信息。。。。。
如下:
018-04-28 22:57:25 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.898f9738d9304db4a3cf0025096ceb30 fails
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
    yield from self.async_device_update()
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/media_player/dlna.py", line 71, in update
    resp = self._device.GetTransportInfo()
  File "/config/custom_components/media_player/dlna.py", line 304, in GetTransportInfo
    ["CurrentTransportState", "CurrentTransportStatus", "CurrentSpeed"])
  File "/config/custom_components/media_player/dlna.py", line 423, in sendRequest
    respXml = etree.fromstring(respText)
  File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1315, in XML
    return parser.close()
  File "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0


有没有遇到同样错误的朋友?!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-24 03:15 , Processed in 0.043106 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表