Hello.
I'm sorry, the question is probably stupid. And it may have already been discussed earlier.
But I couldn't find anything similar to such an error.
And I am sorry, my English may be not very good.
I installed FreeCFD, the CfdOF plugin for it and then installed the dependencies through the plugin menu.
In accordance with this manual, the windows section
https://github.com/jaheyns/CfdOF
Operating system windows 10 x64
I have error during dependency check.
Code: Select all
Checking for gmsh:
12:53:06 C:/Program Files/FreeCAD 0.19/bin/gmsh.exe
12:53:06 Running 'C:/Program Files/FreeCAD 0.19/bin/gmsh.exe' -version
12:53:06 Raw command: ['C:/Program Files/FreeCAD 0.19/bin\\python.exe', '-u', 'C:\\Users\\79031\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\Program Files\\ESI-OpenCFD\\OpenFOAM\\v2012\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', "echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; 'C:/Program Files/FreeCAD 0.19/bin/gmsh.exe' -version"]
12:53:06 Sourcing OpenFOAM environment...
12:53:06 openfoam: windows support (mingw64) is runtime only
12:56:39 4.8.3
12:56:39 Traceback (most recent call last):
12:56:39 File "C:\Users\79031\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdPreferencePage.py", line 219, in runDependencyChecker
12:56:39 msg = CfdTools.checkCfdDependencies()
12:56:39 File "C:\Users\79031\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdTools.py", line 1042, in checkCfdDependencies
12:56:39 if int(versionlist[0]) < 2 or (int(versionlist[0]) == 2 and int(versionlist[1]) < 13):
12:56:39 ValueError: invalid literal for int() with base 10: 'environment'
What could have caused the error?
Output from FreeCAD report window:
Code: Select all
12:47:45 Checking CFD workbench dependencies...
12:47:45 Checking FreeCAD version
12:47:45 Checking for OpenFOAM:
12:47:45 OpenFOAM directory: C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012
12:47:45 System: Windows
12:47:45 Runtime: MinGW
12:47:45 Running echo $FOAM_API
12:47:45 Raw command: ['C:/Program Files/FreeCAD 0.19/bin\\python.exe', '-u', 'C:\\Users\\79031\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\Program Files\\ESI-OpenCFD\\OpenFOAM\\v2012\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; echo $FOAM_API']
12:47:45 Sourcing OpenFOAM environment...
12:47:45 openfoam: windows support (mingw64) is runtime only
12:49:03 2012
12:49:03 Running cartesianMesh -version
12:49:06 Raw command: ['C:/Program Files/FreeCAD 0.19/bin\\python.exe', '-u', 'C:\\Users\\79031\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\Program Files\\ESI-OpenCFD\\OpenFOAM\\v2012\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; cartesianMesh -version']
12:49:06 Sourcing OpenFOAM environment...
12:49:06 openfoam: windows support (mingw64) is runtime only
12:50:29 /*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 79e353b84e-20201222 OPENFOAM=2012
Arch : "LSB;label=32;scalar=64"
Exec : C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012\msys64\home\ofuser\OpenFOAM\OpenFOAM-v2012\platforms\win64MingwDPInt32Opt\bin\cartesianMesh.exe -version
Date : Jul 22 2021
Time : 12:50:29
Host : LAPTOP-BNTPSAF1
PID : 5352
I/O : uncollated
Case : C:/Program Files/ESI-OpenCFD/OpenFOAM/v2012/msys64/home/ofuser
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cfMesh-CfdOF (cfMesh 1.1.2) 1.8
12:50:29 Running hisa -version
12:50:32 Raw command: ['C:/Program Files/FreeCAD 0.19/bin\\python.exe', '-u', 'C:\\Users\\79031\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\Program Files\\ESI-OpenCFD\\OpenFOAM\\v2012\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; hisa -version']
12:50:32 Sourcing OpenFOAM environment...
12:50:33 openfoam: windows support (mingw64) is runtime only
12:52:51 /*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 79e353b84e-20201222 OPENFOAM=2012
Arch : "LSB;label=32;scalar=64"
Exec : C:\Program Files\ESI-OpenCFD\OpenFOAM\v2012\msys64\home\ofuser\OpenFOAM\OpenFOAM-v2012\platforms\win64MingwDPInt32Opt\bin\hisa.exe -version
Date : Jul 22 2021
Time : 12:52:51
Host : LAPTOP-BNTPSAF1
PID : 16084
I/O : uncollated
Case : C:/Program Files/ESI-OpenCFD/OpenFOAM/v2012/msys64/home/ofuser
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations
12:52:51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
hisa 1.4.2
12:52:52 Checking for paraview:
12:53:06 Checking for Plot workbench:
12:53:06 Checking for gmsh:
12:53:06 C:/Program Files/FreeCAD 0.19/bin/gmsh.exe
12:53:06 Running 'C:/Program Files/FreeCAD 0.19/bin/gmsh.exe' -version
12:53:06 Raw command: ['C:/Program Files/FreeCAD 0.19/bin\\python.exe', '-u', 'C:\\Users\\79031\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\Program Files\\ESI-OpenCFD\\OpenFOAM\\v2012\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', "echo Sourcing OpenFOAM environment...; source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc; export PATH=$FOAM_LIBBIN/msmpi:$FOAM_LIBBIN:$WM_THIRD_PARTY_DIR/platforms/linux64MingwDPInt32/lib:$PATH; 'C:/Program Files/FreeCAD 0.19/bin/gmsh.exe' -version"]
12:53:06 Sourcing OpenFOAM environment...
12:53:06 openfoam: windows support (mingw64) is runtime only
12:56:39 4.8.3
12:56:39 Traceback (most recent call last):
12:56:39 File "C:\Users\79031\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdPreferencePage.py", line 219, in runDependencyChecker
12:56:39 msg = CfdTools.checkCfdDependencies()
12:56:39 File "C:\Users\79031\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdTools.py", line 1042, in checkCfdDependencies
12:56:39 if int(versionlist[0]) < 2 or (int(versionlist[0]) == 2 and int(versionlist[1]) < 13):
12:56:39 ValueError: invalid literal for int() with base 10: 'environment'