Advertisement
Guest User

octoprint webcam bug?

a guest
Dec 11th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. 2019-12-11 11:20:27,100 - backoff - INFO - Backing off capture_jpeg(...) for 0.5s (ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5))
  2. 2019-12-11 11:20:32,115 - webcam_server - ERROR - Exception on / [GET]
  3. Traceback (most recent call last):
  4. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
  5. response = self.full_dispatch_request()
  6. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
  7. rv = self.handle_user_exception(e)
  8. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
  9. reraise(exc_type, exc_value, tb)
  10. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
  11. rv = self.dispatch_request()
  12. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
  13. return self.view_functions[rule.endpoint](**req.view_args)
  14. File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective/webcam_stream.py", line 350, in webcam
  15. return self.get_snapshot()
  16. File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective/webcam_stream.py", line 321, in get_snapshot
  17. return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg')
  18. File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective/webcam_stream.py", line 327, in next_jpg
  19. chunk = s.recv(100)
  20. timeout: timed out
  21. 2019-12-11 11:20:32,124 - werkzeug - INFO - 127.0.0.1 - - [11/Dec/2019 11:20:32] "GET /?action=snapshot HTTP/1.1" 500 -
  22. 2019-12-11 11:20:32,578 - backoff - INFO - Backing off capture_jpeg(...) for 0.2s (ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5))
  23. 2019-12-11 11:20:37,586 - webcam_server - ERROR - Exception on / [GET]
  24. Traceback (most recent call last):
  25. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
  26. response = self.full_dispatch_request()
  27. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
  28. rv = self.handle_user_exception(e)
  29. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
  30. reraise(exc_type, exc_value, tb)
  31. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
  32. rv = self.dispatch_request()
  33. File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
  34. return self.view_functions[rule.endpoint](**req.view_args)
  35. File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective/webcam_stream.py", line 350, in webcam
  36. return self.get_snapshot()
  37. File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective/webcam_stream.py", line 321, in get_snapshot
  38. return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg')
  39. File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective/webcam_stream.py", line 326, in next_jpg
  40. s.connect(('127.0.0.1', 14499))
  41. File "/usr/lib/python2.7/socket.py", line 228, in meth
  42. return getattr(self._sock,name)(*args)
  43. timeout: timed out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement