安装基本操作运行出现非正常报错
Exception in thread zeroconf-Engine-1968657504:Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.6/dist-packages/zeroconf-0.27.1-py3.6.egg/zeroconf/__init__.py", line 1309, in run
reader.handle_read(socket_)
File "/usr/local/lib/python3.6/dist-packages/zeroconf-0.27.1-py3.6.egg/zeroconf/__init__.py", line 1391, in handle_read
self.zc.handle_query(msg, None, _MDNS_PORT)
File "/usr/local/lib/python3.6/dist-packages/zeroconf-0.27.1-py3.6.egg/zeroconf/__init__.py", line 2678, in handle_query
service.server,
File "/usr/local/lib/python3.6/dist-packages/zeroconf-0.27.1-py3.6.egg/zeroconf/__init__.py", line 652, in __init__
DNSRecord.__init__(self, name, type_, class_, ttl)
File "/usr/local/lib/python3.6/dist-packages/zeroconf-0.27.1-py3.6.egg/zeroconf/__init__.py", line 457, in __init__
self._expiration_time = self.get_expiration_time(100)
File "/usr/local/lib/python3.6/dist-packages/zeroconf-0.27.1-py3.6.egg/zeroconf/__init__.py", line 484, in get_expiration_time
return self.created + (percent * self.ttl * 10)
TypeError: unsupported operand type(s) for +: 'float' and 'str'
运行实例是官方给出的linux wifi版,用的树莓派,例程名字Hello_WiFi.py,仅修改auth密钥
页:
[1]