Error when installing cfmesh
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Error when installing cfmesh
Hi,
I have installed a "new" PC with a clean windows 10 64bit and downloaded the latest development snapschot and now I wantto install cfdOF WB but while I'm trying to install cfmesh, continuously get the error seen in the image (attached)
I'm not shure if this error is because my windows installation or if it has other reasons.
Reportview is also attached!
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15536 (Git)
Build type: Release
Branch: master
Hash: 98ebeaa198df945ba666c15912c6caf95920f0ef
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
I have installed a "new" PC with a clean windows 10 64bit and downloaded the latest development snapschot and now I wantto install cfdOF WB but while I'm trying to install cfmesh, continuously get the error seen in the image (attached)
I'm not shure if this error is because my windows installation or if it has other reasons.
Reportview is also attached!
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15536 (Git)
Build type: Release
Branch: master
Hash: 98ebeaa198df945ba666c15912c6caf95920f0ef
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
- Attachments
-
- report-view.txt
- (355.61 KiB) Downloaded 105 times
-
- cfmesh.JPG (47.8 KiB) Viewed 4029 times
-
- Veteran
- Posts: 3129
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Error when installing cfmesh
Fresh clean window, 64 bit .. and cfdof does not work!shIxx wrote: ↑Sat Jan 05, 2019 6:45 pm Hi,
I have installed a "new" PC with a clean windows 10 64bit and downloaded the latest development snapschot and now I wantto install cfdOF WB but while I'm trying to install cfmesh, continuously get the error seen in the image (attached)
I'm not shure if this error is because my windows installation or if it has other reasons.
Reportview is also attached!
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15536 (Git)
Build type: Release
Branch: master
Hash: 98ebeaa198df945ba666c15912c6caf95920f0ef
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
Do your work..kannst mal deine birne einschalten!
- oliveroxtoby
- Posts: 812
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Error when installing cfmesh
It looks as though there is a permission issue writing to the blueCFD folder in Program Files. Try running FreeCAD as administrator (right-click on the icon and choose Run as Administrator) and re-try the installation, or alternatively re-install BlueCFD in a location where you have write permissions.shIxx wrote: ↑Sat Jan 05, 2019 6:45 pm Hi,
I have installed a "new" PC with a clean windows 10 64bit and downloaded the latest development snapschot and now I wantto install cfdOF WB but while I'm trying to install cfmesh, continuously get the error seen in the image (attached)
I'm not shure if this error is because my windows installation or if it has other reasons.
Reportview is also attached!
Please provide all the information requested in this post before reporting problems with CfdOF.
Re: Error when installing cfmesh
Hi Oliver,oliveroxtoby wrote: ↑Mon Jan 07, 2019 6:40 am It looks as though there is a permission issue writing to the blueCFD folder in Program Files. Try running FreeCAD as administrator (right-click on the icon and choose Run as Administrator) and re-try the installation,
I have already tried "right-click" and "Run as Administrator" without success. It's weird because I'm the only user and this user (thoma) is administrator.
What I have tried next is to create a new user with administrator permissions and try to install cfmesh from there, even without success.
It seems that not FreeCAD is missing the write permission but mkdir (see screenshot). And that the program can not open the folder is because these folders does not exist (2. screenshot). They does't exists even in C:\\ProgramFiles\blueCFD\.... or in the downloaded zip from sourceforge.
I want to avoid that if possibleor alternatively re-install BlueCFD in a location where you have write permissions.
BTW:
I set up my computer a long time ago and accidentally mistyped thoma (without s) as user name. Unfortunately, I no longer have the product key and install Windows from an image on an USB-stick. Then I log in with my Microsoft account and it takes over my licence,.. everything wonderful, but it takes over the old folder name also. Its not important but is there no way to change this?
- Attachments
-
- permisison-denied.JPG (197.95 KiB) Viewed 3964 times
-
- folders-not-exist.JPG (889.89 KiB) Viewed 3964 times
-
- Veteran
- Posts: 3129
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Error when installing cfmesh
I cant change your license.shIxx wrote: ↑Mon Jan 07, 2019 12:15 pm I set up my computer a long time ago and accidentally mistyped thoma (without s) as user name. Unfortunately, I no longer have the product key and install Windows from an image on an USB-stick. Then I log in with my Microsoft account and it takes over my licence,.. everything wonderful, but it takes over the old folder name also. Its not important but is there no way to change this?
Are you interested in cfd?
Show a sreenshot!
Do you respect the work wich is done here? Honey.
- oliveroxtoby
- Posts: 812
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Error when installing cfmesh
The errors you show are actually normal and nothing to worry about. The following error message in your log file is the problem:shIxx wrote: ↑Mon Jan 07, 2019 12:15 pm Hi Oliver,
I have already tried "right-click" and "Run as Administrator" without success. It's weird because I'm the only user and this user (thoma) is administrator.
What I have tried next is to create a new user with administrator permissions and try to install cfmesh from there, even without success.
It seems that not FreeCAD is missing the write permission but mkdir (see screenshot). And that the program can not open the folder is because these folders does not exist (2. screenshot). They does't exists even in C:\\ProgramFiles\blueCFD\.... or in the downloaded zip from sourceforge.
Code: Select all
cc1plus.exe: fatal error: can't open 'C:\PROGRA~1\BLUECF~1\ofuser-of5\cfmesh-cfdof\meshLibrary\Make\mingw_w64GccDPInt32Opt\tempDir\cceXUkwF.s' for writing: Permission denied
Code: Select all
cd blueCFD/ofuser-of5
./buildCfMeshOnBlueCFD.sh
Other than that, my only other advice remains to re-install BlueCFD in another location.
Please let us know when you manage to resolve this as it might help others.I want to avoid that if possibleor alternatively re-install BlueCFD in a location where you have write permissions.
Please provide all the information requested in this post before reporting problems with CfdOF.
Re: Error when installing cfmesh
Yes I get the same error when I try a manual build in the core terminal
This worked for me. I don't know why but cfdMesh and HISA is installed successfully now. Could this maby bacause I switchet from HDD to SSD?
I'm not an IT man so may this is stupid but could it be possible that somehow a few bits on the SSD are broken or something like that?
I know that heat transfer is planed an I can't wait. Many thanks for this.
Is it also planned to implement a LES model? I think many people would be happy about that
@thschrader
Yes, I respect the work very much! I like FreeCAD and especially the cfdOF WB and I thank everyone who works on it for free and gives help and support in this forum.
What's your problem? If you don't want to help then just ignore this thread!
Now I installed BlueCFD directly in C: and set C:\blueCFD-Core-2017\OpenFOAM-5.x as install directory in FreeCAD.oliveroxtoby wrote: ↑Wed Jan 09, 2019 6:40 am If you are running as administrator, then I don't know why there would be a permission problem. To build it manually, you can try running blueCFD-Core terminal from the start menu and typeand see if you get the same error.Code: Select all
cd blueCFD/ofuser-of5 ./buildCfMeshOnBlueCFD.sh
This worked for me. I don't know why but cfdMesh and HISA is installed successfully now. Could this maby bacause I switchet from HDD to SSD?
I'm not an IT man so may this is stupid but could it be possible that somehow a few bits on the SSD are broken or something like that?
Offtopic: @oliveroxtoby:oliveroxtoby wrote: ↑Wed Jan 09, 2019 6:40 am Other than that, my only other advice remains to re-install BlueCFD in another location.Please let us know when you manage to resolve this as it might help others.I want to avoid that if possibleor alternatively re-install BlueCFD in a location where you have write permissions.
I know that heat transfer is planed an I can't wait. Many thanks for this.
Is it also planned to implement a LES model? I think many people would be happy about that
@thschrader
Yes, I respect the work very much! I like FreeCAD and especially the cfdOF WB and I thank everyone who works on it for free and gives help and support in this forum.
What's your problem? If you don't want to help then just ignore this thread!
Do your work..kannst mal deine birne einschalten!
I cant change your license.
Are you interested in cfd?
Show a sreenshot!
Do you respect the work wich is done here? Honey.
Last edited by shIxx on Wed Jan 09, 2019 1:14 pm, edited 5 times in total.
Re: Error when installing cfmesh
Just to make my standpoint clear, I detest Windows 10 with a passion (I spent 20 years in IT Support and Problem Management) thereby giving the reason for me using Windows 7. I am of the firm belief that the root cause of your original issue is User Access Control, which even if you are an Administrator and the specific user who carried out the initial installation, takes a higher security priority hence will not allow any process to change/delete in C:\Program Files or the x86 equivalent unless Microsoft have it on their 'list' or you have completely disabled UAC using a registry key which can be found through Google quite easily.
All my non-Microsoft products get installed in E:\My Progs\ or in the case of FreeCAD daily, E:\Data\My Downloads\ which I recommend to anyone locally who is interested in FreeCAD, Cura, Blender etc. Due to these folders not being part of UAC it never interferes with them and therefore I can take that out of any diagnosis when I get bugs/issues.
As Oliver says, I really hope my explanation will be of use to others who come across this in the future.
All my non-Microsoft products get installed in E:\My Progs\ or in the case of FreeCAD daily, E:\Data\My Downloads\ which I recommend to anyone locally who is interested in FreeCAD, Cura, Blender etc. Due to these folders not being part of UAC it never interferes with them and therefore I can take that out of any diagnosis when I get bugs/issues.
As Oliver says, I really hope my explanation will be of use to others who come across this in the future.
- oliveroxtoby
- Posts: 812
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Error when installing cfmesh
Thanks for the feedback. I'll add a note in the Readme. @Syres seems to have given us the answer, though it's strange that it only seems to affect a few people.shIxx wrote: ↑Wed Jan 09, 2019 12:19 pm Now I installed BlueCFD directly in C: and set C:\blueCFD-Core-2017\OpenFOAM-5.x as install directory in FreeCAD.
This worked for me. I don't know why but cfdMesh and HISA is installed successfully now. Could this maby bacause I switchet from HDD to SSD?
I'm not an IT man so may this is stupid but could it be possible that somehow a few bits on the SSD are broken or something like that?
At some point hopefully. If you're familiar with how to set it up in OpenFOAM, it would be pretty easy to extend the workbench.Offtopic: @oliveroxtoby:
I know that heat transfer is planed an I can't wait. Many thanks for this.
Is it also planned to implement a LES model? I think many people would be happy about that
Please provide all the information requested in this post before reporting problems with CfdOF.
- oliveroxtoby
- Posts: 812
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Error when installing cfmesh
Ah, thank you! Thought it was something like this, but oddly it never came up in my own testing. I'll add a cautionary note to the Readme.Syres wrote: ↑Wed Jan 09, 2019 12:51 pm Just to make my standpoint clear, I detest Windows 10 with a passion (I spent 20 years in IT Support and Problem Management) thereby giving the reason for me using Windows 7. I am of the firm belief that the root cause of your original issue is User Access Control, which even if you are an Administrator and the specific user who carried out the initial installation, takes a higher security priority hence will not allow any process to change/delete in C:\Program Files or the x86 equivalent unless Microsoft have it on their 'list' or you have completely disabled UAC using a registry key which can be found through Google quite easily.
All my non-Microsoft products get installed in E:\My Progs\ or in the case of FreeCAD daily, E:\Data\My Downloads\ which I recommend to anyone locally who is interested in FreeCAD, Cura, Blender etc. Due to these folders not being part of UAC it never interferes with them and therefore I can take that out of any diagnosis when I get bugs/issues.
As Oliver says, I really hope my explanation will be of use to others who come across this in the future.
Please provide all the information requested in this post before reporting problems with CfdOF.