Skip to content

Instantly share code, notes, and snippets.

@anelson425
Created December 11, 2016 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anelson425/5e86a9b3e572a637a215eabe52319a87 to your computer and use it in GitHub Desktop.
Save anelson425/5e86a9b3e572a637a215eabe52319a87 to your computer and use it in GitHub Desktop.
OctoPrint Crash
2016-12-10 23:09:02,397 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Dino.gcode
2016-12-10 23:09:02,547 - octoprint.plugins.autoselect - INFO - Selecting Dino.gcode on local that was just uploaded
2016-12-10 23:09:05,391 - octoprint.util.comm - INFO - Finished in 0.023 s.
2016-12-10 23:09:05,667 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker:
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/comm.py", line 1139, in _monitor
self._handle_ok()
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/comm.py", line 1417, in _handle_ok
self._continue_sending()
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/comm.py", line 1504, in _continue_sending
elif self._sendNext():
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/comm.py", line 1828, in _sendNext
line = self._getNext()
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/comm.py", line 1798, in _getNext
line = self._currentFile.getNext()
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/comm.py", line 2634, in getNext
raise ValueError("File %s is not open for reading" % self._filename)
ValueError: File /home/pi/.octoprint/uploads/Dino.gcode is not open for reading
2016-12-10 23:09:10,118 - octoprint.events - ERROR - Got an exception while sending event MetadataStatisticsUpdated (Payload: {'path': u'Dino.gcode', 'storage': 'local'}) to <bound method Printer._on_event_MetadataStatisticsUpdated of <octoprint.printer.standard.Printer object at 0x757b0170>>
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/events.py", line 151, in _work
listener(event, payload)
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/printer/standard.py", line 164, in _on_event_MetadataStatisticsUpdated
self._setJobData(self._selectedFile["filename"],
TypeError: 'NoneType' object has no attribute '__getitem__'
2016-12-10 23:09:10,143 - octoprint.events - ERROR - Got an exception while sending event MetadataStatisticsUpdated (Payload: {'path': u'Dino.gcode', 'storage': 'local'}) to <bound method Printer._on_event_MetadataStatisticsUpdated of <octoprint.printer.standard.Printer object at 0x757b0170>>
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/events.py", line 151, in _work
listener(event, payload)
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/printer/standard.py", line 164, in _on_event_MetadataStatisticsUpdated
self._setJobData(self._selectedFile["filename"],
TypeError: 'NoneType' object has no attribute '__getitem__'
2016-12-10 23:09:10,470 - octoprint.timelapse - WARNING - Cannot create a movie, no frames captured
2016-12-10 23:09:10,475 - octoprint.plugin - ERROR - Error while calling plugin slack
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/plugin/__init__.py", line 229, in call_plugin
result = getattr(plugin, method)(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_slack/__init__.py", line 98, in on_event
filename = os.path.basename(payload["file"])
KeyError: 'file'
2016-12-10 23:09:10,476 - octoprint.plugin - ERROR - Error while calling plugin stats
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/plugin/__init__.py", line 229, in call_plugin
result = getattr(plugin, method)(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stats/__init__.py", line 491, in on_event
file = os.path.basename(payload["file"])
KeyError: 'file'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment