gmsh works. Thanks for fast fixing.
Installation problems
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Veteran
- Posts: 3129
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Installation problems
-
- Posts: 6
- Joined: Mon Jul 27, 2020 9:26 am
Re: Installation problems
Having the same issue.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpg7uns5y1.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpyewu_xpc.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Dowés not matter if downloading from URL or local file. I did not try to reload windows at Safe Mode.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpg7uns5y1.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpyewu_xpc.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Dowés not matter if downloading from URL or local file. I did not try to reload windows at Safe Mode.
- oliveroxtoby
- Posts: 810
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Installation problems
brunofporto wrote: ↑Mon Jul 27, 2020 9:39 am Having the same issue.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpg7uns5y1.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpyewu_xpc.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Dowés not matter if downloading from URL or local file. I did not try to reload windows at Safe Mode.
Please provide all the information requested in this post before reporting problems with CfdOF.
-
- Posts: 6
- Joined: Mon Jul 27, 2020 9:26 am
Re: Installation problems
I did follow the installation instructions from the CFDOF readme and that is what happens when I get to the step of installing cfMesh and HiSA from the Preferences window.
(edit) ps.: just found what you mean, I'll try to gather the information that is missing and add.
(edit) ps.: just found what you mean, I'll try to gather the information that is missing and add.
-
- Posts: 6
- Joined: Mon Jul 27, 2020 9:26 am
Re: Installation problems
Error:
Aflter followinf README.md and click install cfMEsh or Install HiSA, from URL or local file the output shows:
About FreeCAD:
Aflter followinf README.md and click install cfMEsh or Install HiSA, from URL or local file the output shows:
Report View:Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmpm3wal8s5.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Python Console: Nothing shows.Running echo $WM_PROJECT_USER_DIR
Raw command: ['C:/Program Files/FreeCAD 0.18/bin\\python.exe', '-u', 'C:\\Users\\Omnidea\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'powershell.exe', 'docker-machine.exe start default; docker-machine.exe env --shell powershell default | Invoke-Expression; docker start of_2006; docker exec --privileged of_2006 bash -c "su -c \'echo `$WM_PROJECT_USER_DIR\' -l ofuser"']
Starting "default"...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(default) Waiting for an IP...
Machine "default" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Error response from daemon: No such container: of_2006
Error: failed to start containers: of_2006
Error: No such container: of_2006
Traceback (most recent call last):
File "C:\Users\Omnidea\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdPreferencePage.py", line 350, in run
self.downloadCfMesh()
File "C:\Users\Omnidea\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdPreferencePage.py", line 413, in downloadCfMesh
self.user_dir = CfdTools.runFoamCommand("echo $WM_PROJECT_USER_DIR").rstrip().split('\n')[-1]
File "C:\Users\Omnidea\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdTools.py", line 635, in runFoamCommand
raise subprocess.CalledProcessError(exit_code, cmdline)
subprocess.CalledProcessError: Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Group icon for preferences-cfdof is not of size 96x96
Running echo $WM_PROJECT_USER_DIR
Raw command: ['C:/Program Files/FreeCAD 0.18/bin\\python.exe', '-u', 'C:\\Users\\Omnidea\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'powershell.exe', 'docker-machine.exe start default; docker-machine.exe env --shell powershell default | Invoke-Expression; docker start of_2006; docker exec --privileged of_2006 bash -c "su -c \'echo `$WM_PROJECT_USER_DIR\' -l ofuser"']
Starting "default"...
Machine "default" is already running.
Error response from daemon: No such container: of_2006
Error: failed to start containers: of_2006
Error: No such container: of_2006
Traceback (most recent call last):
File "C:\Users\Omnidea\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdPreferencePage.py", line 350, in run
self.downloadCfMesh()
File "C:\Users\Omnidea\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdPreferencePage.py", line 413, in downloadCfMesh
self.user_dir = CfdTools.runFoamCommand("echo $WM_PROJECT_USER_DIR").rstrip().split('\n')[-1]
File "C:\Users\Omnidea\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdTools.py", line 635, in runFoamCommand
raise subprocess.CalledProcessError(exit_code, cmdline)
subprocess.CalledProcessError: Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
About FreeCAD:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
- oliveroxtoby
- Posts: 810
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Installation problems
It looks like a problem with the OpenFOAM installation.brunofporto wrote: ↑Mon Jul 27, 2020 11:32 am Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Error response from daemon: No such container: of_2006
Error: failed to start containers: of_2006
Error: No such container: of_2006
A few people seem to be experiencing this so any feedback on your findings would be appreciated.oliveroxtoby wrote: ↑Tue Jan 15, 2019 8:51 pm [*] Please ensure that OpenFOAM is correctly installed before reporting an issue with CfdOF. In Windows, CfdOF provides an installation link to the ESI-OpenCFD Docker package for convenience. However, any issues with this installation are outside the control of the CfdOF workbench. Please follow the troubleshooting advice at the OpenFOAM installation page and ensure you are able to run the tutorial case mentioned there before you report an issue with CfdOF. While we have changed the default installer to the ESI-OpenCFD Docker image in Windows, BlueCFD-Core is still supported by CfdOF and can be used as a fallback in case of problems with the Docker image.
-
- Posts: 6
- Joined: Mon Jul 27, 2020 9:26 am
Re: Installation problems
Thanksoliveroxtoby wrote: ↑Mon Jul 27, 2020 11:53 am A few people seem to be experiencing this so any feedback on your findings would be appreciated.
I downloaded from the link inside preferences, but installed OpenFoam directly from the downloaded link with FreeCAD closed. Then I selected the installation folder manually.
I'll uninstall it and try again directly from CFDOF preferences interface inside FreeCAD. Anything I could do to have more information to help or only the Report view and Python console is enough?
-
- Posts: 6
- Joined: Mon Jul 27, 2020 9:26 am
Re: Installation problems
During installation directly from FreeCAD interface, during the powershell.exe part, this message appears in red. The same message showed during the past installation too:
The instalation finished without warnings and the output from Preferences shows only:Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
a policy defined at a more specific scope. Due to the override, your shell will retain its current effective
execution policy of Bypass. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more
information please see "Get-Help Set-ExecutionPolicy".
At C:\Program Files (x86)\ESI\OpenFOAM\v2006\Windows\Scripts\of_install_image.ps1:34 char:1
+ Set-ExecutionPolicy Unrestricted -Scope CurrentUser
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
+ FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
After that I restarted FreeCAD. Tried to install cfMesh and had the same error, same messages from previus Report.Downloading OpenFOAM, please wait...
OpenFOAM downloaded to C:\Users\Omnidea\AppData\Local\Temp\tmp5xv5hb7m.exe
OpenFOAM installer launched - please complete the installation
NB: OF_Env_Create desktop shortcut must be run after installation
- oliveroxtoby
- Posts: 810
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Installation problems
There seems to be some permissions issue. This is probably an issue with the OpenFOAM installation and nothing to do with FreeCAD or CfdOF. What we need is for someone to debug this because I am not able to reproduce this problem on my machine. What I was asking is if you can please go through the OpenFOAM installation and testing totally separate from CfdOF and get that working before you try CfdOF. If you could walk through the troubleshooting described at https://www.openfoam.com/download/insta ... indows.php that would be great. Please check if you can run the tutorial case mentinned there before you even try CfdOF.brunofporto wrote: ↑Mon Jul 27, 2020 1:38 pm During installation directly from FreeCAD interface, during the powershell.exe part, this message appears in red. The same message showed during the past installation too:
Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
a policy defined at a more specific scope. Due to the override, your shell will retain its current effective
execution policy of Bypass. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more
information please see "Get-Help Set-ExecutionPolicy".
At C:\Program Files (x86)\ESI\OpenFOAM\v2006\Windows\Scripts\of_install_image.ps1:34 char:1
+ Set-ExecutionPolicy Unrestricted -Scope CurrentUser
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
+ FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
-
- Posts: 6
- Joined: Mon Jul 27, 2020 9:26 am
Re: Installation problems
Thank you. Will do ASAP. Any special way or tip to register the information in order to be useful to you here?