You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@pizerow:/home/pi# ./ospiLCD-mqtt.py
[Connected with result code 0]
Msg:opensprinkler/availability: online
Traceback (most recent call last):
File "./ospiLCD-mqtt.py", line 258, in
client.loop_forever()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1756, in loop_forever
rc = self._loop(timeout)
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1164, in _loop
rc = self.loop_read()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1556, in loop_read
rc = self._packet_read()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 2439, in _packet_read
rc = self._packet_handle()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3033, in _packet_handle
return self._handle_publish()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3327, in _handle_publish
self._handle_on_message(message)
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
on_message(self, self._userdata, message)
File "./ospiLCD-mqtt.py", line 71, in mqtt_message
update_display()
File "./ospiLCD-mqtt.py", line 95, in update_display
if ja.status.sn[x] == 0:
AttributeError: 'X' object has no attribute 'status'
The text was updated successfully, but these errors were encountered:
root@pizerow:/home/pi# ./ospiLCD-mqtt.py
[Connected with result code 0]
Msg:opensprinkler/availability: online
Traceback (most recent call last):
File "./ospiLCD-mqtt.py", line 258, in
client.loop_forever()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1756, in loop_forever
rc = self._loop(timeout)
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1164, in _loop
rc = self.loop_read()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1556, in loop_read
rc = self._packet_read()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 2439, in _packet_read
rc = self._packet_handle()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3033, in _packet_handle
return self._handle_publish()
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3327, in _handle_publish
self._handle_on_message(message)
File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
on_message(self, self._userdata, message)
File "./ospiLCD-mqtt.py", line 71, in mqtt_message
update_display()
File "./ospiLCD-mqtt.py", line 95, in update_display
if ja.status.sn[x] == 0:
AttributeError: 'X' object has no attribute 'status'
The text was updated successfully, but these errors were encountered: