[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 01:28:54 +02:00
parent 3a993abfb4
commit da104f63b7

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(