Home › Forum › SOFA › Programming with SOFA › [SOLVED] SOFA_Python Plugin in Windows
Tagged: 64_bits, SOFA Python Plugin, SOFA_1512, Windows, Windows_7
- This topic has 5 replies, 3 voices, and was last updated 8 years ago by Hugo.
-
AuthorPosts
-
2 June 2016 at 07:57 #6951bushraBlocked
Dear SOFA Community,
I am trying to include SOFA_PYTHON plugin in SOFA. I have followed proper instruction for addition of python Plugin. First I have installed Python 2.7 and then I re run cmake to include python plugin. Apparently, it looks fine. I compiled SOFA after including SOFA_PYTHON. It is compiled successfully. But when I try to add plugin using plugin manager in modeler, my modeler exits without showing any kind of error/warning. I tried to add plugin through runsofa too but the issue is still there. I am using Windows 7, and SOFA Ver 15.12.
Its been more than 12 hours since I am trying to figure out the problem π Please help me out to resolve this issue.With Best Regards,
Bushra Sadia6 June 2016 at 13:26 #7014HugoKeymasterDear Bushra,
I think the compilation worked fine, but the problem must be due to the Modeler. As mentioned in many thread, the Modeler is an old application and it includes several bugs. I would therefore advise to build your XML scene and test it with runSofa.
Let us know if your scene is working in runSofa.About the Modeler, we are currently putting a lot of effort in improving SOFA itself. In the future, we will take time to improve the Modeler. I will look at this issue of loading a plugin in the Modeler.
If, you need any further help in building your scene, do not hesitate to ask, we are here to help.
Cheers,
Hugo
6 June 2016 at 14:20 #7021HugoKeymasterSorry I did not read properly: I did not see that you already tested your scene with runSofa.
Could you copy paste the output of the crash / failure when you load the plugin in runSofa ?
This will help us in assisting you!6 June 2016 at 15:44 #7054bushraBlockedDear Hugo,
Unfortunately I could not be able to see any output π Whenever I try to load plugin, runsofa just exits it does not show any kind of output or error message π And I am wondering why is it behaving like this. Normally, when i load some plugin, and its not working, i can see some error message in command prompt but in this case, i am not be able to see any kind of error message π
Regards,
Bushra Sadia6 June 2016 at 17:18 #7064GuillaumeKeymasterHi @bushra,
I presume you are using a Release version of Sofa.
To investigate a bit further, could you try to load SofaPython plugin with a Sofa compiled in Debug mode (runSofa_d.exe) and started through a debugger?
Doing this, you will be able to see what’s wrong and where.Cheers,
Guillaume.20 December 2016 at 00:31 #8222 -
AuthorPosts
- You must be logged in to reply to this topic.