You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11:33:41 Traceback (most recent call last):
File "C:/Users/Lenovo/AppData/Roaming/FreeCAD/Macro/DesignSPHysics.FCMacro", line 31, in
from mod.main import boot # pylint: disable=wrong-import-position
File "C:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in import
return original_import(name, *args, **kwargs)
File "C:\Program Files\FreeCAD 0.21\Mod\DesignSPHysics\mod\main.py", line 17, in
from mod.constants import APP_NAME, VERSION, REVISION, DEFAULT_WORKBENCH, GITHUB_MASTER_CONSTANTS_URL,
File "C:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature.py", line 142, in import
return original_import(name, *args, **kwargs)
File "C:\Program Files\FreeCAD 0.21\Mod\DesignSPHysics\mod\constants.py", line 6, in
from mod.enums import FreeCADObjectType
File "C:\Program Files\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Program Files\FreeCAD 0.21\Mod\DesignSPHysics\mod\enums.py", line 338, in
class HelpText:
File "C:\Program Files\FreeCAD 0.21\Mod\DesignSPHysics\mod\enums.py", line 387, in HelpText
YINCREMENTX = __("")
File "C:\Program Files\FreeCAD 0.21\Mod\DesignSPHysics\mod\tools\translation_tools.py", line 36, in __
with open(filename, "w", encoding="utf-8") as f:
<class 'PermissionError'>: [Errno 13] Permission denied: 'C:\Program Files\FreeCAD 0.21\Mod\DesignSPHysics\mod/lang/english.json'
Could anyone please help me how to solve this issue? I have tried several versions of FreeCAD, and in particular, the latest version, FreeCAD 1.1, shows no response when the macro is activated. I hope the team can update the code to work with version 1.1.
I tried installing Freecad in the APPDATA folder, but this error appeared:
"11:47:20 Traceback (most recent call last):
File "C:/Users/Lenovo/AppData/Roaming/FreeCAD/Macro/DesignSPHysics.FCMacro", line 31, in
from mod.main import boot # pylint: disable=wrong-import-position
File "C:\Users\Lenovo\AppData\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'mod'"
Activity
CreasarZ commentedon Apr 28, 2026
I tried installing Freecad in the APPDATA folder, but this error appeared:
"11:47:20 Traceback (most recent call last):
File "C:/Users/Lenovo/AppData/Roaming/FreeCAD/Macro/DesignSPHysics.FCMacro", line 31, in
from mod.main import boot # pylint: disable=wrong-import-position
File "C:\Users\Lenovo\AppData\FreeCAD 0.21\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'mod'"
elewis-svs commentedon May 14, 2026
Same issue here:
14:41:29 pyException: Traceback (most recent call last):
File "C:/Users/[USER]/AppData/Roaming/FreeCAD/Macro/DesignSPHysics.FCMacro", line 31, in
from mod.main import boot # pylint: disable=wrong-import-position
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\FreeCAD 1.0\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<class 'ModuleNotFoundError'>: No module named 'mod'
elewis-svs commentedon May 14, 2026
I figured it out, I had forgotten to add the designsphysics folder to the "Mod" folder in FreeCAD
imestevez commentedon Jun 10, 2026
It is already compatible with FreeCAD v1.1
luzpaz commentedon Jun 13, 2026
Why are you still using FreeCAD v0.21 ?