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