- 积分
- 278
- 金钱
- 265
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 278
- 金钱
- 265
- HASS币
- 0
|
楼主 |
发表于 2019-4-25 21:50:24
|
显示全部楼层
2019-04-25 13:34:13 INFO (MainThread) [homeassistant.components.xiaomi_miio.switch] Initializing with host 192.168.4.2 (token 39b80...)
2019-04-25 13:34:13 INFO (MainThread) [homeassistant.components.xiaomi_miio.switch] Initializing with host 192.168.4.9 (token 5b903...)
2019-04-25 13:34:14 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/volume1/NAS/opt/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/homeassistant/components/xiaomi_miio/switch.py", line 119, in async_setup_platform
device_info = miio_device.info()
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/device.py", line 329, in info
return DeviceInfo(self.send("miIO.info"))
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/device.py", line 243, in send
m = Message.build(msg, token=self.token)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 352, in build
self.build_stream(obj, stream, **contextkw)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 364, in build_stream
self._build(obj, stream, context, "(building)")
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 2003, in _build
buildret = sc._build(subobj, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 2472, in _build
return self.subcon._build(obj, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 4078, in _build
buildret = self.subcon._build(obj, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 4365, in _build
buildret = self.subcon._build(value, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 718, in _build
obj2 = self._encode(obj, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/protocol.py", line 144, in _encode
context['_']['token'])
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/protocol.py", line 71, in encrypt
backend=default_backend())
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/backends/__init__.py", line 15, in default_backend
from cryptography.hazmat.backends.openssl.backend import backend
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 65, in <module>
from cryptography.hazmat.bindings.openssl import binding
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: undefined symbol: pthread_atfork
2019-04-25 13:34:14 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/volume1/NAS/opt/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/homeassistant/components/xiaomi_miio/switch.py", line 119, in async_setup_platform
device_info = miio_device.info()
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/device.py", line 329, in info
return DeviceInfo(self.send("miIO.info"))
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/device.py", line 243, in send
m = Message.build(msg, token=self.token)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 352, in build
self.build_stream(obj, stream, **contextkw)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 364, in build_stream
self._build(obj, stream, context, "(building)")
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 2003, in _build
buildret = sc._build(subobj, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 2472, in _build
return self.subcon._build(obj, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 4078, in _build
buildret = self.subcon._build(obj, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 4365, in _build
buildret = self.subcon._build(value, stream, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/construct/core.py", line 718, in _build
obj2 = self._encode(obj, context, path)
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/protocol.py", line 144, in _encode
context['_']['token'])
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/miio/protocol.py", line 71, in encrypt
backend=default_backend())
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/backends/__init__.py", line 15, in default_backend
from cryptography.hazmat.backends.openssl.backend import backend
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 65, in <module>
from cryptography.hazmat.bindings.openssl import binding
File "/volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /volume1/NAS/opt/local/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: undefined symbol: pthread_atfork
|
|