2019-10-16 16:29:08,657 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 16:29:08,660 - octoprint.server - INFO - --- Log roll over detected --------------------------------------------------- 2019-10-16 16:29:08,661 - octoprint.server - INFO - OctoPrint 1.3.11 2019-10-16 16:29:08,665 - octoprint.plugin.core - INFO - 26 plugin(s) registered with the system: | Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt | Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements | Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking | Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys | Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup | Bed Visualizer (0.1.10) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_bedlevelvisualizer | Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard | Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery | DisplayZ (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayz | Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking | Exclude Region (0.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_excluderegion | Firmware Updater (1.6.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_firmwareupdater | Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/forcelogin | Fullscreen Plugin (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen | GcodeEditor (0.2.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_GcodeEditor | Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging | Octolapse (0.3.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse | OctoPrint Anywhere (1.0.20) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_anywhere | Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support | Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager | Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check | PrintTimeGenius Plugin (2.0.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_PrintTimeGenius | Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate | The Spaghetti Detective (Beta) (0.9.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta | Themeify (1.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_themeify | Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer 2019-10-16 16:29:08,680 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details: | hardware: | cores: 4 | freq: 1200.0 | ram: 917016576 | os: | id: linux | platform: linux2 | plugins: | pi_support: | model: Raspberry Pi 3 Model B Rev 1.2 | octopi_version: 0.16.0 | python: | pip: 19.0.1 | version: 2.7.13 | virtualenv: /home/pi/oprint 2019-10-16 16:29:08,680 - octoprint.server - INFO - ------------------------------------------------------------------------------ 2019-10-16 16:29:12,596 - octoprint.plugins.firmwareupdater - INFO - Firmware update started 2019-10-16 16:29:12,597 - octoprint.plugins.firmwareupdater - INFO - Disconnecting from printer 2019-10-16 16:29:12,621 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline" 2019-10-16 16:29:12,637 - octoprint.plugins.firmwareupdater - INFO - Running '/usr/bin/avrdude -v -q -p m2560 -c wiring -P /dev/ttyUSB0 -D -U flash:w:/tmp/tmp0GiMqa:i' in /usr/bin 2019-10-16 16:29:13,164 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 13.12ms 2019-10-16 16:29:13,885 - octoprint.plugins.firmwareupdater - INFO - Writing memory... 2019-10-16 16:29:14,423 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.20ms 2019-10-16 16:29:23,213 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 31.14ms 2019-10-16 16:29:24,462 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 26.50ms 2019-10-16 16:29:25,778 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 86419} 2019-10-16 16:29:33,211 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.62ms 2019-10-16 16:29:34,459 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.13ms 2019-10-16 16:29:43,219 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.77ms 2019-10-16 16:29:44,452 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.35ms 2019-10-16 16:29:52,283 - octoprint.plugins.firmwareupdater - INFO - Verifying memory... 2019-10-16 16:29:53,210 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 26.43ms 2019-10-16 16:29:54,461 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.72ms 2019-10-16 16:30:03,208 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.85ms 2019-10-16 16:30:04,460 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.90ms 2019-10-16 16:30:10,602 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:30:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:30:13,218 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.47ms 2019-10-16 16:30:14,661 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.55ms 2019-10-16 16:30:23,207 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.34ms 2019-10-16 16:30:24,466 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.68ms 2019-10-16 16:30:25,770 - octoprint.plugins.firmwareupdater - INFO - Flashing successful. 2019-10-16 16:30:25,780 - octoprint.plugins.firmwareupdater - INFO - No postflash gcode or postflash is disabled, setting run_postflash_gcode to false 2019-10-16 16:30:26,153 - octoprint.plugins.firmwareupdater - INFO - Reconnecting to printer: port=/dev/ttyUSB0, baudrate=115200, profile={'heatedChamber': False, 'name': 'CR-10S', 'color': 'default', 'axes': {'y': {'speed': 6000, 'inverted': False}, 'x': {'speed': 6000, 'inverted': False}, 'z': {'speed': 200, 'inverted': False}, 'e': {'speed': 100, 'inverted': False}}, 'heatedBed': True, 'volume': {'origin': 'lowerleft', 'formFactor': 'rectangular', 'depth': 300.0, 'width': 300.0, 'custom_box': False, 'height': 400.0}, 'model': 'Cr-10S', 'id': '_default', 'extruder': {'count': 1, 'nozzleDiameter': 0.4, 'offsets': [(0.0, 0.0)], 'sharedNozzle': False}} 2019-10-16 16:30:26,243 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port" 2019-10-16 16:30:26,248 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-16 16:30:26,266 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 16:30:27,329 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 16:30:33,209 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.19ms 2019-10-16 16:30:34,191 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-16 16:30:34,201 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 16:30:34,433 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-16 16:30:34,601 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-16 16:30:34,626 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-16 16:30:34,629 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-16 16:30:35,235 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': '/dev/ttyUSB0', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-16 16:32:10,609 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:32:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:33:50,054 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-16 16:33:50,204 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.179 2019-10-16 16:33:50,940 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.179 2019-10-16 16:33:51,151 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-16 16:33:54,997 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk 2019-10-16 16:33:55,328 - octoprint.server.util.sockjs - INFO - User XKiloX95 logged in on the socket from client ::ffff:192.168.1.179 2019-10-16 16:33:58,551 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: CCR10S_8608620a-809f-49e3-a5d6-7a40c4fe4aec.gcode, owner: XKiloX95, user: XKiloX95 2019-10-16 16:33:58,563 - octoprint.plugins.excluderegion - INFO - File selected, resetting internal state 2019-10-16 16:34:04,113 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting" 2019-10-16 16:34:04,300 - octoprint.printer.standard.job - INFO - Print job started - origin: local, path: CCR10S_8608620a-809f-49e3-a5d6-7a40c4fe4aec.gcode, owner: XKiloX95, user: XKiloX95 2019-10-16 16:34:04,420 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 16:34:04,489 - octoprint.util.comm - INFO - Changing monitoring state from "Starting" to "Printing" 2019-10-16 16:34:04,587 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:34:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:34:04,592 - octoprint.plugins.excluderegion - INFO - Printing started 2019-10-16 16:34:05,323 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'local', 'file': 'd105f503d6457a5f9d1efa08e968151bd03192fa'} 2019-10-16 16:34:05,586 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:34:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:34:06,568 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly 2019-10-16 16:34:17,613 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:34:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:34:29,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:34:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:34:40,659 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:34:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:34:51,586 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:34:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:35:02,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:35:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:35:04,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:35:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:35:14,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:35:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:35:25,797 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s 2019-10-16 16:35:26,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:35:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:35:37,909 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:35:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:35:49,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:35:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:00,584 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:36:00,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:04,911 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:11,925 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:23,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:36:23,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:34,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:36:35,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:46,603 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:36:57,903 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:36:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:37:04,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:37:05,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:37:09,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:37:09,600 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:37:09,901 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:37:09,903 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:37:09,908 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:09] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:37:09,936 - backoff - INFO - Backing off capture_jpeg(...) for 0.1s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 16:37:10,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:37:21,586 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:37:32,902 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:37:33,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:37:44,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:37:55,602 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:37:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:38:04,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:38:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:38:06,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:38:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:38:18,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:38:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:38:29,603 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:38:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:38:40,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:38:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:38:52,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:38:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:39:03,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:39:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:39:04,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:39:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:39:14,602 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:39:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:39:25,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:39:26,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:39:26,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:39:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:39:37,905 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:39:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:39:48,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:39:49,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:39:49,603 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:39:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:00,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:04,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:12,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:23,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:34,598 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:40:34,907 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:46,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:40:57,588 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:40:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:41:04,902 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:05,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:05,584 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:05,585 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:41:05,590 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:05] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:41:05,594 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 16:41:05,899 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:06,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:06,598 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:06,600 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:41:06,608 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:06] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:41:06,616 - backoff - INFO - Backing off capture_mjpeg(...) for 1.1s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 16:41:07,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:08,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:41:08,606 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:41:19,903 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:20,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:20,585 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:20,586 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:41:20,591 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:20] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:41:20,598 - backoff - INFO - Backing off capture_jpeg(...) for 0.5s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 16:41:21,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:21,602 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:21,904 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:21,906 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:41:21,914 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:21] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:41:21,929 - backoff - INFO - Backing off capture_jpeg(...) for 0.8s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 16:41:22,909 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:41:34,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:41:45,584 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:45,903 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:41:46,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:41:57,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:41:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:42:04,903 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:42:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:42:08,598 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:42:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:42:19,912 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:42:20,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:42:20,607 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:42:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:42:31,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:42:31] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:42:42,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:42:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:42:54,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:42:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:43:04,907 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:43:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:43:05,588 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:43:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:43:16,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:43:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:43:27,903 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:43:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:43:39,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:43:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:43:50,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:43:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:01,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:04,903 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:08,661 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 16:44:13,239 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:44:13,593 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:24,909 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:25,779 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 87319} 2019-10-16 16:44:35,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:47,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:44:58,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:44:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:45:04,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:45:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:45:09,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:45:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:45:20,907 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:45:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:45:32,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:45:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:45:43,590 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:45:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:45:54,605 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:45:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:46:05,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:46:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:46:07,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:46:07,586 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:46:07,906 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:46:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:46:19,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:46:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:46:30,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:46:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:46:41,597 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:46:41,902 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:46:42,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:46:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:46:53,610 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:46:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:47:04,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:47:05,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:47:05,625 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:47:15,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:47:16,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:47:16,604 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:47:16,608 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:47:16,629 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:16] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:47:16,644 - backoff - INFO - Backing off capture_jpeg(...) for 0.9s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 16:47:17,641 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:47:28,901 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:28] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:47:40,235 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:47:40,601 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:47:40,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:47:52,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:47:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:48:03,236 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:48:05,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:48:14,609 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:48:25,899 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:48:26,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:48:26,600 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:48:26,603 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 16:48:26,611 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:26] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 16:48:26,623 - backoff - INFO - Backing off capture_jpeg(...) for 0.4s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 16:48:27,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:48:38,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:48:49,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:48:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:01,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:05,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:12,611 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:23,589 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:35,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:49:35,591 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:47,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:49:58,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:49:58,601 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:49:58,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:49:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:50:05,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:50:05,588 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 16:50:05,905 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:50:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:50:09,162 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Cancelling" 2019-10-16 16:50:09,179 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintCancelling 2019-10-16 16:50:09,285 - octoprint.printer.standard.job - INFO - Print job cancelled - origin: local, path: CCR10S_8608620a-809f-49e3-a5d6-7a40c4fe4aec.gcode, owner: XKiloX95, user: XKiloX95 2019-10-16 16:50:10,027 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintCancelled 2019-10-16 16:50:10,380 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintFailed 2019-10-16 16:50:10,598 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:50:10] "GET /?action=stream&1571241010545 HTTP/1.1" 200 - 2019-10-16 16:50:10,776 - octoprint.plugins.tracking - INFO - Sent tracking event print_cancelled, payload: {'origin': 'local', 'file': 'd105f503d6457a5f9d1efa08e968151bd03192fa', 'elapsed': 965} 2019-10-16 16:50:11,093 - octoprint.util.comm - INFO - Changing monitoring state from "Cancelling" to "Operational" 2019-10-16 16:50:11,421 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': 'local', 'reason': 'cancelled', 'file': 'd105f503d6457a5f9d1efa08e968151bd03192fa', 'elapsed': 965} 2019-10-16 16:52:05,236 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:52:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:54:05,236 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:54:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:54:05,589 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:54:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:56:05,686 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:56:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:56:05,749 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 16:56:06,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:56:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:58:06,236 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 16:58:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 16:59:08,663 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 16:59:25,787 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 88219} 2019-10-16 17:00:06,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:00:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:02:06,591 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:02:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:02:06,633 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:02:07,590 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:02:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:04:07,594 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:04:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:06:07,590 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:06:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:08:07,789 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:08:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:08:07,827 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:08:08,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:08:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:10:08,915 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:10:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:12:08,907 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:12:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:14:08,666 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 17:14:08,906 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:14:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:14:25,761 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 89119} 2019-10-16 17:15:57,071 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-16 17:15:57,085 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-16 17:15:57,109 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-16 17:15:57,619 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.33ms 2019-10-16 17:15:58,045 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.44ms 2019-10-16 17:16:07,662 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 28.20ms 2019-10-16 17:16:08,068 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.61ms 2019-10-16 17:16:08,906 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 17:16:09,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:16:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:16:17,665 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 31.83ms 2019-10-16 17:16:18,053 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.35ms 2019-10-16 17:16:27,642 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.41ms 2019-10-16 17:16:28,233 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 38.32ms 2019-10-16 17:16:37,643 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.50ms 2019-10-16 17:16:38,059 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.96ms 2019-10-16 17:16:47,640 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.39ms 2019-10-16 17:16:48,054 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.28ms 2019-10-16 17:16:57,639 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.28ms 2019-10-16 17:16:58,053 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.55ms 2019-10-16 17:17:07,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.48ms 2019-10-16 17:17:08,054 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.74ms 2019-10-16 17:17:17,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.05ms 2019-10-16 17:17:18,082 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 28.70ms 2019-10-16 17:17:27,650 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.65ms 2019-10-16 17:17:28,063 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.19ms 2019-10-16 17:17:37,649 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.16ms 2019-10-16 17:17:38,084 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.17ms 2019-10-16 17:17:47,657 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.44ms 2019-10-16 17:17:48,065 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.18ms 2019-10-16 17:17:57,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.63ms 2019-10-16 17:17:58,056 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.07ms 2019-10-16 17:18:07,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 26.53ms 2019-10-16 17:18:08,051 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.61ms 2019-10-16 17:18:08,912 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:18:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:18:08,931 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:18:11,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:18:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:18:17,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.48ms 2019-10-16 17:18:18,055 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.87ms 2019-10-16 17:18:27,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.74ms 2019-10-16 17:18:28,056 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.02ms 2019-10-16 17:18:37,652 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.14ms 2019-10-16 17:18:38,077 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.74ms 2019-10-16 17:18:47,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.43ms 2019-10-16 17:18:48,063 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.28ms 2019-10-16 17:18:57,639 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.34ms 2019-10-16 17:18:58,054 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.59ms 2019-10-16 17:19:07,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.00ms 2019-10-16 17:19:08,062 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.55ms 2019-10-16 17:19:17,637 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 13.27ms 2019-10-16 17:19:18,059 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 9.99ms 2019-10-16 17:19:27,651 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.14ms 2019-10-16 17:19:28,066 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.37ms 2019-10-16 17:19:37,656 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.74ms 2019-10-16 17:19:38,064 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.35ms 2019-10-16 17:19:47,777 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 34.12ms 2019-10-16 17:19:48,061 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.38ms 2019-10-16 17:19:57,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.24ms 2019-10-16 17:19:58,071 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.44ms 2019-10-16 17:20:07,652 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.91ms 2019-10-16 17:20:08,066 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.47ms 2019-10-16 17:20:11,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:20:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:20:17,654 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.07ms 2019-10-16 17:20:18,081 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.20ms 2019-10-16 17:20:27,662 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.82ms 2019-10-16 17:20:28,060 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.46ms 2019-10-16 17:20:37,653 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.58ms 2019-10-16 17:20:38,082 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.32ms 2019-10-16 17:20:47,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.84ms 2019-10-16 17:20:48,088 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.60ms 2019-10-16 17:20:48,764 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.34ms 2019-10-16 17:20:57,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.64ms 2019-10-16 17:20:58,086 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.63ms 2019-10-16 17:20:58,799 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.42ms 2019-10-16 17:21:07,643 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.94ms 2019-10-16 17:21:08,089 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.84ms 2019-10-16 17:21:08,808 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.72ms 2019-10-16 17:21:17,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 28.08ms 2019-10-16 17:21:18,096 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.04ms 2019-10-16 17:21:18,809 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.72ms 2019-10-16 17:21:27,644 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.74ms 2019-10-16 17:21:28,091 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.14ms 2019-10-16 17:21:28,804 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.60ms 2019-10-16 17:21:37,653 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.84ms 2019-10-16 17:21:38,095 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.15ms 2019-10-16 17:21:38,819 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.77ms 2019-10-16 17:21:47,653 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.50ms 2019-10-16 17:21:48,094 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.77ms 2019-10-16 17:21:48,810 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.83ms 2019-10-16 17:21:57,656 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.59ms 2019-10-16 17:21:58,099 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.69ms 2019-10-16 17:21:58,797 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.49ms 2019-10-16 17:22:07,642 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.19ms 2019-10-16 17:22:08,088 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.96ms 2019-10-16 17:22:08,806 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.87ms 2019-10-16 17:22:11,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:22:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:22:17,649 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.43ms 2019-10-16 17:22:18,091 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.96ms 2019-10-16 17:22:18,818 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.49ms 2019-10-16 17:22:27,642 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.75ms 2019-10-16 17:22:28,103 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.52ms 2019-10-16 17:22:28,793 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 15.10ms 2019-10-16 17:22:37,640 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.79ms 2019-10-16 17:22:38,089 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.85ms 2019-10-16 17:22:38,805 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.61ms 2019-10-16 17:22:47,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.59ms 2019-10-16 17:22:48,105 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.95ms 2019-10-16 17:22:48,799 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.96ms 2019-10-16 17:22:57,652 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.32ms 2019-10-16 17:22:58,117 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.68ms 2019-10-16 17:22:58,812 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.26ms 2019-10-16 17:23:07,629 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.04ms 2019-10-16 17:23:08,099 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.84ms 2019-10-16 17:23:08,803 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.47ms 2019-10-16 17:23:17,651 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.06ms 2019-10-16 17:23:18,095 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.69ms 2019-10-16 17:23:18,816 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.36ms 2019-10-16 17:23:27,660 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 29.48ms 2019-10-16 17:23:28,107 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.45ms 2019-10-16 17:23:28,800 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.46ms 2019-10-16 17:23:37,650 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.21ms 2019-10-16 17:23:38,094 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.12ms 2019-10-16 17:23:38,810 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.17ms 2019-10-16 17:23:47,643 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.96ms 2019-10-16 17:23:48,089 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.26ms 2019-10-16 17:23:48,805 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.46ms 2019-10-16 17:23:57,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.00ms 2019-10-16 17:23:58,106 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.85ms 2019-10-16 17:23:58,805 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.35ms 2019-10-16 17:24:07,642 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.66ms 2019-10-16 17:24:08,088 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.09ms 2019-10-16 17:24:08,791 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.38ms 2019-10-16 17:24:11,242 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:24:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:24:17,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.58ms 2019-10-16 17:24:18,107 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.60ms 2019-10-16 17:24:18,797 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.25ms 2019-10-16 17:24:27,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.12ms 2019-10-16 17:24:28,112 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.26ms 2019-10-16 17:24:28,797 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.25ms 2019-10-16 17:24:37,656 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.22ms 2019-10-16 17:24:38,098 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.21ms 2019-10-16 17:24:38,813 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.43ms 2019-10-16 17:24:47,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.35ms 2019-10-16 17:24:48,112 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.51ms 2019-10-16 17:24:48,804 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.24ms 2019-10-16 17:24:57,658 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.67ms 2019-10-16 17:24:58,109 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.70ms 2019-10-16 17:24:58,818 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 9.96ms 2019-10-16 17:25:07,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.95ms 2019-10-16 17:25:08,100 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.21ms 2019-10-16 17:25:08,820 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.84ms 2019-10-16 17:25:17,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.21ms 2019-10-16 17:25:18,111 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.75ms 2019-10-16 17:25:18,819 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.61ms 2019-10-16 17:25:27,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.41ms 2019-10-16 17:25:28,107 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.23ms 2019-10-16 17:25:28,812 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.91ms 2019-10-16 17:25:37,650 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.83ms 2019-10-16 17:25:38,114 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.57ms 2019-10-16 17:25:38,820 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.29ms 2019-10-16 17:25:47,654 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.08ms 2019-10-16 17:25:48,093 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.81ms 2019-10-16 17:25:48,826 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.22ms 2019-10-16 17:25:57,651 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.90ms 2019-10-16 17:25:58,097 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.15ms 2019-10-16 17:25:58,829 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.18ms 2019-10-16 17:26:07,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.16ms 2019-10-16 17:26:08,092 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.08ms 2019-10-16 17:26:08,823 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.97ms 2019-10-16 17:26:11,590 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:26:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:26:17,664 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.28ms 2019-10-16 17:26:18,100 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.21ms 2019-10-16 17:26:18,838 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.62ms 2019-10-16 17:26:27,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.71ms 2019-10-16 17:26:28,093 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.46ms 2019-10-16 17:26:28,843 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.93ms 2019-10-16 17:26:37,654 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.17ms 2019-10-16 17:26:38,110 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.88ms 2019-10-16 17:26:38,833 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.02ms 2019-10-16 17:26:47,660 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.42ms 2019-10-16 17:26:48,113 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.54ms 2019-10-16 17:26:48,847 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.98ms 2019-10-16 17:26:57,630 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.55ms 2019-10-16 17:26:58,102 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.85ms 2019-10-16 17:26:58,838 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.23ms 2019-10-16 17:27:07,642 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.44ms 2019-10-16 17:27:08,103 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.98ms 2019-10-16 17:27:08,841 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.08ms 2019-10-16 17:27:17,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.75ms 2019-10-16 17:27:18,095 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.31ms 2019-10-16 17:27:18,858 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.93ms 2019-10-16 17:27:27,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.52ms 2019-10-16 17:27:28,096 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 13.41ms 2019-10-16 17:27:28,853 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.53ms 2019-10-16 17:27:37,659 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.70ms 2019-10-16 17:27:38,100 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.85ms 2019-10-16 17:27:38,849 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.24ms 2019-10-16 17:27:47,657 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.67ms 2019-10-16 17:27:48,103 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.67ms 2019-10-16 17:27:48,849 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.14ms 2019-10-16 17:27:57,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.24ms 2019-10-16 17:27:58,113 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.71ms 2019-10-16 17:27:58,837 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.36ms 2019-10-16 17:28:07,650 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.76ms 2019-10-16 17:28:08,112 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.57ms 2019-10-16 17:28:08,858 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.96ms 2019-10-16 17:28:11,250 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:28:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:28:11,264 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:28:13,609 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:28:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:28:17,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.24ms 2019-10-16 17:28:18,119 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.31ms 2019-10-16 17:28:18,840 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.53ms 2019-10-16 17:28:27,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.88ms 2019-10-16 17:28:28,107 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.31ms 2019-10-16 17:28:28,854 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.12ms 2019-10-16 17:28:37,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.24ms 2019-10-16 17:28:38,111 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.63ms 2019-10-16 17:28:38,859 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.94ms 2019-10-16 17:28:47,656 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.82ms 2019-10-16 17:28:48,118 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.32ms 2019-10-16 17:28:48,849 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.24ms 2019-10-16 17:28:57,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.45ms 2019-10-16 17:28:58,130 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 9.97ms 2019-10-16 17:28:58,866 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.60ms 2019-10-16 17:29:07,651 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.89ms 2019-10-16 17:29:08,122 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.98ms 2019-10-16 17:29:08,668 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 17:29:08,872 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.58ms 2019-10-16 17:29:17,658 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.53ms 2019-10-16 17:29:18,132 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.75ms 2019-10-16 17:29:18,866 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.59ms 2019-10-16 17:29:25,784 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 90019} 2019-10-16 17:29:27,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.60ms 2019-10-16 17:29:28,127 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.15ms 2019-10-16 17:29:28,868 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.39ms 2019-10-16 17:29:37,653 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.61ms 2019-10-16 17:29:38,142 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.82ms 2019-10-16 17:29:38,851 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.23ms 2019-10-16 17:29:47,653 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.52ms 2019-10-16 17:29:48,125 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.15ms 2019-10-16 17:29:48,869 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.33ms 2019-10-16 17:29:57,654 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.46ms 2019-10-16 17:29:58,131 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 9.97ms 2019-10-16 17:29:58,876 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.38ms 2019-10-16 17:30:07,659 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.16ms 2019-10-16 17:30:08,147 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.15ms 2019-10-16 17:30:08,885 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 30.92ms 2019-10-16 17:30:13,615 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:30:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:30:17,666 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 30.21ms 2019-10-16 17:30:18,135 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.24ms 2019-10-16 17:30:18,868 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.12ms 2019-10-16 17:30:27,659 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.13ms 2019-10-16 17:30:28,148 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.53ms 2019-10-16 17:30:28,887 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 26.86ms 2019-10-16 17:30:37,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.89ms 2019-10-16 17:30:38,144 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.82ms 2019-10-16 17:30:38,878 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.81ms 2019-10-16 17:30:47,635 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.28ms 2019-10-16 17:30:48,150 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.64ms 2019-10-16 17:30:48,865 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.74ms 2019-10-16 17:30:57,652 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.55ms 2019-10-16 17:30:58,135 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.20ms 2019-10-16 17:30:58,869 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.74ms 2019-10-16 17:31:07,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.56ms 2019-10-16 17:31:08,136 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.02ms 2019-10-16 17:31:08,891 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.90ms 2019-10-16 17:31:17,647 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.20ms 2019-10-16 17:31:18,244 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 57.35ms 2019-10-16 17:31:18,864 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.61ms 2019-10-16 17:31:27,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.85ms 2019-10-16 17:31:28,135 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.48ms 2019-10-16 17:31:28,861 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.01ms 2019-10-16 17:31:37,650 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.11ms 2019-10-16 17:31:38,138 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.59ms 2019-10-16 17:31:38,872 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.88ms 2019-10-16 17:31:47,649 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.99ms 2019-10-16 17:31:48,137 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.43ms 2019-10-16 17:31:48,926 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 51.88ms 2019-10-16 17:31:57,663 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.14ms 2019-10-16 17:31:58,151 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.61ms 2019-10-16 17:31:58,866 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.67ms 2019-10-16 17:32:07,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.68ms 2019-10-16 17:32:08,156 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.88ms 2019-10-16 17:32:08,872 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.73ms 2019-10-16 17:32:13,608 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:32:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:32:17,659 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.34ms 2019-10-16 17:32:18,165 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.39ms 2019-10-16 17:32:18,872 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.28ms 2019-10-16 17:32:27,656 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.05ms 2019-10-16 17:32:28,171 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.55ms 2019-10-16 17:32:28,867 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.51ms 2019-10-16 17:32:35,825 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2019-10-16 17:32:36,311 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2019-10-16 17:32:36,331 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-16 17:32:36,363 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 17:32:37,639 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.27ms 2019-10-16 17:32:38,171 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.52ms 2019-10-16 17:32:38,860 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.42ms 2019-10-16 17:32:45,570 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 17:32:47,650 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.86ms 2019-10-16 17:32:48,173 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.37ms 2019-10-16 17:32:48,860 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.82ms 2019-10-16 17:32:52,407 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-16 17:32:52,423 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 17:32:52,679 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-16 17:32:52,702 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-16 17:32:52,776 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-16 17:32:52,792 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-16 17:32:53,416 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-16 17:32:55,604 - octoprint.plugins.firmwareupdater - INFO - Firmware update started 2019-10-16 17:32:55,611 - octoprint.plugins.firmwareupdater - INFO - Disconnecting from printer 2019-10-16 17:32:55,636 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline" 2019-10-16 17:32:55,666 - octoprint.plugins.firmwareupdater - INFO - Running '/usr/bin/avrdude -v -q -p m2560 -c wiring -P /dev/ttyUSB0 -D -U flash:w:/tmp/tmp1LPsUp:i' in /usr/bin 2019-10-16 17:32:56,952 - octoprint.plugins.firmwareupdater - INFO - Writing memory... 2019-10-16 17:32:57,638 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.80ms 2019-10-16 17:32:58,176 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.82ms 2019-10-16 17:32:58,863 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 14.66ms 2019-10-16 17:33:07,668 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 26.33ms 2019-10-16 17:33:08,155 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.05ms 2019-10-16 17:33:08,868 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.62ms 2019-10-16 17:33:17,661 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.70ms 2019-10-16 17:33:18,154 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.50ms 2019-10-16 17:33:18,877 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.40ms 2019-10-16 17:33:27,662 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.53ms 2019-10-16 17:33:28,164 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.52ms 2019-10-16 17:33:28,857 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.37ms 2019-10-16 17:33:35,320 - octoprint.plugins.firmwareupdater - INFO - Verifying memory... 2019-10-16 17:33:37,648 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.66ms 2019-10-16 17:33:38,152 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.79ms 2019-10-16 17:33:38,872 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.65ms 2019-10-16 17:33:47,660 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.95ms 2019-10-16 17:33:48,158 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.05ms 2019-10-16 17:33:48,875 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.26ms 2019-10-16 17:33:57,655 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.67ms 2019-10-16 17:33:58,166 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.00ms 2019-10-16 17:33:58,869 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.57ms 2019-10-16 17:34:07,668 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.40ms 2019-10-16 17:34:08,167 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.26ms 2019-10-16 17:34:08,808 - octoprint.plugins.firmwareupdater - INFO - Flashing successful. 2019-10-16 17:34:08,816 - octoprint.plugins.firmwareupdater - INFO - No postflash gcode or postflash is disabled, setting run_postflash_gcode to false 2019-10-16 17:34:08,882 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 33.54ms 2019-10-16 17:34:09,260 - octoprint.plugins.firmwareupdater - INFO - Reconnecting to printer: port=/dev/ttyUSB0, baudrate=115200, profile={'heatedChamber': False, 'name': 'CR-10S', 'color': 'default', 'axes': {'y': {'speed': 6000, 'inverted': False}, 'x': {'speed': 6000, 'inverted': False}, 'z': {'speed': 200, 'inverted': False}, 'e': {'speed': 100, 'inverted': False}}, 'heatedBed': True, 'volume': {'origin': 'lowerleft', 'formFactor': 'rectangular', 'depth': 300.0, 'width': 300.0, 'custom_box': False, 'height': 400.0}, 'model': 'Cr-10S', 'id': '_default', 'extruder': {'count': 1, 'nozzleDiameter': 0.4, 'offsets': [(0.0, 0.0)], 'sharedNozzle': False}} 2019-10-16 17:34:09,346 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port" 2019-10-16 17:34:09,350 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-16 17:34:09,403 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 17:34:10,462 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 17:34:13,909 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:34:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:34:13,952 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:34:17,292 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-16 17:34:17,314 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 17:34:17,561 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-16 17:34:17,662 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-16 17:34:17,670 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-16 17:34:17,719 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-16 17:34:18,285 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': '/dev/ttyUSB0', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-16 17:34:24,615 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:34:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:36:24,615 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:36:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:38:24,926 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 17:38:25,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:38:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:38:25,274 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:38:34,107 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-16 17:38:34,231 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.179 2019-10-16 17:38:35,012 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.179 2019-10-16 17:38:35,176 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-16 17:38:37,339 - octoprint.server.util.sockjs - INFO - User XKiloX95 logged in on the socket from client ::ffff:192.168.1.179 2019-10-16 17:38:44,610 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:38:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:40:44,911 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:40:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:40:45,031 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:41:08,610 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:41:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:43:08,594 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:43:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:44:08,670 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 17:44:25,748 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 90919} 2019-10-16 17:45:08,594 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:45:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:47:08,609 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:47:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:49:08,910 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:49:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:49:08,956 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:49:46,596 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:49:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:51:46,910 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:51:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:51:46,950 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:54:19,236 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:54:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:56:19,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:56:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:58:19,665 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 17:58:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 17:58:19,833 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 17:59:08,672 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 17:59:25,953 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 91819} 2019-10-16 18:03:15,598 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:03:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:05:15,600 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:05:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:06:09,534 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly 2019-10-16 18:06:09,541 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s 2019-10-16 18:07:15,599 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:07:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:09:15,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:09:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:09:15,939 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 18:13:34,595 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-16 18:13:34,600 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-16 18:13:34,608 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-16 18:13:35,548 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.18ms 2019-10-16 18:13:45,573 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.76ms 2019-10-16 18:13:55,590 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.06ms 2019-10-16 18:14:05,574 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.76ms 2019-10-16 18:14:08,674 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 18:14:15,580 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.00ms 2019-10-16 18:14:25,568 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.76ms 2019-10-16 18:14:25,848 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 92719} 2019-10-16 18:14:35,590 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.98ms 2019-10-16 18:14:45,590 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.61ms 2019-10-16 18:14:55,582 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.18ms 2019-10-16 18:15:05,577 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.63ms 2019-10-16 18:15:15,574 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.98ms 2019-10-16 18:15:25,579 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.65ms 2019-10-16 18:15:35,584 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.39ms 2019-10-16 18:15:45,579 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.08ms 2019-10-16 18:15:55,581 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.70ms 2019-10-16 18:16:05,965 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2019-10-16 18:16:06,299 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.75ms 2019-10-16 18:16:06,487 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2019-10-16 18:16:06,492 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-16 18:16:06,505 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 18:16:07,564 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 18:16:12,350 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-16 18:16:12,372 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 18:16:12,732 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-16 18:16:12,739 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-16 18:16:12,744 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-16 18:16:12,749 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-16 18:16:13,372 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-16 18:16:19,679 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly 2019-10-16 18:16:19,689 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s 2019-10-16 18:18:01,090 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-16 18:18:01,094 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-16 18:18:01,107 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-16 18:18:01,661 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.79ms 2019-10-16 18:18:11,692 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.36ms 2019-10-16 18:18:17,774 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2019-10-16 18:18:18,266 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2019-10-16 18:18:18,271 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-16 18:18:18,328 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 18:18:21,691 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.65ms 2019-10-16 18:18:27,300 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-16 18:18:27,472 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.179 2019-10-16 18:18:27,577 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 18:18:28,323 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.179 2019-10-16 18:18:28,536 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-16 18:18:30,359 - octoprint.server.util.sockjs - INFO - User XKiloX95 logged in on the socket from client ::ffff:192.168.1.179 2019-10-16 18:18:31,694 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.29ms 2019-10-16 18:18:32,323 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-16 18:18:32,335 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-16 18:18:32,659 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-16 18:18:32,664 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-16 18:18:32,728 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-16 18:18:32,778 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-16 18:18:33,363 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-16 18:18:43,021 - octoprint.printer.standard.job - INFO - Print job selected - origin: sdcard, path: ccr10s~1.gco, owner: None, user: None 2019-10-16 18:18:43,031 - octoprint.plugins.excluderegion - INFO - File selected, resetting internal state 2019-10-16 18:18:45,015 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly 2019-10-16 18:18:45,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:18:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:19:05,398 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s 2019-10-16 18:20:06,142 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting print from SD" 2019-10-16 18:20:06,150 - octoprint.printer.standard.job - INFO - Print job started - origin: sdcard, path: ccr10s~1.gco, owner: None, user: None 2019-10-16 18:20:06,453 - octoprint.util.comm - INFO - Changing monitoring state from "Starting print from SD" to "Printing from SD" 2019-10-16 18:20:06,504 - octoprint.plugins.excluderegion - INFO - Printing started 2019-10-16 18:20:06,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:20:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:20:07,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:20:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:20:07,511 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'sdcard', 'file': 'fac02ebed69e8b7b8a3b90bfe8cdba7ab35db262'} 2019-10-16 18:20:18,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:20:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:20:29,615 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:20:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:20:40,795 - octoprint - ERROR - Exception on /plugin/PrintTimeGenius/analyze/sdcard/ccr10s~1.gco [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_PrintTimeGenius/__init__.py", line 448, in analyze_file queue_entry = self._file_manager._analysis_queue_entry(origin, path) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/filemanager/__init__.py", line 714, in _analysis_queue_entry absolute_path = self._storage(destination).path_on_disk(path) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/filemanager/__init__.py", line 697, in _storage raise NoSuchStorage("No storage configured for destination {destination}".format(**locals())) NoSuchStorage: No storage configured for destination sdcard 2019-10-16 18:20:40,806 - tornado.access - ERROR - 500 GET /plugin/PrintTimeGenius/analyze/sdcard/ccr10s~1.gco (::ffff:192.168.1.179) 37.14ms 2019-10-16 18:20:41,915 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:20:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:20:52,915 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:20:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:21:04,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:21:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:21:06,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:21:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:21:15,615 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:21:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:21:26,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:21:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:21:37,916 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:21:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:21:49,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:21:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:00,598 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:06,928 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:11,622 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:22,916 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:32,243 - octoprint.plugins.thespaghettidetective_beta - ERROR - Server websocket is closing 2019-10-16 18:22:34,599 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:47,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:22:58,916 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:22:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:23:06,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:23:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:23:10,236 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:23:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:23:22,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:23:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:23:33,613 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:23:33,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:23:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:23:44,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:23:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:23:56,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:23:56] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:24:06,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:24:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:24:06,926 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:24:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:24:18,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:24:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:24:29,617 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:24:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:24:41,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:24:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:24:52,916 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:24:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:25:04,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:25:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:25:06,923 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:25:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:25:15,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:25:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:25:26,601 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:25:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:25:37,923 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:25:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:25:49,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:25:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:00,598 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:26:00,912 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:26:01,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:06,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:12,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:23,612 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:26:23,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:35,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:46,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:26:57,616 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:26:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:27:06,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:27:08,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:27:20,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:27:31,617 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:27:31,924 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:27:32,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:27:32,234 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:27:32,237 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:32] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:27:32,245 - backoff - INFO - Backing off capture_jpeg(...) for 1.0s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:27:33,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:27:44,612 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:27:44,912 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:27:45,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:27:45,235 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:27:45,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:45] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:27:45,255 - backoff - INFO - Backing off capture_jpeg(...) for 0.6s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:27:45,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:27:57,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:27:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:28:06,913 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:28:07,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:28:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:28:08,613 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:28:08,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:28:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:28:19,928 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:28:20,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:28:20,598 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:28:20,599 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:28:20,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:28:20] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:28:20,611 - backoff - INFO - Backing off capture_jpeg(...) for 0.2s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:28:20,936 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:28:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:28:32,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:28:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:28:43,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:28:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:00,600 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:07,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:08,676 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 18:29:11,914 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:29:12,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:29:12,598 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:29:12,599 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:29:12,604 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:12] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:29:12,612 - backoff - INFO - Backing off capture_jpeg(...) for 0.4s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:29:13,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:24,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:25,824 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 93619} 2019-10-16 18:29:35,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:46,602 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:29:57,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:29:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:30:07,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:30:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:30:08,599 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:30:08,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:30:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:30:20,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:30:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:30:31,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:30:31] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:30:42,601 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:30:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:30:53,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:30:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:31:05,238 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:31:05,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:31:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:31:07,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:31:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:31:16,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:31:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:31:27,914 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:31:28,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:31:28] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:31:39,617 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:31:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:31:50,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:31:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:01,901 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:32:02,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:07,254 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:13,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:24,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:30,616 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:30] "GET /?action=stream&1571247150516 HTTP/1.1" 200 - 2019-10-16 18:32:36,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:47,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:32:58,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:32:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:33:07,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:33:10,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:33:17,631 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.179 2019-10-16 18:33:21,236 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:21,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:21,911 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:21,913 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:33:21,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:21] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:33:21,943 - backoff - INFO - Backing off capture_jpeg(...) for 0.7s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:33:22,911 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:23,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:23,615 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:23,618 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:33:23,622 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:23] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:33:23,640 - backoff - INFO - Backing off capture_jpeg(...) for 1.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:33:25,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:33:36,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:33:47,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:33:59,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:59,612 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:59,912 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:33:59,913 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:33:59,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:33:59] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:33:59,937 - backoff - INFO - Backing off capture_jpeg(...) for 0.0s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:34:00,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:00,612 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:00,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:34:07,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:34:11,623 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:34:22,912 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:23,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:23,612 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:23,614 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:34:23,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:23] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:34:23,637 - backoff - INFO - Backing off capture_jpeg(...) for 0.5s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:34:24,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:24,612 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:24,911 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:34:24,914 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:34:24,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:24] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:34:24,935 - backoff - INFO - Backing off capture_jpeg(...) for 1.7s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:34:26,916 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:34:38,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:34:49,622 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:34:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:00,616 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:07,616 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:11,617 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:35:11,912 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:35:12,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:23,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:34,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:45,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:35:57,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:35:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:36:07,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:36:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:36:08,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:36:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:36:19,617 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:36:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:36:30,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:36:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:36:41,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:36:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:36:52,914 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:36:53,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:36:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:37:04,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:37:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:37:07,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:37:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:37:15,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:37:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:37:26,902 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:37:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:37:37,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:37:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:37:48,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:37:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:00,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:07,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:11,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:23,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:38:23,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:34,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:45,914 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:38:46,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:38:46,614 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:38:46,617 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:38:46,625 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:46] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:38:46,638 - backoff - INFO - Backing off capture_jpeg(...) for 0.8s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:38:47,623 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:38:58,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:38:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:39:07,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:39:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:39:10,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:39:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:39:21,602 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:39:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:39:32,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:39:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:39:43,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:39:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:39:55,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:39:55,614 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:39:55,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:39:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:40:06,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:40:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:40:07,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:40:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:40:17,923 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:40:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:40:29,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:40:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:40:40,603 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:40:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:40:51,623 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:40:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:41:02,915 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:41:03,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:41:03,615 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:41:03,631 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:41:03,642 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:03] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:41:03,654 - backoff - INFO - Backing off capture_jpeg(...) for 1.0s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:41:04,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:41:07,923 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:41:16,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:41:27,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:41:38,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:41:38,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:41:50,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:41:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:01,603 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:07,918 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:42:08,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:12,624 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:23,915 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:42:24,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:35,623 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:46,623 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:42:57,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:42:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:43:07,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:43:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:43:09,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:43:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:43:20,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:43:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:43:31,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:43:31] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:43:42,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:43:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:43:53,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:43:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:44:04,926 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:44:07,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:44:08,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:08,616 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:08,678 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 18:44:08,923 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:44:16,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:44:25,858 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 94519} 2019-10-16 18:44:27,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:27,915 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:28,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:28,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:44:28,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:28] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:44:28,261 - backoff - INFO - Backing off capture_jpeg(...) for 0.1s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:44:28,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:28,914 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:29,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:29,235 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:44:29,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:29] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:44:29,258 - backoff - INFO - Backing off capture_jpeg(...) for 0.7s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:44:30,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:30,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:30,914 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:30,916 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:44:30,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:30] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:44:30,943 - backoff - INFO - Backing off capture_jpeg(...) for 3.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:44:34,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:34,914 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:35,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:44:35,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:44:35,241 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:35] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:44:35,261 - backoff - INFO - Backing off capture_jpeg(...) for 7.1s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:44:42,626 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:44:53,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:44:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:45:05,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:45:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:45:08,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:45:08,615 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:45:08,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:45:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:45:16,603 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:45:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:45:27,616 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:45:27,915 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:45:28,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:45:28] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:45:39,624 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:45:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:45:50,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:45:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:01,916 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:46:02,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:08,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:13,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:24,918 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:46:25,240 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:36,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:47,617 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:46:47,916 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:46:48,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:46:48,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:46:48,243 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:48] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:46:48,260 - backoff - INFO - Backing off capture_jpeg(...) for 0.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:46:48,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:46:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:46:59,916 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:00,235 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:00,616 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:00,620 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:47:00,631 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:00] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:47:00,646 - backoff - INFO - Backing off capture_jpeg(...) for 0.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:47:01,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:01,616 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:01,916 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:01,920 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:47:01,925 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:01] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:47:01,946 - backoff - INFO - Backing off capture_jpeg(...) for 1.4s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:47:03,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:47:08,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:47:14,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:47:26,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:47:37,237 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:47:48,616 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:48,917 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:49,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:47:49,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 18:47:49,243 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:49] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 18:47:49,264 - backoff - INFO - Backing off capture_jpeg(...) for 0.5s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-16 18:47:49,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:47:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:01,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:08,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:12,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:23,619 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:34,916 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 18:48:35,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:46,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:48:58,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:48:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:49:08,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:49:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:49:09,927 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:49:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:49:21,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:49:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:49:32,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:49:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:49:43,920 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:49:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:49:55,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:49:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:50:03,641 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-16 18:50:03,647 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-16 18:50:03,662 - octoprint.util.comm - INFO - Changing monitoring state from "Printing from SD" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-16 18:50:03,782 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintFailed 2019-10-16 18:50:04,707 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': 'sdcard', 'reason': 'error', 'commerror_text': "SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739", 'file': 'fac02ebed69e8b7b8a3b90bfe8cdba7ab35db262', 'elapsed': 1797} 2019-10-16 18:51:08,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:51:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:53:08,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:53:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:55:08,623 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:55:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:57:08,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:57:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:59:08,620 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 18:59:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 18:59:08,680 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 18:59:25,829 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 95419} 2019-10-16 19:01:08,617 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:01:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:03:08,917 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:03:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:05:08,918 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:05:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:05:08,930 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:05:09,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:05:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:07:09,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:07:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:09:09,618 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:09:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:11:09,621 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:11:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:13:09,622 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:13:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:14:08,684 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 19:14:25,853 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 96319} 2019-10-16 19:15:09,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:15:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:17:09,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:17:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:17:09,931 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:17:10,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:17:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:19:10,921 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:19:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:21:10,926 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:21:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:23:11,237 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:23:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:25:11,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:25:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:25:11,250 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:25:12,919 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:25:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:27:12,922 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:27:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:29:08,685 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 19:29:12,908 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:29:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:29:25,865 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 97219} 2019-10-16 19:31:12,925 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:31:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:33:13,237 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:33:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:35:13,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:13,621 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:13,921 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:13,923 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:35:13,932 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:35:13] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:35:13,940 - backoff - INFO - Backing off capture_mjpeg(...) for 0.8s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:35:14,921 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:15,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:15,621 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:15,623 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:35:15,634 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:35:15] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:35:15,641 - backoff - INFO - Backing off capture_mjpeg(...) for 0.1s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:35:15,921 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:16,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:16,621 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:35:16,623 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:35:16,631 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:35:16] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:35:16,640 - backoff - INFO - Backing off capture_mjpeg(...) for 2.6s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:35:19,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:35:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:35:19,250 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:35:20,910 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:35:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:37:20,626 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:37:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:39:20,923 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:39:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:41:20,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:41:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:41:20,936 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:41:24,925 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:41:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:43:24,928 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:43:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:44:08,688 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 19:44:25,878 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 98119} 2019-10-16 19:45:24,922 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:45:25,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:45:25,626 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:45:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:47:24,920 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:25,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:25,624 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:47:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:47:25,635 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:47:30,621 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:30,922 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:31,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:31,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:47:31,244 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:47:31] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:47:31,252 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:47:31,621 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:31,921 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:32,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:32,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:47:32,244 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:47:32] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:47:32,252 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:47:33,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:33,621 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:33,921 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:47:33,923 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:47:33,932 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:47:33] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:47:33,940 - backoff - INFO - Backing off capture_mjpeg(...) for 4.0s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:47:37,926 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:47:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:49:30,621 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:49:30,924 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:49:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:51:30,626 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:51:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:53:30,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:53:30,922 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:53:31,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:53:31] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:55:30,572 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:55:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:55:30,583 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 19:55:51,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:55:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:57:51,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:57:51,625 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:57:51,925 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 19:57:51,928 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 19:57:51,937 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:57:51] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 19:57:51,945 - backoff - INFO - Backing off capture_mjpeg(...) for 0.5s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 19:57:52,629 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:57:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:59:08,690 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 19:59:25,862 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 99019} 2019-10-16 19:59:51,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 19:59:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 19:59:51,250 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 20:00:30,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:00:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:02:30,237 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:02:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:04:30,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:30,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:30,924 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:30,926 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:04:30,934 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:04:30] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:04:30,943 - backoff - INFO - Backing off capture_mjpeg(...) for 0.1s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:04:31,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:31,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:31,924 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:31,926 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:04:31,933 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:04:31] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:04:31,940 - backoff - INFO - Backing off capture_mjpeg(...) for 1.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:04:33,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:33,924 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:34,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:34,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:04:34,244 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:04:34] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:04:34,252 - backoff - INFO - Backing off capture_mjpeg(...) for 3.4s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:04:37,924 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:38,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:38,573 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:04:38,581 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:04:38,594 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:04:38] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:04:38,615 - backoff - INFO - Backing off capture_mjpeg(...) for 2.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:04:41,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:04:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:06:30,631 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:06:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:06:30,641 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 20:07:22,629 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:07:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:09:22,630 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:09:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:11:22,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:11:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:13:22,572 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:13:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:14:08,693 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 20:14:26,001 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 99919} 2019-10-16 20:15:22,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:15:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:17:22,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:17:22,925 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:17:23,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:17:23,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:17:23,245 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:17:23] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:17:23,253 - backoff - INFO - Backing off capture_mjpeg(...) for 0.1s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:17:23,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:17:23,925 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:17:24,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:17:24,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:17:24,244 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:17:24] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:17:24,252 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:17:25,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:17:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:19:22,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:19:22,925 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:19:23,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:19:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:19:23,249 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 20:22:03,928 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:22:04,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:22:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:24:03,932 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:24:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:26:03,926 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:26:04,233 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:26:04,572 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:26:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:28:04,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:28:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:28:04,248 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 20:29:08,696 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 20:29:25,833 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 100819} 2019-10-16 20:33:36,930 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:33:37,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:33:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:35:36,931 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:35:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:37:37,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:37:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:39:37,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:39:37,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:39:37,926 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:39:37,928 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:39:37,934 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:39:37] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:39:37,944 - backoff - INFO - Backing off capture_mjpeg(...) for 0.5s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:39:38,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:39:38,926 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:39:39,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:39:39,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:39:39,243 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:39:39] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:39:39,255 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:39:40,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:39:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:39:40,249 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 20:44:08,700 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 20:44:25,893 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 101719} 2019-10-16 20:46:07,932 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:46:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:48:07,929 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:48:08,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:48:08,567 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:48:08,570 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 20:48:08,578 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:48:08] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 20:48:08,585 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 20:48:09,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:48:09,928 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 20:48:10,238 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:48:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:50:07,931 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 20:50:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 20:50:07,945 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 20:59:08,702 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 20:59:25,883 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 102619} 2019-10-16 21:05:15,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:05:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:07:15,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:07:15,933 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:07:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:09:15,932 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:09:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:09:15,942 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 21:14:08,705 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 21:14:25,914 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 103519} 2019-10-16 21:29:08,708 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 21:29:25,893 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 104419} 2019-10-16 21:31:00,930 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:01,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:01,567 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:01,570 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 21:31:01,581 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:31:01] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 21:31:01,588 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 21:31:01,930 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:02,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:02,567 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:02,570 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-16 21:31:02,578 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:31:02] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-16 21:31:02,586 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-16 21:31:02,930 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:03,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-16 21:31:03,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:31:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:33:00,935 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:33:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:35:01,235 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:35:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:37:00,934 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:37:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:37:00,945 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 21:44:08,711 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 21:44:25,907 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 105319} 2019-10-16 21:51:18,239 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:51:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:53:18,237 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:53:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:55:18,572 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:55:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:57:18,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 21:57:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 21:57:18,580 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 21:59:08,714 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 21:59:25,918 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 106219} 2019-10-16 22:14:08,717 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 22:14:25,909 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 107119} 2019-10-16 22:17:52,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:17:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:19:52,941 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:19:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:21:52,940 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:21:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:21:52,950 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 22:29:08,719 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 22:29:25,894 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 108019} 2019-10-16 22:34:20,358 - octoprint.plugins.thespaghettidetective_beta - ERROR - Server websocket is closing 2019-10-16 22:41:59,944 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:41:59] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:43:59,943 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:43:59] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:44:08,722 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 22:44:25,927 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 108919} 2019-10-16 22:45:59,940 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-16 22:46:00,245 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:46:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:47:59,944 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:47:59] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 22:47:59,953 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 22:59:08,725 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 22:59:25,966 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 109819} 2019-10-16 22:59:27,245 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-16 22:59:27,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 22:59:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:01:27,247 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:01:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:03:27,248 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:03:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:05:27,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:05:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:07:27,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:07:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:07:27,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 23:14:08,728 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 23:14:25,940 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 110719} 2019-10-16 23:29:08,732 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 23:29:25,971 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 111619} 2019-10-16 23:35:38,255 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:35:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:37:38,570 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:37:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:39:38,571 - werkzeug - INFO - 127.0.0.1 - - [16/Oct/2019 23:39:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-16 23:39:38,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-16 23:44:08,735 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 23:44:26,196 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 112519} 2019-10-16 23:59:08,737 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-16 23:59:25,953 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 113419} 2019-10-17 00:09:19,253 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:09:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:11:19,253 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:11:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:13:19,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:13:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:14:08,740 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 00:14:25,972 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 114319} 2019-10-17 00:15:19,253 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:15:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:17:19,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:17:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:17:19,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 00:29:08,743 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 00:29:26,070 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 115219} 2019-10-17 00:32:39,956 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:32:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:34:39,955 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:34:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:36:39,954 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:36:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:38:39,954 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:38:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:38:39,964 - octoprint.plugins.anywhere - ERROR - [Errno 104] Connection reset by peer 2019-10-17 00:44:08,747 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 00:44:25,964 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 116119} 2019-10-17 00:54:53,263 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:54:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:56:53,570 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:56:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:58:53,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 00:58:53,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 00:58:54,258 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 00:58:54,260 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 00:58:54,267 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:58:54] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 00:58:54,277 - backoff - INFO - Backing off capture_mjpeg(...) for 0.4s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 00:58:54,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 00:58:55,258 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 00:58:55,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 00:58:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 00:58:55,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 00:59:08,749 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 00:59:25,995 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 117019} 2019-10-17 01:14:08,751 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 01:14:25,983 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 117919} 2019-10-17 01:15:46,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:15:47,260 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:15:47,567 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:15:47,569 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 01:15:47,574 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:15:47] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 01:15:47,582 - backoff - INFO - Backing off capture_mjpeg(...) for 1.0s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 01:15:48,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:15:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:17:46,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:17:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:19:47,247 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:19:47,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:19:47,900 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:19:47,903 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 01:19:47,908 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:19:47] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 01:19:47,919 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 01:19:48,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:19:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:21:47,261 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:21:47,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:21:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:21:47,580 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 01:29:08,754 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 01:29:26,005 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 118819} 2019-10-17 01:44:08,757 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 01:44:25,994 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 119719} 2019-10-17 01:49:43,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:49:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:51:43,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:43,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:44,258 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:44,261 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 01:51:44,267 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:51:44] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 01:51:44,274 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 01:51:45,246 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:45,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:45,900 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:45,902 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 01:51:45,907 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:51:45] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 01:51:45,913 - backoff - INFO - Backing off capture_mjpeg(...) for 0.2s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 01:51:46,259 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:46,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 01:51:46,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:51:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:53:43,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 01:53:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 01:53:43,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 01:59:08,761 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 01:59:25,954 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 120619} 2019-10-17 02:14:08,765 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 02:14:26,009 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 121519} 2019-10-17 02:20:07,263 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:20:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:22:07,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:22:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:24:07,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:24:07,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:24:08,262 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:24:08,264 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 02:24:08,269 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:24:08] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 02:24:08,279 - backoff - INFO - Backing off capture_mjpeg(...) for 0.0s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 02:24:08,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:24:08,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:24:09,262 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:24:09,264 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 02:24:09,269 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:24:09] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 02:24:09,278 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 02:24:09,570 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:24:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:26:07,586 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:26:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:26:07,597 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 02:29:08,768 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 02:29:26,006 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 122419} 2019-10-17 02:42:17,901 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:42:18,265 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 02:42:18,573 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:42:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:44:08,772 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 02:44:17,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:44:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:44:25,993 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 123319} 2019-10-17 02:46:17,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:46:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:48:17,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:48:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:50:17,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:50:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:52:17,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:52:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:54:18,270 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 02:54:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 02:54:18,279 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 02:59:08,775 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 02:59:26,020 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 124219} 2019-10-17 03:05:33,274 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:05:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:07:33,271 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:07:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:09:33,276 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:09:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:11:33,281 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:11:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:11:33,292 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 03:14:08,779 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 03:14:26,002 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 125119} 2019-10-17 03:29:08,823 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 03:29:26,035 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 126019} 2019-10-17 03:30:01,578 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:30:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:32:01,576 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:32:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:34:01,575 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:34:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:36:01,575 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:36:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:38:01,572 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 03:38:01,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:38:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:40:01,575 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 03:40:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 03:40:01,586 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 03:44:08,925 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 03:44:26,072 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 126919} 2019-10-17 03:59:08,929 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 03:59:26,050 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 127819} 2019-10-17 04:08:37,574 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 04:08:37,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 04:08:38,274 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 04:08:38,276 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 04:08:38,281 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:08:38] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 04:08:38,290 - backoff - INFO - Backing off capture_mjpeg(...) for 0.9s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 04:08:39,278 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:08:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:10:37,579 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:10:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:12:37,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:12:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:14:08,942 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 04:14:26,033 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 128719} 2019-10-17 04:14:37,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:14:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:14:37,913 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 04:29:09,025 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 04:29:26,030 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 129619} 2019-10-17 04:35:58,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:35:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:36:50,060 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 26.17ms 2019-10-17 04:36:50,132 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 17.07ms 2019-10-17 04:37:00,097 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.69ms 2019-10-17 04:37:05,633 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.98ms 2019-10-17 04:37:10,079 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.03ms 2019-10-17 04:37:15,672 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.74ms 2019-10-17 04:37:20,101 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.72ms 2019-10-17 04:37:24,507 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-17 04:37:25,483 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.179 2019-10-17 04:37:25,630 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-17 04:37:25,654 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.93ms 2019-10-17 04:37:27,469 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.66s 2019-10-17 04:37:28,400 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.56s 2019-10-17 04:37:29,093 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.57s 2019-10-17 04:37:29,896 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.71s 2019-10-17 04:37:30,609 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.55s 2019-10-17 04:37:30,971 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.59ms 2019-10-17 04:37:31,125 - octoprint.server.util.sockjs - INFO - User XKiloX95 logged in on the socket from client ::ffff:192.168.1.179 2019-10-17 04:37:35,678 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.47ms 2019-10-17 04:37:40,089 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.21ms 2019-10-17 04:37:45,740 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.39ms 2019-10-17 04:37:50,090 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.91ms 2019-10-17 04:37:55,671 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.28ms 2019-10-17 04:37:58,906 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:37:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:38:00,309 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2019-10-17 04:38:00,627 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 13.90ms 2019-10-17 04:38:00,632 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2019-10-17 04:38:00,655 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Detecting baudrate" 2019-10-17 04:38:01,679 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 04:38:01,734 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting baudrate" to "Operational" 2019-10-17 04:38:01,752 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 04:38:02,046 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-17 04:38:02,050 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-17 04:38:06,554 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-17 04:38:06,606 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-17 04:38:07,132 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 0, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-17 04:39:58,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:39:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:40:27,993 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-17 04:40:27,996 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-17 04:40:28,020 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-17 04:40:28,519 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 13.33ms 2019-10-17 04:40:29,770 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.50ms 2019-10-17 04:40:38,541 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.93ms 2019-10-17 04:40:39,794 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.15ms 2019-10-17 04:40:48,544 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.88ms 2019-10-17 04:40:49,805 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.95ms 2019-10-17 04:40:51,874 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2019-10-17 04:40:52,376 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2019-10-17 04:40:52,382 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-17 04:40:52,666 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 04:40:58,551 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.18ms 2019-10-17 04:40:59,791 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.99ms 2019-10-17 04:41:01,871 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 04:41:06,836 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-17 04:41:06,862 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 04:41:07,114 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-17 04:41:07,185 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-17 04:41:07,189 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-17 04:41:07,197 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-17 04:41:07,777 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-17 04:41:58,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:41:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:42:02,392 - octoprint.printer.standard.job - INFO - Print job selected - origin: sdcard, path: ccr10s~1.gco, owner: None, user: None 2019-10-17 04:42:02,404 - octoprint.plugins.excluderegion - INFO - File selected, resetting internal state 2019-10-17 04:42:04,388 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly 2019-10-17 04:43:24,536 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s 2019-10-17 04:43:34,517 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting print from SD" 2019-10-17 04:43:34,529 - octoprint.printer.standard.job - INFO - Print job started - origin: sdcard, path: ccr10s~1.gco, owner: None, user: None 2019-10-17 04:43:34,928 - octoprint.util.comm - INFO - Changing monitoring state from "Starting print from SD" to "Printing from SD" 2019-10-17 04:43:34,974 - octoprint.plugins.excluderegion - INFO - Printing started 2019-10-17 04:43:35,284 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:43:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:43:35,780 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'sdcard', 'file': 'fac02ebed69e8b7b8a3b90bfe8cdba7ab35db262'} 2019-10-17 04:43:35,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:43:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:43:47,285 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:43:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:43:58,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:43:58,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:43:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:44:09,028 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 04:44:10,285 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:44:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:44:21,280 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:44:21,585 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:44:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:44:26,063 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 130519} 2019-10-17 04:44:32,907 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:44:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:44:35,285 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:44:35,590 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:44:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:44:44,269 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:44:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:44:55,593 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:44:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:45:06,267 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:45:06,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:45:06,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:45:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:45:18,288 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:45:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:45:29,586 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:45:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:45:35,285 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:45:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:45:40,585 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:45:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:45:51,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:45:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:46:04,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:46:04,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:46:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:46:16,290 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:46:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:46:27,290 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:46:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:46:35,270 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:46:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:46:38,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:46:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:46:49,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:46:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:47:04,263 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:47:04,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:47:04,899 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:47:04,901 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 04:47:04,907 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:04] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 04:47:04,913 - backoff - INFO - Backing off capture_jpeg(...) for 0.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 04:47:05,265 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:47:16,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:47:27,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:47:35,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:47:35,901 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:47:36,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:47:38,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:47:49,583 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:47:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:00,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:11,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:22,899 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:23,263 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:23,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:34,899 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:35,264 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:35,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:35,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:35,572 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 04:48:35,588 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:35] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 04:48:35,611 - backoff - INFO - Backing off capture_jpeg(...) for 0.2s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 04:48:35,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:47,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:48:58,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:58,899 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:59,264 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:48:59,266 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 04:48:59,271 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:48:59] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 04:48:59,277 - backoff - INFO - Backing off capture_jpeg(...) for 0.7s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 04:49:00,282 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:49:11,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:49:22,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:49:33,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:49:35,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:49:44,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:49:55,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:49:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:50:06,906 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:50:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:50:17,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:50:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:50:29,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:50:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:50:35,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:50:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:50:40,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:50:40,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:50:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:50:52,267 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:50:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:51:03,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:51:14,588 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:51:25,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:51:35,583 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:51:36,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:51:37,264 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:51:37,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:51:37,568 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 04:51:37,572 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:37] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 04:51:37,578 - backoff - INFO - Backing off capture_jpeg(...) for 0.5s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 04:51:38,288 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:51:50,288 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:51:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:01,588 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:12,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:23,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:23] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:35,595 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:35,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:47,288 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:52:58,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:52:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:53:09,582 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:53:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:53:20,911 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:53:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:53:32,267 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:53:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:53:35,588 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:53:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:53:43,284 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:53:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:53:54,583 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:53:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:54:05,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:54:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:54:16,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:54:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:54:28,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:54:28] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:54:35,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:54:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:54:39,570 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:54:39,901 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:54:40,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:54:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:54:51,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:54:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:02,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 04:55:02,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:14,267 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:25,583 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:35,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:36,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:47,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:55:59,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:55:59] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:56:10,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:56:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:56:21,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:56:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:56:33,269 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:56:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:56:35,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:56:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:56:44,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:56:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:56:55,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:56:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:57:07,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:57:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:57:19,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:57:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:57:30,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:57:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:57:35,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:57:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:57:41,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:57:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:57:52,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:57:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:04,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:15,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:26,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:35,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:37,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:48,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:58:59,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:58:59] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:59:09,058 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 04:59:10,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:59:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:59:22,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:59:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:59:26,011 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 131419} 2019-10-17 04:59:33,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:59:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:59:35,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:59:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:59:44,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:59:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 04:59:55,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 04:59:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:00:06,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 05:00:07,266 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 05:00:07,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 05:00:07,567 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 05:00:07,570 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:07] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 05:00:07,581 - backoff - INFO - Backing off capture_jpeg(...) for 0.4s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 05:00:08,286 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:00:19,570 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:00:30,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:30] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:00:36,283 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:00:42,269 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:00:53,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:00:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:01:04,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:01:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:01:15,585 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:01:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:01:26,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:01:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:01:30,462 - octoprint.util.comm - INFO - Changing monitoring state from "Printing from SD" to "Cancelling" 2019-10-17 05:01:30,474 - octoprint.printer.standard.job - INFO - Print job cancelled - origin: sdcard, path: ccr10s~1.gco, owner: None, user: XKiloX95 2019-10-17 05:01:30,481 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintCancelling 2019-10-17 05:01:30,717 - octoprint.util.comm - INFO - Pausing print job due to command M25 2019-10-17 05:01:31,309 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintCancelled 2019-10-17 05:01:31,709 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=PrintFailed 2019-10-17 05:01:31,918 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:01:31] "GET /?action=stream&1571284891669 HTTP/1.1" 200 - 2019-10-17 05:01:32,044 - octoprint.plugins.tracking - INFO - Sent tracking event print_cancelled, payload: {'origin': 'sdcard', 'file': 'fac02ebed69e8b7b8a3b90bfe8cdba7ab35db262', 'elapsed': 1075} 2019-10-17 05:01:32,601 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': 'sdcard', 'reason': 'cancelled', 'file': 'fac02ebed69e8b7b8a3b90bfe8cdba7ab35db262', 'elapsed': 1075} 2019-10-17 05:01:32,811 - octoprint.util.comm - INFO - Changing monitoring state from "Cancelling" to "Operational" 2019-10-17 05:01:44,432 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.179 2019-10-17 05:02:36,285 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:02:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:02:36,585 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:02:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:03:32,945 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-17 05:03:32,963 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-17 05:03:32,979 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-17 05:04:36,581 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:04:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:06:36,901 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:06:37,279 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:06:37,583 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:06:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:08:36,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:08:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:08:36,915 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:08:37,287 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:08:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:10:37,584 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:10:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:12:37,584 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:12:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:12:37,593 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:12:38,287 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:12:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:14:09,061 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 05:14:26,075 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 132319} 2019-10-17 05:14:38,283 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:14:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:16:38,287 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:16:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:18:38,285 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:18:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:18:38,294 - octoprint.plugins.anywhere - ERROR - [Errno 104] Connection reset by peer 2019-10-17 05:18:39,570 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:18:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:20:39,590 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:20:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:22:39,906 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:22:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:22:39,915 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:22:41,906 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:22:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:24:41,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:24:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:26:41,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:26:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:28:41,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:28:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:29:09,063 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 05:29:26,103 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 133219} 2019-10-17 05:30:41,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:30:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:32:41,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:32:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:34:41,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:34:42,287 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:34:42,587 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:34:42,591 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 05:34:42,601 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:34:42] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 05:34:42,608 - backoff - INFO - Backing off capture_mjpeg(...) for 0.2s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 05:34:42,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:34:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:36:41,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:36:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:36:41,914 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:36:47,593 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:36:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:38:47,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:38:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:40:47,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:40:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:40:47,914 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:40:52,595 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:40:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:42:52,592 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:42:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:44:09,065 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 05:44:26,139 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 134119} 2019-10-17 05:44:52,595 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:44:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:46:52,593 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:46:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:46:52,603 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:47:15,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:47:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:49:16,295 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:49:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:51:16,293 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:51:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:51:16,303 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 05:52:04,590 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:52:04,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:52:05,290 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 05:52:05,293 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 05:52:05,304 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:52:05] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 05:52:05,309 - backoff - INFO - Backing off capture_mjpeg(...) for 1.0s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 05:52:06,294 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:52:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:54:04,596 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:54:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:56:04,594 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:56:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:58:04,594 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 05:58:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 05:59:09,069 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 05:59:26,126 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 135019} 2019-10-17 06:00:04,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:00:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:02:04,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:02:05,290 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:02:05,590 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:02:05,594 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 06:02:05,603 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:02:05] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 06:02:05,610 - backoff - INFO - Backing off capture_mjpeg(...) for 0.5s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 06:02:06,294 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:02:06] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:02:06,304 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 06:03:20,293 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:03:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:05:20,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:05:20,589 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:05:20,900 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:05:20,904 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 06:05:20,915 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:05:20] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 06:05:20,921 - backoff - INFO - Backing off capture_mjpeg(...) for 0.4s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 06:05:21,589 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:05:21,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:05:22,234 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:05:22,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 06:05:22,247 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:05:22] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 06:05:22,254 - backoff - INFO - Backing off capture_mjpeg(...) for 0.5s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 06:05:22,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:05:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:07:20,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:07:20,594 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:07:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:07:20,604 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 06:10:09,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:10:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:12:09,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:12:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:14:09,072 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 06:14:09,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:14:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:14:26,099 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 135919} 2019-10-17 06:16:09,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:16:09,593 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:16:09,900 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:16:09,904 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 06:16:09,912 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:16:09] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 06:16:09,922 - backoff - INFO - Backing off capture_mjpeg(...) for 0.4s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 06:16:10,597 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:16:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:18:09,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:18:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:18:09,248 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 06:21:21,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:21:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:23:21,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:23:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:25:21,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:25:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:27:21,904 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:27:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:29:09,074 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 06:29:22,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:29:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:29:26,089 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 136819} 2019-10-17 06:31:22,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:31:22,593 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:31:22,900 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:31:22,904 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 06:31:22,913 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:31:22] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 06:31:22,920 - backoff - INFO - Backing off capture_mjpeg(...) for 0.3s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 06:31:23,593 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:31:23,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:31:24,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:31:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:31:24,247 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 06:36:42,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:36:42,599 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:36:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:38:42,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:38:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:40:42,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:40:42,594 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:40:42,900 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 06:40:42,903 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 06:40:42,909 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:40:42] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 06:40:42,918 - backoff - INFO - Backing off capture_mjpeg(...) for 0.2s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 06:40:43,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:40:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:42:42,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 06:42:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 06:42:42,247 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 06:44:09,077 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 06:44:26,096 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 137719} 2019-10-17 06:59:09,080 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 06:59:26,114 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 138619} 2019-10-17 07:08:12,603 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:08:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:10:12,601 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:10:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:12:12,602 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:12:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:14:09,082 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 07:14:12,602 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:14:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:14:26,152 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 139519} 2019-10-17 07:16:12,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:16:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:16:12,917 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 07:29:09,084 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 07:29:26,095 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 140419} 2019-10-17 07:44:09,098 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 07:44:26,138 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 141319} 2019-10-17 07:44:54,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:44:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:46:54,905 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:46:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:48:55,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:48:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:50:55,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 07:50:55,602 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 07:50:55,906 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 07:50:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 07:50:55,916 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 07:59:09,150 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 07:59:26,136 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 142219} 2019-10-17 08:11:52,908 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:11:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:13:52,908 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:13:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:14:09,154 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 08:14:26,149 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 143119} 2019-10-17 08:15:52,913 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:15:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:17:52,909 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:17:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:17:52,920 - octoprint.plugins.anywhere - ERROR - [Errno 104] Connection reset by peer 2019-10-17 08:29:09,157 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 08:29:26,118 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 144019} 2019-10-17 08:30:26,592 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:30:26,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:30:27,240 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:30:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:32:26,610 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:32:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:34:26,609 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:34:26,909 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:34:27,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:34:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:36:26,608 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:36:26,908 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:36:27,233 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:36:27,236 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 08:36:27,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:36:27] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 08:36:27,252 - backoff - INFO - Backing off capture_mjpeg(...) for 0.5s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 08:36:27,908 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:36:28,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:36:28,608 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:36:28,610 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 08:36:28,618 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:36:28] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 08:36:28,627 - backoff - INFO - Backing off capture_mjpeg(...) for 0.6s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 08:36:29,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:36:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:36:29,248 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 08:44:09,160 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 08:44:26,119 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 144919} 2019-10-17 08:52:13,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:52:13,612 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:52:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:54:13,594 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:54:13,900 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 08:54:14,239 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:54:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:56:13,613 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 08:56:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 08:56:13,623 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 08:59:09,163 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 08:59:26,153 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 145819} 2019-10-17 09:06:37,912 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 09:06:38,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 09:06:38,611 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 09:06:38,614 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 09:06:38,623 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:06:38] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 09:06:38,630 - backoff - INFO - Backing off capture_mjpeg(...) for 0.6s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 09:06:39,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 09:06:39,615 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:06:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:08:38,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:08:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:10:38,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:10:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:12:38,235 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:12:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:14:09,165 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 09:14:26,094 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 146719} 2019-10-17 09:14:38,239 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:14:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:16:38,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:16:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:16:38,248 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 09:29:09,169 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 09:29:26,132 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 147619} 2019-10-17 09:44:09,171 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 09:44:22,915 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:44:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:44:26,136 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 148519} 2019-10-17 09:46:22,916 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:46:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:48:22,915 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 09:48:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 09:48:22,925 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 09:59:09,174 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 09:59:26,360 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 149419} 2019-10-17 10:13:36,625 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:13:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:14:09,177 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 10:14:26,168 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 150319} 2019-10-17 10:15:36,618 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 10:15:36,923 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:15:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:17:36,622 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:17:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:17:36,632 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 10:29:09,179 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 10:29:26,161 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 151219} 2019-10-17 10:41:14,239 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:41:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:43:14,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:43:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:44:09,181 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 10:44:26,329 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 152119} 2019-10-17 10:45:14,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:45:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:47:14,611 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:47:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:49:14,625 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 10:49:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 10:49:14,634 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 10:59:09,183 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 10:59:26,198 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 153019} 2019-10-17 11:14:09,186 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 11:14:26,182 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 153919} 2019-10-17 11:16:58,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:16:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:18:58,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:18:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:20:58,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 11:20:58,618 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 11:20:58,922 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte) 2019-10-17 11:20:58,925 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 63: invalid start byte 2019-10-17 11:20:58,932 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:20:58] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 11:20:58,941 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 11:20:59,925 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:20:59] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:22:58,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:22:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:22:58,248 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 11:29:09,190 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 11:29:26,162 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 154819} 2019-10-17 11:43:53,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:43:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:44:09,193 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 11:44:26,214 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 155719} 2019-10-17 11:45:53,238 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:45:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:47:53,237 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:47:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:49:53,235 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:49:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:51:53,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:51:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:53:53,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 11:53:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 11:53:53,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 11:59:09,195 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 11:59:26,214 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 156619} 2019-10-17 12:14:09,200 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 12:14:26,384 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 157519} 2019-10-17 12:16:07,935 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:16:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:18:07,933 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:18:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:20:07,938 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:20:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:22:07,936 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:22:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:22:07,946 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 12:29:09,203 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 12:29:26,230 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 158419} 2019-10-17 12:37:45,936 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:37:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:39:45,936 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:39:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:41:45,940 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:41:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:43:46,234 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 12:43:46,572 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:43:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:43:46,581 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 12:44:09,206 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 12:44:26,216 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 159319} 2019-10-17 12:54:46,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:54:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:56:46,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 12:56:46,933 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 12:56:47,239 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:56:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:58:46,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 12:58:46] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 12:58:46,582 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 12:59:09,210 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 12:59:26,179 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 160219} 2019-10-17 13:14:09,214 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 13:14:26,197 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 161119} 2019-10-17 13:20:20,945 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 13:20:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 13:22:21,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 13:22:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 13:24:21,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 13:24:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 13:24:21,256 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 13:29:09,218 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 13:29:26,227 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 162019} 2019-10-17 13:44:09,220 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 13:44:26,191 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 162919} 2019-10-17 13:50:14,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 13:50:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 13:52:14,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 13:52:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 13:54:14,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 13:54:14,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 13:54:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 13:54:14,986 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 13:59:09,222 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 13:59:26,216 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 163819} 2019-10-17 14:14:09,225 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 14:14:26,254 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 164719} 2019-10-17 14:24:00,249 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:24:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 14:26:00,243 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:26:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 14:28:00,244 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:28:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 14:29:09,228 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 14:29:26,438 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 165619} 2019-10-17 14:30:00,246 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:30:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 14:32:00,240 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 14:32:00,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:32:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 14:32:00,611 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 14:44:09,231 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 14:44:26,246 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 166519} 2019-10-17 14:57:48,251 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:57:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 14:59:09,235 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 14:59:26,265 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 167419} 2019-10-17 14:59:48,253 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 14:59:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:01:48,254 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:01:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:03:48,254 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:03:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:05:48,258 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:05:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:07:48,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 15:07:48,952 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 15:07:49,253 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 15:07:49,256 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 15:07:49,264 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:07:49] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 15:07:49,272 - backoff - INFO - Backing off capture_mjpeg(...) for 0.5s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 15:07:49,953 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 15:07:50,252 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 15:07:50,568 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 15:07:50,571 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 15:07:50,576 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:07:50] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 15:07:50,585 - backoff - INFO - Backing off capture_mjpeg(...) for 0.1s (HTTPError: HTTP Error 500: INTERNAL SERVER ERROR) 2019-10-17 15:07:50,956 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:07:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:07:50,996 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 15:09:21,514 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.61ms 2019-10-17 15:09:21,616 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.16ms 2019-10-17 15:09:22,457 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.06ms 2019-10-17 15:09:27,074 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.179 2019-10-17 15:09:27,280 - octoprint.server.util.flask - INFO - Passively logging in user XKiloX95 from ::ffff:192.168.1.179 2019-10-17 15:09:27,298 - octoprint.server.util.sockjs - INFO - User XKiloX95 logged in on the socket from client ::ffff:192.168.1.179 2019-10-17 15:09:31,535 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.27ms 2019-10-17 15:09:31,634 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.63ms 2019-10-17 15:09:38,581 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.44ms 2019-10-17 15:09:41,541 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.89ms 2019-10-17 15:09:41,646 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.34ms 2019-10-17 15:09:48,620 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.56ms 2019-10-17 15:09:51,544 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.94ms 2019-10-17 15:09:51,654 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.63ms 2019-10-17 15:09:58,616 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.41ms 2019-10-17 15:10:01,539 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.97ms 2019-10-17 15:10:01,645 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.67ms 2019-10-17 15:10:08,611 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.07ms 2019-10-17 15:10:11,543 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.92ms 2019-10-17 15:10:11,663 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.62ms 2019-10-17 15:10:18,614 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.73ms 2019-10-17 15:10:21,548 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.34ms 2019-10-17 15:10:21,658 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.50ms 2019-10-17 15:10:28,615 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.47ms 2019-10-17 15:10:31,544 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.94ms 2019-10-17 15:10:31,676 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.60ms 2019-10-17 15:10:38,613 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.08ms 2019-10-17 15:10:41,542 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.22ms 2019-10-17 15:10:41,679 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.87ms 2019-10-17 15:10:48,614 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.59ms 2019-10-17 15:10:51,528 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.31ms 2019-10-17 15:10:51,664 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.41ms 2019-10-17 15:10:58,623 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.64ms 2019-10-17 15:11:01,543 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.11ms 2019-10-17 15:11:01,678 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.02ms 2019-10-17 15:11:08,621 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.95ms 2019-10-17 15:11:11,542 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.11ms 2019-10-17 15:11:11,681 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.14ms 2019-10-17 15:11:18,614 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.94ms 2019-10-17 15:11:21,543 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.11ms 2019-10-17 15:11:21,712 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 35.81ms 2019-10-17 15:11:28,617 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.87ms 2019-10-17 15:11:31,538 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.71ms 2019-10-17 15:11:31,685 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.46ms 2019-10-17 15:11:38,619 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.48ms 2019-10-17 15:11:41,541 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.68ms 2019-10-17 15:11:41,707 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.41ms 2019-10-17 15:11:48,622 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.24ms 2019-10-17 15:11:51,550 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 30.11ms 2019-10-17 15:11:51,687 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.20ms 2019-10-17 15:11:58,626 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.72ms 2019-10-17 15:12:01,539 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.31ms 2019-10-17 15:12:01,680 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.45ms 2019-10-17 15:12:08,632 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.67ms 2019-10-17 15:12:11,544 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.05ms 2019-10-17 15:12:11,686 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.24ms 2019-10-17 15:12:18,639 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.28ms 2019-10-17 15:12:21,540 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.28ms 2019-10-17 15:12:21,728 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.50ms 2019-10-17 15:12:28,631 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.52ms 2019-10-17 15:12:31,535 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.40ms 2019-10-17 15:12:31,678 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.72ms 2019-10-17 15:12:38,674 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 56.30ms 2019-10-17 15:12:41,548 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.34ms 2019-10-17 15:12:41,690 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.91ms 2019-10-17 15:12:44,387 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port" 2019-10-17 15:12:44,392 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-17 15:12:44,407 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 15:12:45,501 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 15:12:48,639 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.36ms 2019-10-17 15:12:50,252 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-17 15:12:50,278 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 15:12:50,583 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-17 15:12:50,584 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-17 15:12:50,687 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-17 15:12:50,742 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-17 15:12:51,419 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'/dev/ttyUSB0', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-17 15:14:09,237 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 15:14:26,243 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 168319} 2019-10-17 15:23:54,965 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:23:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:25:54,969 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:25:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:27:55,241 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:27:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:29:09,239 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 15:29:26,270 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 169219} 2019-10-17 15:29:55,241 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:29:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:29:55,248 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 15:36:46,567 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:36:46] "GET /?action=stream&1571323006056 HTTP/1.1" 200 - 2019-10-17 15:44:09,241 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 15:44:26,287 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 170119} 2019-10-17 15:55:49,251 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:55:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:57:49,270 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:57:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 15:58:16,489 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2739, in _readline ret = self._serial.readline() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4844, in readline c = self.read(1) File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, in read 'device reports readiness to read but returned no data ' SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2019-10-17 15:58:16,496 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2019-10-17 15:58:16,503 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2739)" 2019-10-17 15:58:16,891 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.05ms 2019-10-17 15:58:17,240 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.75ms 2019-10-17 15:58:17,686 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.09ms 2019-10-17 15:58:18,122 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.25ms 2019-10-17 15:58:18,422 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.15ms 2019-10-17 15:58:26,923 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.84ms 2019-10-17 15:58:27,265 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.20ms 2019-10-17 15:58:27,700 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 18.93ms 2019-10-17 15:58:28,140 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.34ms 2019-10-17 15:58:28,452 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.26ms 2019-10-17 15:58:36,936 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.20ms 2019-10-17 15:58:37,282 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.34ms 2019-10-17 15:58:37,705 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.12ms 2019-10-17 15:58:38,154 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.87ms 2019-10-17 15:58:38,445 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.77ms 2019-10-17 15:58:46,936 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 25.38ms 2019-10-17 15:58:47,277 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.35ms 2019-10-17 15:58:47,843 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 14.15ms 2019-10-17 15:58:48,130 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.09ms 2019-10-17 15:58:48,464 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.80ms 2019-10-17 15:58:56,930 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 27.59ms 2019-10-17 15:58:57,256 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.36ms 2019-10-17 15:58:57,709 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 23.91ms 2019-10-17 15:58:58,133 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 13.07ms 2019-10-17 15:58:58,442 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.03ms 2019-10-17 15:59:06,935 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.11ms 2019-10-17 15:59:07,255 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.59ms 2019-10-17 15:59:07,695 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 12.46ms 2019-10-17 15:59:08,157 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.85ms 2019-10-17 15:59:08,442 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.73ms 2019-10-17 15:59:09,244 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 15:59:16,933 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 24.77ms 2019-10-17 15:59:17,278 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.95ms 2019-10-17 15:59:17,692 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.92ms 2019-10-17 15:59:18,142 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.83ms 2019-10-17 15:59:18,507 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 22.34ms 2019-10-17 15:59:25,601 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2019-10-17 15:59:26,030 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2019-10-17 15:59:26,034 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting" 2019-10-17 15:59:26,133 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 15:59:26,587 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 171019} 2019-10-17 15:59:26,938 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 15.54ms 2019-10-17 15:59:27,256 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 11.42ms 2019-10-17 15:59:27,706 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.69ms 2019-10-17 15:59:28,129 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.16ms 2019-10-17 15:59:28,442 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.22ms 2019-10-17 15:59:35,338 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 15:59:36,923 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.59ms 2019-10-17 15:59:37,266 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 19.72ms 2019-10-17 15:59:37,693 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 10.14ms 2019-10-17 15:59:38,152 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 21.69ms 2019-10-17 15:59:38,454 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.1.179) 20.11ms 2019-10-17 15:59:40,300 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational" 2019-10-17 15:59:40,311 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2019-10-17 15:59:40,551 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.9 (Github)" 2019-10-17 15:59:40,620 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting 2019-10-17 15:59:40,708 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event 2019-10-17 15:59:40,711 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set 2019-10-17 15:59:41,354 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'AUTO', 'firmware_name': 'Marlin 1.1.9 (Github)'} 2019-10-17 15:59:49,242 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 15:59:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:01:43,721 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly 2019-10-17 16:01:43,731 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s 2019-10-17 16:01:49,246 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:01:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:03:49,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:03:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:05:49,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:05:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:05:49,604 - octoprint.plugins.anywhere - ERROR - [Errno 32] Broken pipe 2019-10-17 16:06:27,461 - octoprint.printer.standard.job - INFO - Print job selected - origin: sdcard, path: ccr10s~2.gco, owner: None, user: None 2019-10-17 16:06:27,475 - octoprint.plugins.excluderegion - INFO - File selected, resetting internal state 2019-10-17 16:06:37,525 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting print from SD" 2019-10-17 16:06:37,545 - octoprint.printer.standard.job - INFO - Print job started - origin: sdcard, path: ccr10s~2.gco, owner: None, user: None 2019-10-17 16:06:37,707 - octoprint.util.comm - INFO - Changing monitoring state from "Starting print from SD" to "Printing from SD" 2019-10-17 16:06:37,953 - octoprint.plugins.excluderegion - INFO - Printing started 2019-10-17 16:06:38,570 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:06:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:06:38,691 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'sdcard', 'file': '0025dca895ca2caa5c7d74fec0cf8490d1f36817'} 2019-10-17 16:06:49,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:06:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:07:00,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:07:12,263 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:12] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:07:22,947 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:07:34,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:07:45,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:07:56,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:07:56,943 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:07:57,243 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:07:57,245 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:07:57,248 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:57] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:07:57,257 - backoff - INFO - Backing off capture_jpeg(...) for 0.6s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:07:57,962 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:07:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:08:09,262 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:08:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:08:20,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:08:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:08:31,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:08:31] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:08:42,945 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:08:43,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:08:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:08:54,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:08:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:09:05,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:09:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:09:16,944 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:09:17,263 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:09:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:09:28,572 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:09:28] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:09:39,963 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:09:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:09:51,262 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:09:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:10:02,265 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:10:13,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:10:24,968 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:10:35,963 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:10:47,241 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:10:47,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:10:47,959 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:10:47,961 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:10:47,967 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:47] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:10:47,983 - backoff - INFO - Backing off capture_jpeg(...) for 0.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:10:48,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:10:48,944 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:10:49,244 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:10:49,246 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:10:49,250 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:49] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:10:49,257 - backoff - INFO - Backing off capture_jpeg(...) for 1.7s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:10:51,264 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:10:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:11:02,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:11:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:11:13,967 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:11:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:11:24,947 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:11:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:11:35,969 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:11:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:11:47,264 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:11:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:11:58,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:11:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:12:09,947 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:12:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:12:21,262 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:12:21] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:12:32,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:12:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:12:43,573 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:12:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:12:54,948 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:12:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:13:05,949 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:13:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:13:16,947 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:13:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:13:28,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:13:28] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:13:39,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:13:39,944 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:13:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:13:50,948 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:13:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:14:01,965 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:14:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:14:09,247 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2019-10-17 16:14:13,960 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:14:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:14:25,244 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:14:25] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:14:26,445 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 171919} 2019-10-17 16:14:36,251 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:14:36] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:14:47,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:14:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:14:58,944 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:14:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:15:10,246 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:15:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:15:20,944 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:15:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:15:32,260 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:15:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:15:43,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:15:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:15:54,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:15:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:16:05,944 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:16:17,261 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:17] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:16:28,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:28,942 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:29,256 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:29,259 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:16:29,268 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:29] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:16:29,314 - backoff - INFO - Backing off capture_jpeg(...) for 0.4s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:16:29,943 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:30,261 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:30,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:30,568 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:16:30,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:30] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:16:30,580 - backoff - INFO - Backing off capture_jpeg(...) for 0.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:16:30,942 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:31,256 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:31,571 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:31] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:16:42,941 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:43,255 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:16:43,573 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:16:54,950 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:16:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:17:07,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:17:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:17:18,572 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:17:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:17:29,966 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:17:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:17:41,945 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:17:41] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:17:53,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:17:53] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:18:04,945 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:18:04] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:18:16,260 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:18:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:18:27,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:18:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:18:38,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:18:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:18:49,957 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:18:50,258 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:18:50,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:18:50,568 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:18:50,572 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:18:50] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:18:50,578 - backoff - INFO - Backing off capture_jpeg(...) for 0.3s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:18:50,943 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:18:51,257 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:18:51,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:18:51] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:19:02,945 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:19:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:19:15,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:19:15] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:19:26,264 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:19:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:19:37,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:19:37,967 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:19:37] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:19:48,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:19:48] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:20:00,246 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:20:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:20:10,957 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:20:10] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:20:22,256 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:20:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:20:33,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:20:33] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:20:44,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:20:44] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:20:55,963 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:20:55] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:21:07,246 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:21:07] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:21:18,264 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:21:18] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:21:29,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:21:29] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:21:40,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:21:40] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:21:52,271 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:21:52] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:22:03,262 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:22:03] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:22:14,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:22:14] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:22:26,947 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:22:26] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:22:38,270 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:22:38] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:22:49,266 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:22:49] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:23:00,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:23:00] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:23:11,949 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:23:11] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:23:22,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:23:22] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:23:34,575 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:23:34] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:23:45,961 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:23:45] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:23:57,245 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:23:57] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:24:08,264 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:08] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:24:19,961 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:19] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:24:31,243 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:31,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:31,958 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:31,960 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:24:31,966 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:31] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:24:31,984 - backoff - INFO - Backing off capture_jpeg(...) for 0.8s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:24:32,943 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:33,243 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:33,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:33,568 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:24:33,574 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:33] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:24:33,580 - backoff - INFO - Backing off capture_jpeg(...) for 1.1s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:24:34,943 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:35,258 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:35,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:24:35,568 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:24:35,574 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:35] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:24:35,580 - backoff - INFO - Backing off capture_jpeg(...) for 3.7s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:24:39,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:24:50,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:24:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:25:02,261 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:02] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:25:13,246 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:25:24,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:25:35,957 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:36,262 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:36,566 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:36,568 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:25:36,574 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:36] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:25:36,580 - backoff - INFO - Backing off capture_jpeg(...) for 0.4s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:25:37,243 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:37,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:37,957 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:37,960 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:25:37,971 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:37] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:25:37,984 - backoff - INFO - Backing off capture_jpeg(...) for 1.1s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:25:39,258 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:39,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:39,943 - backoff - ERROR - Giving up next_jpg(...) after 3 tries (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:39,945 - webcam_server - ERROR - Exception on / [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 263, in webcam return self.get_snapshot() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 240, in get_snapshot return flask.send_file(io.BytesIO(self.next_jpg()), mimetype='image/jpeg') File "/home/pi/oprint/local/lib/python2.7/site-packages/backoff/_sync.py", line 94, in retry ret = target(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective_beta/webcam_stream.py", line 248, in next_jpg length = int(re.search(r"Content-Length: (\d+)", chunk.decode("utf-8"), re.MULTILINE).group(1)) File "/home/pi/oprint/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte 2019-10-17 16:25:39,951 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:39] "GET /?action=snapshot HTTP/1.1" 500 - 2019-10-17 16:25:39,956 - backoff - INFO - Backing off capture_jpeg(...) for 2.5s (HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8080/?action=snapshot) 2019-10-17 16:25:42,567 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:25:42,961 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:42] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:25:54,269 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:25:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:26:05,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:26:05] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:26:16,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:26:16] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:26:27,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:26:27] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:26:38,944 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:26:39,262 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:26:39] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:26:50,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:26:50] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:27:01,566 - backoff - INFO - Backing off next_jpg(...) for 0.0s (UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 64: invalid start byte) 2019-10-17 16:27:01,967 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:27:01] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:27:13,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:27:13] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:27:24,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:27:24] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:27:35,902 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:27:35] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:27:47,262 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:27:47] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:27:58,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:27:58] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:28:09,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:28:09] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:28:20,946 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:28:20] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:28:32,265 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:28:32] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:28:43,568 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:28:43] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:28:54,569 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:28:54] "GET /?action=snapshot HTTP/1.1" 200 - 2019-10-17 16:29:05,947 - werkzeug - INFO - 127.0.0.1 - - [17/Oct/2019 16:29:05] "GET /?action=snapshot HTTP/1.1" 200 -