Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. Oops... reconnecting...
  2. Exception in thread Thread-1:
  3. Traceback (most recent call last):
  4. File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
  5. self.run()
  6. File "/usr/lib/python2.7/threading.py", line 763, in run
  7. self.__target(*self.__args, **self.__kwargs)
  8. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 2630, in _thread_main
  9. self.loop_forever(retry_first_connection=True)
  10. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1410, in loop_forever
  11. rc = self.loop(timeout, max_packets)
  12. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 926, in loop
  13. rc = self.loop_read(max_packets)
  14. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1209, in loop_read
  15. rc = self._packet_read()
  16. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1802, in _packet_read
  17. rc = self._packet_handle()
  18. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 2278, in _packet_handle
  19. return self._handle_publish()
  20. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 2464, in _handle_publish
  21. self._handle_on_message(message)
  22. File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 2624, in _handle_on_message
  23. self.on_message(self, self._userdata, message)
  24. File "./roowifi-mqtt-gw.py", line 87, in on_message
  25. roomba_state()
  26. File "./roowifi-mqtt-gw.py", line 39, in roomba_state
  27. s.send(chr(142))
  28. AttributeError: 'NoneType' object has no attribute 'send'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement