[FEM] fix CCX (new framework) binary handling

- when the binary was not found, the function called the non-existing binary
- also push error message to the status info so that user gets feedback also when report view console is not shown
This commit is contained in:
Uwe
2022-07-17 03:07:50 +02:00
parent 8cd18ce93e
commit 6be3aef0e2
+3 -1
View File
@@ -115,7 +115,9 @@ class Solve(run.Solve):
self.pushStatus("Get solver binary...\n")
binary = settings.get_binary("Calculix")
if binary is None:
self.fail() # a print has been made in settings module
self.pushStatus("Error: The Calculix binary has not been found!")
self.fail()
return
# run solver
self._process = subprocess.Popen(