From b04aff7d5ed5d1fc5ee4197a85ead52086418fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 28 Mar 2018 15:24:50 +0200 Subject: [PATCH 1/5] Fix command expansion for non-gcode commands --- src/octoprint/util/comm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 5bef1e859..b85ed72f1 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -2913,7 +2913,9 @@ class MachineCom(object): modified = True else: new_results.append((command, command_type, gcode, subcode, tags)) - modified = True + else: + new_results.append((command, command_type, gcode, subcode, tags)) + if modified: if not new_results: # gcode handler returned None or empty list for all commands, so we'll stop here and return a full out empty result From 822f757f9dfd180217d8ac6415aa4f1adb8a1d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Mar 2018 14:23:17 +0200 Subject: [PATCH 2/5] Ignore wait if job is on hold See #2524 --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index b85ed72f1..a82ad6950 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1543,7 +1543,7 @@ class MachineCom(object): handled = False # process oks - if line.startswith("ok") or (self.isPrinting() and supportWait and line == "wait"): + if line.startswith("ok") or (self.isPrinting() and not self.job_on_hold and supportWait and line == "wait"): # ok only considered handled if it's alone on the line, might be # a response to an M105 or an M114 self._handle_ok() From b8e7cfb506366380bae11ac7620d9f053d048aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Mar 2018 14:24:58 +0200 Subject: [PATCH 3/5] "Where to find versions" is not on the FAQ --- CONTRIBUTING.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f53f77f0a..861215f4d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -275,22 +275,11 @@ all requested information or your ticket will be closed. ### Where can I find which version and branch I'm on? -You can find out all of them by taking a look into the lower left corner of the -OctoPrint UI: - -![Current version and git branch info in OctoPrint's UI](http://i.imgur.com/HyHMlY2.png) - -If you don't have access to the UI you can find out that information via the -command line as well. Either `octoprint --version` or `python setup.py version` -in OctoPrint's folder will tell you the version of OctoPrint you are running -(note: if it doesn't then you are running a version older than 1.1.0, -*upgrade now*). A `git branch` in your OctoPrint installation folder will mark -the branch you are on with a little *. `git rev-parse HEAD` will tell you the -current commit. +Please refer to [this FAQ entry](https://discourse.octoprint.org/t/how-can-i-find-out-the-version-of-octoprint-or-octopi-i-am-running/204/1). ### Where can I find those log files you keep talking about? -Please refer to [this FAQ entry](https://discourse.octoprint.org/t/where-can-i-find-octoprints-log-files/299). +Please refer to [this FAQ entry](https://discourse.octoprint.org/t/where-can-i-find-octoprints-and-octopis-log-files/299/1). ### Where can I find my browser's error console? @@ -483,6 +472,7 @@ the local version identifier to allow for an exact determination of the active c * 2017-11-22: Added note on how to run the unit tests * 2018-03-15: Link to new community forum and some clarifications re bug reporting + * 2018-03-29: "Where to find version numbers" is now located on the FAQ ## Footnotes * [1] - If you are wondering why, the problem is that anything that you add From 9c5d996ea2b66a085392981a5e6e0ee341013674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Mar 2018 15:47:35 +0200 Subject: [PATCH 4/5] Preparing release of 1.3.7rc3 --- CHANGELOG.md | 8 ++++++++ SUPPORTERS.md | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a2ff8e6d..a1bb98327 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # OctoPrint Changelog +## 1.3.7rc3 (2018-03-29) + +### Bugfixes + + * [#2524](https://github.com/foosel/OctoPrint/issues/2524) Ignore `wait` while job is on hold. + +([Commits](https://github.com/foosel/OctoPrint/compare/1.3.7rc2...1.3.7rc3)) + ## 1.3.7rc2 (2018-03-23) ### Bugfixes diff --git a/SUPPORTERS.md b/SUPPORTERS.md index e204c181b..de67c9adb 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -10,7 +10,6 @@ thanks to everyone who contributed! * Aleph Objects, Inc. * Andrew Moorby * Arnljot Arntsen - * BEEVERYCREATIVE * Boris Hussein * Brad Jackson * Brian E. Tyler @@ -34,6 +33,7 @@ thanks to everyone who contributed! * Kazuhiro Ogura * Kodama Inc. * Makespace Madrid + * Mark Walker * Martin Beattie * Michael Aumock * Miles Flavel @@ -55,4 +55,4 @@ thanks to everyone who contributed! * Thomas Hatley * Trent Shumay -and 1199 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! \ No newline at end of file +and 1214 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel)! \ No newline at end of file From dbfe7fece104d7b48492e4c1b7f8845165c40101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 29 Mar 2018 16:58:55 +0200 Subject: [PATCH 5/5] staging/maintenance is now 1.3.7rc4.dev --- .versioneer-lookup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index eb84a45dd..dac4980c5 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -23,10 +23,10 @@ maintenance 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev fix/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev improve/.* 1.3.7 99e1c3ac007a0eee9d6f908e598c6b029f3ae40c pep440-dev -# staging/maintenance is currently the branch for preparation of 1.3.7rc3 +# staging/maintenance is currently the branch for preparation of 1.3.7rc4 # so is regressionfix/... -staging/maintenance 1.3.7rc3 339d1df5a920cc7a2dbae2b5f3410180fea4ceb0 pep440-dev -regressionfix/.* 1.3.7rc3 339d1df5a920cc7a2dbae2b5f3410180fea4ceb0 pep440-dev +staging/maintenance 1.3.7rc4 9c5d996ea2b66a085392981a5e6e0ee341013674 pep440-dev +regressionfix/.* 1.3.7rc4 9c5d996ea2b66a085392981a5e6e0ee341013674 pep440-dev # every other branch is a development branch and thus gets resolved to 1.4.0-dev for now .* 1.4.0 7f5d03d0549bcbd26f40e7e4a3297ea5204fb1cc pep440-dev