From: Youness Alaoui Date: Thu, 8 Jan 2015 20:01:23 +0000 (-0500) Subject: Do not print slicer log in case of error X-Git-Tag: lulzbot-15.02.1-1.01~75^2~4^2~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=992665280f8e5698b8b07d93a54d2794e27bb053;p=cura.git 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 --- 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