From 95f711c49c63425fce23c695b0f20b68fa39552f Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 2 Jan 2015 03:13:58 -0500 Subject: [PATCH] Skip displaying the 'No line number with checksum' error to the print window This commit partially fixes issue #66 --- Cura/util/machineCom.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index c09adb36..fbe609c2 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -395,7 +395,10 @@ class MachineCom(object): t = time.time() self._heatupWaitTimeLost = t - self._heatupWaitStartTime self._heatupWaitStartTime = t - elif line.strip() != '' and line.strip() != 'ok' and not line.startswith('Resend:') and not line.startswith('Error:checksum mismatch') and not line.startswith('Error:Line Number is not Last Line Number+1') and line != 'echo:Unknown command:""\n' and self.isOperational(): + elif line.strip() != '' and line.strip() != 'ok' and not line.startswith('Resend:') and \ + not line.startswith('Error:checksum mismatch') and not line.startswith('Error:Line Number is not Last Line Number+1') and \ + not line.startswith('Error:No Checksum with line number') and not line.startswith('Error:No Line Number with checksum') and \ + line != 'echo:Unknown command:""\n' and self.isOperational(): self._callback.mcMessage(line) if self._state == self.STATE_DETECT_BAUDRATE or self._state == self.STATE_DETECT_SERIAL: -- 2.30.2