6 December 2021 at 14:36 #21059
has anybody checked the compatibility of the newest SOFA Version v21.06 with SOFAPYTHON3 on Windows 11?
I am using the binary zip Version of SOFA. I have set the environmental variables according to the documentation of the plugin (as I did on my Win10 machine, where everything is working properly). I get the “permission denied” error, when doing so.
Serkan6 December 2021 at 16:26 #21062
As we discussed a bit earlier, I do not know anyone who have tested it so far.
The permission problem sounds more related to the rights on your machine than to a real install issue. Have you made progress on this?
Hugo7 December 2021 at 11:03 #21071
[INFO] [PluginManager] Loaded plugin: C:/Users/Serkan Ergun/Documents/SOFA/v21.06.02/bin/SofaMiscCollision.dll [INFO] [PluginManager] Loaded plugin: C:/Users/Serkan Ergun/Documents/SOFA/v21.06.02/bin/CImgPlugin.dll [INFO] [PluginManager] Loaded plugin: C:/Users/Serkan Ergun/Documents/SOFA/v21.06.02/bin/SofaSphFluid.dll [ERROR] [PluginManager] Plugin loading failed (C:/Users/Serkan Ergun/Documents/SOFA/v21.06.02/bin/SofaPython3.dll): Zugriff verweigert [INFO] [PluginManager] Loaded plugin: C:/Users/Serkan Ergun/Documents/SOFA/v21.06.02/bin/STLIB.dll [INFO] [PluginManager] Loaded plugin: C:/Users/Serkan Ergun/Documents/SOFA/v21.06.02/bin/SoftRobots.dll Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing. The constructor with a QGLFormat is deprecated, use the regular contructor instead.
I installed via Microsoft Store. per default it is installed in the protected WindowsApps folder. Using Explorer, one can grant full acces to that folder using Admin rights. If this would not work, I should not be able to reach the Python folder. The German error message means that the error arises either from System or from Python and not from SOFA.
I am further looking into this at the moment. I just wanted to post a topic to see, if somebody else is also facing this issue.7 December 2021 at 12:53 #21072TimesBlocked
I can confirm that SOFA Version v21.06 with SOFAPython3 works on Windows 11.7 December 2021 at 12:58 #210737 December 2021 at 21:50 #21078
The console is clearly telling (auf Deutsch though) that you do not have access granted to this file. It really sounds more like a right issue on your machine, doesn’t it?
Did you compile both SOFA and SofaPython3 together? On the same Windows account?
Hugo9 December 2021 at 09:48 #21094
I changed the way of installing python 3.7 from Microsoft Store to direct download from the Python website.
Python works as expected, and indeed SOFA loads the plugin – I was able to execute the liver.py demo.
Interestingly though I am seeing the following warning:
[INFO] [SofaPython3] Initializing with python version 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] [INFO] [SofaPython3] Registering a scene loader for [.py, .py3, .pyscn, .py3scn] files. [INFO] [SofaPython3] Intializing python --------------------------------------- Checking SOFA_ROOT and SOFAPYTHON3_ROOT Using environment variable SOFA_ROOT: C:\Users\Serkan Ergun\Documents\SOFA\v21.06.02 Using environment variable SOFAPYTHON3_ROOT: C:\Users\Serkan Ergun\Documents\SOFA\v21.06.02\plugins\SofaPython3 Warning: cannot find SofaPython3.dll at path: C:\Users\Serkan Ergun\Documents\SOFA\v21.06.02\plugins\SofaPython3\bin This path will NOT be added to the DLL search path. Loading SofaPython3 python modules will likely fail.
I checked, and this dll file is definetly there. I am using the binary “zip” Version of SOFA.
I also added a SOFAPYTHON3_ROOT environment varibale to remove another warning. I did not see such warnings in SOFA v20.12
I was able to execute runSofa without any warnings now. I copy pasted the dll from the bin folder of SOFA bin directory to the plugin directory10 December 2021 at 15:48 #2111413 December 2021 at 08:49 #21133
Yes of course. I thought I close it myself already, though.
Thanks for your help.
All the best,
- You must be logged in to reply to this topic.