wmayer wrote:I don't know what you have changed but according to the commit link above the fix is pretty simple. Before running the ccx executable I save the current working directory (cwd) in a class variable "self.ccx" and then set it to the home directory. There the user should have write permission so that ccx shouldn't crash any more. As soon as ccx has finished I restore the old cwd.Maybe I should not expect it working in the releases/FreeCAD-0-15 branch? You guys have made a lot of changes to the FEM wb since then.
I only patched git commit e18796e to the releases/FreeCAD-0-15 branch. And the patch was not applied directly to the source, but done at building so the source was not changed in any way.sgrogan wrote:The error at the bottom of your code tag relates to the horizontal scroll bar. This was changed after 0.15.4761, it was vertical scroll bar in 0.15.4671. It looks like when you applied the patch it picked up some (but not all) code from a later commit.
But was there more changes to src/Mod/Fem/MechanicalAnalysis.py between the last commit in the releases/FreeCAD-0-15 branch (git commit 244b3ae) and the e18796e commit? If so that could explain the error.