[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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user