From 7488573b66cfb9468f6d98d66186719ab4dbfc86 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 5 Jun 2018 07:30:55 +0200 Subject: [PATCH] FEM: ccx binary, better error message if ccx binary exists but has problems to run, seen a lot on osx --- src/Mod/Fem/femtools/ccxtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Fem/femtools/ccxtools.py b/src/Mod/Fem/femtools/ccxtools.py index 405124c680..d272b3ed98 100644 --- a/src/Mod/Fem/femtools/ccxtools.py +++ b/src/Mod/Fem/femtools/ccxtools.py @@ -619,7 +619,7 @@ class FemToolsCcx(QtCore.QRunnable, QtCore.QObject): raise Exception(error_message) except Exception as e: FreeCAD.Console.PrintError(str(e)) - error_message = "FEM: CalculiX ccx \'{}\' output \'{}\' doesn't contain expected phrase \'{}\'. Please use ccx 2.6 or newer\n".format(ccx_binary, ccx_stdout, ccx_binary_sig) + error_message = "FEM: CalculiX ccx \'{}\' output \'{}\' doesn't contain expected phrase \'{}\'. There are some problems in runing the binary of ccx. Check if ccx runs standalone without FreeCAD.\n".format(ccx_binary, ccx_stdout, ccx_binary_sig) if FreeCAD.GuiUp: QtGui.QMessageBox.critical(None, error_title, error_message) raise Exception(error_message)