16 December 2020 at 15 h 53 min #18037
Dear forum members,
I have just downloaded the SOFA Windows binaries from this webpage:
I am able to open SOFA on my computer, but whenever I try to open a scene from the documentation repository, I can’t launch any scene. For example, if I try to open “trunk.py”, I receive this message: extension (py) not handled.
How can I manage to launch this tutorial?
Thanks for any help you can provide.
Peter16 December 2020 at 16 h 05 min #18038
extension (py) not handledis usually caused by SOFA not finding the correct plugin to handle python files.
When starting SOFA (runSofa in
/bin), go to Edit->Plugin Manager and make sure “SofaPython” is listed as a plugin. If that is not the case, click “Add” and and select
Let me know if that fixes your problem.
Paul16 December 2020 at 16 h 30 min #18039
Many thanks for you reply.
However, I cannot find any “libSofaPython.so” file.
There is a “SofaPython.dll” file in \bin, but when I try to add it through the plugin manager, it says the specified module cannot be found.
Any idea how to manage this?
Peter16 December 2020 at 16 h 59 min #18040
I just realized I did not catch that you are working with the windows version of SOFA.
There should be a
Paul16 December 2020 at 18 h 20 min #18041
I have found “SofaPython.lib” but using the plugin manager, I can only add “.dll” file. How can I add this plugin?
Peter16 December 2020 at 18 h 33 min #18042
sadly I don’t have access to a windows computer, so I can’t really help you more on this.
Paul16 December 2020 at 18 h 45 min #18044
Thanks for your help.
If anyone has any idea how to fix this problem, that would be of great help.
Thanks in advance.
Peter19 December 2020 at 0 h 50 min #18067
could you try still using the downloaded binaries to:
– open SOFA
– open Edit->Plugin Manager
– select the library : in bin/SofaPython.dll provided with the binary of SOFA+SoftRobot for windows
This should work, do not hesitate to keep us posted.
Hugo20 December 2020 at 11 h 11 min #18073
Thanks for taking a look at my problem here.
I tried your instructions but got the following error message:
“Plugin loading failed C:/SOFA/SOFA_v19.06.99_custom_Win64_v8.1/bin/SofaPython.dll: specified module cannot be found”
I just realized that I also get this error message when I launch SOFA. When I launch runSofa.exe, it opens a terminal window where different messages are prompted, including this error message about SofaPython.dll not found.
Thanks again for your help.
Peter11 January 2021 at 14 h 05 min #1817528 April 2021 at 10 h 58 min #19331
Hi, did anyone managed to solve this problem as i am having the exact same issue?7 May 2021 at 22 h 40 min #19401
Have you followed Paul’s and my advice?
If it does not solve your issue, could you – step by step – describe what is the problem when configuring/compiling/running SOFA ?
Hugo10 May 2021 at 11 h 11 min #19419
Hi Hugo, I am using SOFA 20.12 binaries for windows 10. i have python 2.7 installed but could not load the .dll file. below is the error message.
[ERROR] [PluginManager] Plugin loading failed (C:/Users/hl18924/OneDrive – University of Bristol/Documents/PHD/Trustworthy robots/SOFA_v20.12.00_Win64/plugins/SofaPython/bin/SofaPython.dll): The specified module could not be found.10 May 2021 at 12 h 00 min #19420krisParticipant
- ETH Zurich
I am not a core developer but maybe this helps: Go to Edit-> PluginManager and then select Sofapython dll in the plugins/SofaPython/bin directory18 May 2021 at 18 h 15 min #19478
You can follow Chris advice. The error seems to assume that the dll is not in the given path. Can you see it?
Hugo30 June 2021 at 9 h 47 min #19905
I am still unable to make it to work so have bult sofa from source on ubuntu. Seems to work ok-ish but the softrobot plugin is still a bit broken from the python3 migration.23 September 2021 at 16 h 50 min #2042123 September 2021 at 16 h 58 min #20422
Yes, please. Thanks
- You must be logged in to reply to this topic.