diff --git a/src/octoprint/printer.py b/src/octoprint/printer.py index c675d9662..b51eaf0b0 100644 --- a/src/octoprint/printer.py +++ b/src/octoprint/printer.py @@ -435,7 +435,7 @@ class Printer(): self._stateMonitor.setJobData({ "file": { - "name": os.path.basename(filename), + "name": os.path.basename(filename) if filename is not None else None, "origin": FileDestinations.SDCARD if sd else FileDestinations.LOCAL, "size": filesize, "date": date diff --git a/src/octoprint/static/js/app/main.js b/src/octoprint/static/js/app/main.js index ab23d9e7d..ba24a4609 100644 --- a/src/octoprint/static/js/app/main.js +++ b/src/octoprint/static/js/app/main.js @@ -403,9 +403,6 @@ $(function() { firstRunViewModel.showDialog(); } - var html = "

Rendering of timelapse someTimelapse.mpg failed with return code someReturnCode

"; - html += pnotifyAdditionalInfo('
some Error\nwith\nsome\nlines
'); - new PNotify({title: "Rendering failed", text: html, type: "error", hide: false}); } ); diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 1c0f49d99..42c39624b 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -665,7 +665,7 @@ class MachineCom(object): t = time.time() self._heatupWaitTimeLost = t - self._heatupWaitStartTime self._heatupWaitStartTime = t - elif supportRepetierTargetTemp: + elif supportRepetierTargetTemp and ('TargetExtr' in line or 'TargetBed' in line): matchExtr = self._regex_repetierTempExtr.match(line) matchBed = self._regex_repetierTempBed.match(line)