From 992665280f8e5698b8b07d93a54d2794e27bb053 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 8 Jan 2015 15:01:23 -0500 Subject: [PATCH] Do not print slicer log in case of error This causes the xsession-errors file on linux to quickly fill up in some cases, so it's better not to show it. Fixes issue #45 --- Cura/util/sliceEngine.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index d01994ae..e1834362 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -399,8 +399,10 @@ class Engine(object): self._result.setFinished(True) self._callback(1.0) else: - for line in self._result.getLog(): - print line + # We do not print the slicer log because it can quickly fill up + # the .xsession-errors file if cura gets launched from the WM on Linux + #for line in self._result.getLog(): + # print line self._callback(-1.0) self._process = None -- 2.30.2