FEM 0.20 Release on MAC Calculix issue

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
Lucax
Posts: 3
Joined: Thu Aug 04, 2022 10:19 am

FEM 0.20 Release on MAC Calculix issue

Post by Lucax »

Hi
as per topic I got the below when trying Calculix on 0.20 release.
Not had this problem before.
Happen on both Intel and M1


CalculiX solver run...
12:17:02 Running the Python command 'FEM_SolverRun' failed:
Traceback (most recent call last):
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Fem/femcommands/commands.py", line 1053, in Activated
run_fem_solver(self.selobj)
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Fem/femsolver/run.py", line 108, in run_fem_solver
fea.run() # standard, no working dir is given in solver
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Fem/femtools/ccxtools.py", line 665, in run
ret_code = self.ccx_run()
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Fem/femtools/ccxtools.py", line 603, in ccx_run
progress_bar = FreeCAD.Base.ProgressIndicator()

cannot create 'N4Base19ProgressIndicatorPyE' instances


thanks for the help
Luca
Lucax
Posts: 3
Joined: Thu Aug 04, 2022 10:19 am

Re: FEM 0.20 Release on MAC Calculix issue

Post by Lucax »

Hi
I found a workaround, not sure is the right one and not sure how to tell to developers...I post here, let me know if not the right place:

I commented the lines below since not interested in the progress bar and it worked (from raw 603)

# progress_bar = FreeCAD.Base.ProgressIndicator()
# progress_bar.start("Everything seams fine. CalculiX ccx will be executed ...", 0)
ret_code = self.start_ccx()
self.finished.emit(ret_code)
# progress_bar.stop()
if ret_code or self.ccx_stderr:


BR
Luca
Lucax
Posts: 3
Joined: Thu Aug 04, 2022 10:19 am

Re: FEM 0.20 Release on MAC Calculix issue

Post by Lucax »

Hi
I found a workaround, not sure is the right one and not sure how to tell to developers...I post here, let me know if not the right place:

I commented the lines below since not interested in the progress bar and it worked (from raw 603)

# progress_bar = FreeCAD.Base.ProgressIndicator()
# progress_bar.start("Everything seams fine. CalculiX ccx will be executed ...", 0)
ret_code = self.start_ccx()
self.finished.emit(ret_code)
# progress_bar.stop()
if ret_code or self.ccx_stderr:


BR
Luca
Post Reply