Uncaught Exception while loading large gcode file


#1

From startup this was a 80.6 MiB gcode file
2018-06-27 02:19:39,250 - octoprint.startup - INFO - ******************************************************************************
2018-06-27 02:19:39,252 - octoprint.startup - INFO - Starting OctoPrint 1.3.8
2018-06-27 02:19:39,252 - octoprint.startup - INFO - ******************************************************************************
2018-06-27 02:19:49,109 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 1400.0
| ram: 918192128
| os:
| id: linux
| platform: linux2
| plugins:
| octopi_support:
| model: unknown
| revision: a020d3
| version: 0.15.0
| python:
| pip: 10.0.1
| version: 2.7.13
| virtualenv: /home/pi/oprint
2018-06-27 03:12:41,052 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port"
2018-06-27 03:12:41,055 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2018-06-27 03:12:41,060 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-06-27 03:12:42,170 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-06-27 03:12:47,775 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2018-06-27 03:12:47,781 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-06-27 03:12:47,878 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 1.1.0 From Archive"
2018-06-27 03:13:00,408 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Printing"
2018-06-27 03:13:00,419 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-06-27 03:13:32,192 - tornado.application - ERROR - Uncaught exception GET /downloads/files/local/CCR10_FilleniumMalcon_Pegged.gcode (127.0.0.1)
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/web.py", line 1334, in _execute
result = yield result
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/gen.py", line 628, in run
value = future.result()
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/concurrent.py", line 109, in result
raise_exc_info(self._exc_info)
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/gen.py", line 631, in run
yielded = self.gen.throw(*sys.exc_info())
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/web.py", line 2172, in get
yield self.flush()
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/gen.py", line 628, in run
value = future.result()
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/concurrent.py", line 111, in result
raise self._exception
StreamClosedError


#2

@foosel, Is this an open() timeout thing?

from stopit import SignalingTimeout as Timeout

with Timeout(5.0) as timeout_ctx:
    with open('/nfsdrive/foo', 'r') as f:
        # do something with f
        pass

#3

I cannot seem to post the entire log I get this message Whatever that means....
Sorry, new users can only put 2 links in a post.

Bottom line is the printer is changing states to printing. I suspect that it is in the gcode viewer or the analyzer. But at this time it is only a SWAG