chiark / gitweb /
Do not print slicer log in case of error
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 8 Jan 2015 20:01:23 +0000 (15:01 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 8 Jan 2015 20:01:23 +0000 (15:01 -0500)
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

index d01994aecb0f04254fb58243a0ed4ab5093af831..e1834362791d85a725ec08caa93ff68b4d1ebbd7 100644 (file)
@@ -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