Feko Student Edition 2018 - I can't simulate my project
Answers
-
Hello Pawel,
This is probably the same problem as described in:
The problem most likely that %APPDATA% points to a directory that uses a unicode (non-ASCII) character that we don't currently support. If you don't manage to fix the problem with the details on the forum topic mentioned, please attach the FEKOenvrionment.lua file so that we can help you (the path to the file is shown in your screenshot).
0 -
Hi JIF
I don't think that this is the same error because in my screenshoot is 66 line not 5. The erros can be related but not necessarily so I attach indicated by Feko file.
My license file is in security folder.
0 -
Hello Pawel
Sorry, I requested FEKOenvironment.lua, but that was a mistake on my side. I should have asked for FEKOenvironmentFromSetup.lua instead (located in the same folder).
Why?
Line 66 is the following:
setEnv('FEKO_USER_HOME', (getEnv('FEKO_USER_HOME__SETUP') or [[%APPDATA%\feko\%FEKO_VERSION%]]), OVERWRITE)
As you can see, the line is trying to set the value of FEKO_USER_HOME (where configuration settings and logs are stored) by either using the value of FEKO_USER_HOME__SETUP (set in FEKOenvironmentFromSetup.lua) or using the value of %APPDATA%. Thus, I need to see FEKOenvironmentFromSetup.lua to see if something is not correctly.
The alternative could be to change the line in FEKOenvironmentFromSetup.lua that sets FEKO_USER_HOME__SETUP to point to a folder that definitely does not contain unicode characters. Below is an example line that you can use instead of the one that you currently have in FEKOenvironmentFromSetup.lua (you may have to create the C:\temp folder).
setEnv([[FEKO_USER_HOME__SETUP]], [[c:\temp\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);
Let me know if this solves your problem. I hope it helps.
0 -
Here you are , this is the second file which you need.
Altair Forum User said:setEnv([[FEKO_USER_HOME__SETUP]], [[c:\temp\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);
this line is already in the attached file below
0 -
What is more I have no permission to change anything in the file, why ?
0 -
Thanks for the file.
Please change the file by replacing (line 2)
setEnv([[FEKO_USER_HOME__SETUP]], [[%APPDATA%\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);
with
setEnv([[FEKO_USER_HOME__SETUP]], [[c:\temp\feko\2018.0_]]..getEnv([[FEKO_INSTALLPATH_HASH__SETUP]]), true);
This will avoid the use of %APPDATA% that I suspect has a non-ASCII character in it (probably your user name on the PC includes a non-ASCII character).
Altair Forum User said:What is more I have no permission to change anything in the file, why ?
You have installed FEKO into the 'Program Files' folder (nothing wrong with that and it is the default) and Windows (not FEKO) requires admin rights to edit files in the 'Program Files' folder. I think that is what you are referring to when you say that you don't have permission to change the file.
0 -
-
Ok all works, I forgot add waveguide source.
Thank you JIF for help!!
0 -
I'm glad I could help. ;-)
0