|
楼主 |
发表于 2021-1-27 17:39
|
显示全部楼层
再请教下:我刚才在树莓派终端运行:sudo python3 Button_WiFi.py 还是出现报错 看了提示应该是不支持哈希的问题,意思是我要改底层的代码才可以是吗?
Traceback (most recent call last):
File "Button_WiFi.py", line 12, in <module>
Blinker.begin(auth)
File "/home/pi/blinker-py/Blinker/Blinker.py", line 172, in begin
bProto.conn2.start(bProto.conn1.bmqtt.deviceName)
File "/home/pi/blinker-py/BlinkerAdapters/BlinkerLinuxWS.py", line 86, in start
mDNSinit(self.type , name)
File "/home/pi/blinker-py/BlinkerAdapters/BlinkerLinuxWS.py", line 40, in mDNSinit
zeroconf.register_service(info)
File "/usr/local/lib/python3.7/dist-packages/zeroconf-0.28.8-py3.7.egg/zeroconf/__init__.py", line 2588, in register_service
self.registry.add(info)
File "/usr/local/lib/python3.7/dist-packages/zeroconf-0.28.8-py3.7.egg/zeroconf/__init__.py", line 2374, in add
self._add(info)
File "/usr/local/lib/python3.7/dist-packages/zeroconf-0.28.8-py3.7.egg/zeroconf/__init__.py", line 2432, in _add
self.servers.setdefault(info.server, []).append(lower_name)
TypeError: unhashable type: 'dict'
|
|