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

 找回密码
 立即注册
查看: 3528|回复: 3

[求助] 大神看看怎么回事

[复制链接]

10

主题

320

帖子

1643

积分

金牌会员

Rank: 6Rank: 6

积分
1643
金钱
1323
HASS币
0
发表于 2018-11-12 21:06:53 来自手机 | 显示全部楼层 |阅读模式
LOG文件2018-11-12 18:43:09 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/homeassistant/components/discovery.py", line 171, in scan_devices
    results = await hass.async_add_job(_discover, netdisco)
  File "/data/data/com.termux/files/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/homeassistant/components/discovery.py", line 197, in _discover
    netdisco.scan()
  File "/data/data/com.termux/files/home/.homeassistant/deps/lib/python3.7/site-packages/netdisco/discovery.py", line 57, in scan
    self.mdns.start()
  File "/data/data/com.termux/files/home/.homeassistant/deps/lib/python3.7/site-packages/netdisco/mdns.py", line 21, in start
    self.zeroconf = zeroconf.Zeroconf()
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/zeroconf.py", line 1724, in __init__
    interfaces = normalize_interface_choice(interfaces)
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/zeroconf.py", line 1655, in normalize_interface_choice
    return get_all_addresses()
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/zeroconf.py", line 1645, in get_all_addresses
    for iface in ifaddr.get_adapters()
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/ifaddr/_posix.py", line 44, in get_adapters
    retval = libc.getifaddrs(ctypes.byref(addr))
  File "/data/data/com.termux/files/usr/lib/python3.7/ctypes/__init__.py", line 369, in __getattr__
    func = self.__getitem__(name)
  File "/data/data/com.termux/files/usr/lib/python3.7/ctypes/__init__.py", line 374, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: undefined symbol: getifaddrs
2018-11-12 18:59:41 ERROR (SyncWorker_7) [xiaomi_gateway] Got error element in data {"error":"Invalid key"}
2018-11-12 18:59:41 ERROR (SyncWorker_7) [xiaomi_gateway] Got error element in data {"error":"Invalid key"}
2018-11-12 19:43:07 ERROR (MainThread) [homeassistant.components.updater] Could not contact Home Assistant Update to check for updates
2018-11-12 19:43:19 ERROR (MainThread) [homeassistant.components.sensor.yr] Retrying in 17 minutes:
2018-11-12 19:43:20 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error in data received
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.7/asyncio/sslproto.py", line 526, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/data/data/com.termux/files/usr/lib/python3.7/asyncio/sslproto.py", line 207, in feed_ssldata
    self._sslobj.unwrap()
  File "/data/data/com.termux/files/usr/lib/python3.7/ssl.py", line 767, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2592)
回复

使用道具 举报

10

主题

320

帖子

1643

积分

金牌会员

Rank: 6Rank: 6

积分
1643
金钱
1323
HASS币
0
 楼主| 发表于 2018-11-17 20:19:14 来自手机 | 显示全部楼层
大神们看看
回复

使用道具 举报

0

主题

75

帖子

729

积分

高级会员

Rank: 4

积分
729
金钱
654
HASS币
0
发表于 2019-1-3 21:18:20 来自手机 | 显示全部楼层
是安卓termux环境吗  低版本安卓的libc库不支持ifaddr   可以自己编译个动态库做支持
回复

使用道具 举报

1

主题

22

帖子

90

积分

注册会员

Rank: 2

积分
90
金钱
68
HASS币
0
发表于 2019-5-12 08:46:33 | 显示全部楼层
请教一下,动态libc库怎么才能自己编译?
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-28 05:14 , Processed in 1.068573 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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