From 765dc6d86aef41da645bc36fc4e906d80c838acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Tue, 16 Jul 2019 08:06:05 +0200 Subject: [PATCH] catch tcl-exception --- python/gui.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/gui.py b/python/gui.py index 35fa1f34..959b2fd3 100644 --- a/python/gui.py +++ b/python/gui.py @@ -19,4 +19,8 @@ def StartGUI(): pass if not netgen.libngpy._meshing._netgen_executable_started: - StartGUI() + # catch exception for building html docu on server without display + try: + StartGUI() + except: + pass