Home › Forum › SoftRobots › Getting Started › Missing libraries: STLIB and libSofaPython
Tagged: GCC, libsofapython, Linux, Linux_ubuntu, SOFA, SOFA_2006, softrobots, STlib
- This topic has 26 replies, 4 voices, and was last updated 3 years, 6 months ago by younesssss.
-
AuthorPosts
-
23 April 2021 at 10:43 #19277mohshawBlocked
Dear all,
I’m trying to use the provided examples for SoftRobots, but the needed stlib and libSofaPython libraries are missing, I can’t add them from the gui (edit > plugin manager > add).
The plugins folder in sofa directory includes already both the stlib and libSofaPython plugins.
The system I’m using: Ubuntu 20.04.2 LTS 64bit.
Kindly advise,
23 April 2021 at 17:18 #19289HugoKeymasterHi @mohshaw
Yes this is one way of doing it indeed! You can load all the lib***.so you need this way.
Best,Hugo
23 April 2021 at 17:25 #19290mohshawBlockedHi @Hugo
Actually it still not working.
The needed files are not in the mentioned folders.
How could I import them?Thanks in advance.
23 April 2021 at 17:51 #19292HugoKeymasterWhat version of SOFA and from where did you download it?
Hugo
23 April 2021 at 18:07 #19294mohshawBlockedHi,
SOFA is installed at the Home directory. It was previously downloaded there, I can’t tell which version it is. But it has SofaPython3 only,
23 April 2021 at 18:11 #19295HugoKeymasterWhat link did you use to download SOFA and when did you download it?
23 April 2021 at 18:15 #19296mohshawBlockedIt was downloaded on 18 August 2020.
I don not know the link unfortunately; the computer I’m using is setup long time ago by other colleagues.23 April 2021 at 18:21 #19297HugoKeymasterHi @mohshaw
Ok then, I would go for taking the latest SOFA version.
You can download it here: https://www.sofa-framework.org/download/Once installed, You will be able to find and load the plugins using the PluginManager as suggested earlier.
Best wishes,
Hugo
23 April 2021 at 18:25 #19298mohshawBlockedHi @Hugo
Thanks for the update.
Is there a way to add the missing libraries without replacing the current SOFA version, as it is currently linked to ROS project?23 April 2021 at 18:35 #19299HugoKeymasterHi @mohshaw
I can try to provide support on older versions of SOFA, although using ROS would work (through Python) with the latest SOFA version.
Regarding the SOFA you have on your machine:
– did you compile it from the sources?
– does it have SoftRobot compiled?
in other words what do you have your build/bin and build/lib repositories?
– when you wrote “I can’t add them from the gui” what was the exact error?Hugo
23 April 2021 at 18:43 #19300mohshawBlockedHi @Hugo,
build/bin has the following:
Please scroll down for the build/lib.~/Repos/Code/sofa/build/bin$ ls
Bindings.SofaExporter.Tests SofaGeneralEngine_test
Bindings.SofaRuntime.Tests SofaGeneralExplicitOdeSolver_test
Bindings.Sofa.Tests SofaGeneralImplicitOdeSolver_test
Bindings.SofaTypes.Tests SofaGeneralLoader_test
CImgPlugin_test SofaGeneralSimpleFem_test
Components SofaGeneralTopology_test
Core SofaGraphComponent_test
Helper SofaHelper_simutest
pyfiles SofaHelper_test
runSofa SofaImplicitOdeSolver_test
runSofa_test SofaLoader_test
sceneCreatorExamples SofaMeshCollision_test
SceneCreator_test SofaMiscExtra_test
Simulation SofaMiscFem_test
SofaBaseCollision_test SofaMiscForceField_test
SofaBaseLinearSolver_test SofaMiscMapping_test
SofaBaseMechanics_test SofaMiscSolver_test
SofaBaseTopology_test SofaMiscTopology_test
SofaBaseUtils_test SofaOpenglVisual_test
SofaBaseVisual_test SofaRigid_test
SofaBoundaryCondition_test SofaSimpleFem_test
SofaConstraint_test SofaSimulationCore_simutest
SofaCore_simutest SofaSimulationCore_test
SofaCore_test SofaSimulationGraph_test
SofaDefaultType_simutest SofaSimulationTree_test
SofaDefaultType_test SofaValidation_test
SofaDeformable_test SoftRobots.Inverse_test
SofaEngine_test SoftRobots_test
SofaExplicitOdeSolver_test tests
SofaExporter_test Typesbuild/lib has the following:
/Repos/Code/sofa/build/lib$ ls
libCImgPlugin.so
libCImgPlugin.so.0.1
libcsparse.a
libgtest.so
liblibqpOASES.so
liblibqpOASES.so.1.0
liblibqpOASES.so.3.2
libmetis.a
libnewmat.a
libQGLViewer.so
libSceneCreator.so
libSceneCreator.so.0.1
libSofaAdvanced.so
libSofaAdvanced.so.20.06.99
libSofaBaseCollision.so
libSofaBaseCollision.so.20.06.99
libSofaBaseLinearSolver.so
libSofaBaseLinearSolver.so.20.06.99
libSofaBaseMechanics.so
libSofaBaseMechanics.so.20.06.99
libSofaBase.so
libSofaBase.so.20.06.99
libSofaBaseTopology.so
libSofaBaseTopology.so.20.06.99
libSofaBaseUtils.so
libSofaBaseUtils.so.20.06.99
libSofaBaseVisual.so
libSofaBaseVisual.so.20.06.99
libSofaBoundaryCondition.so
libSofaBoundaryCondition.so.20.06.99
libSofaCommon.so
libSofaCommon.so.20.06.99
libSofaComponentAll.so
libSofaComponentAll.so.1.0
libSofaConstraint.so
libSofaConstraint.so.20.06.99
libSofaCore.so
libSofaCore.so.20.06.99
libSofaDefaultType.so
libSofaDefaultType.so.20.06.99
libSofaDeformable.so
libSofaDeformable.so.20.06.99
libSofaDenseSolver.so
libSofaDenseSolver.so.1.0
libSofaEigen2Solver.so
libSofaEigen2Solver.so.20.06.99
libSofaEngine.so
libSofaEngine.so.20.06.99
libSofaExplicitOdeSolver.so
libSofaExplicitOdeSolver.so.20.06.99
libSofaExporter.so
libSofaExporter.so.1.0
libSofaFramework.so
libSofaFramework.so.20.06.99
libSofaGeneralAnimationLoop.so
libSofaGeneralAnimationLoop.so.20.06.99
libSofaGeneralDeformable.so
libSofaGeneralDeformable.so.20.06.99
libSofaGeneralEngine.so
libSofaGeneralEngine.so.20.06.99
libSofaGeneralExplicitOdeSolver.so
libSofaGeneralExplicitOdeSolver.so.20.06.99
libSofaGeneralImplicitOdeSolver.so
libSofaGeneralImplicitOdeSolver.so.20.06.99
libSofaGeneralLinearSolver.so
libSofaGeneralLinearSolver.so.20.06.99
libSofaGeneralLoader.so
libSofaGeneralLoader.so.20.06.99
libSofaGeneralMeshCollision.so
libSofaGeneralMeshCollision.so.20.06.99
libSofaGeneralObjectInteraction.so
libSofaGeneralObjectInteraction.so.20.06.99
libSofaGeneralRigid.so
libSofaGeneralRigid.so.20.06.99
libSofaGeneralSimpleFem.so
libSofaGeneralSimpleFem.so.20.06.99
libSofaGeneral.so
libSofaGeneral.so.20.06.99
libSofaGeneralTopology.so
libSofaGeneralTopology.so.20.06.99
libSofaGeneralVisual.so
libSofaGeneralVisual.so.20.06.99
libSofaGraphComponent.so
libSofaGraphComponent.so.20.06.99
libSofaGTestMain.a
libSofaGuiCommon.so
libSofaGuiCommon.so.20.06.99
libSofaGuiMain.so
libSofaGuiMain.so.20.06.99
libSofaGuiQt.so
libSofaGuiQt.so.20.06.99
libSofaGui.so
libSofaGui.so.20.06.99
libSofaHaptics.so
libSofaHaptics.so.1.0
libSofaHelper.so
libSofaHelper.so.20.06.99
libSofaImplicitOdeSolver.so
libSofaImplicitOdeSolver.so.20.06.99
libSofaLoader.so
libSofaLoader.so.20.06.99
libSofaMeshCollision.so
libSofaMeshCollision.so.20.06.99
libSofaMiscCollision.so
libSofaMiscCollision.so.1.0
libSofaMiscEngine.so
libSofaMiscEngine.so.20.06.99
libSofaMiscExtra.so
libSofaMiscExtra.so.20.06.99
libSofaMiscFem.so
libSofaMiscFem.so.20.06.99
libSofaMiscForceField.so
libSofaMiscForceField.so.20.06.99
libSofaMiscMapping.so
libSofaMiscMapping.so.20.06.99
libSofaMisc.so
libSofaMisc.so.20.06.99
libSofaMiscSolver.so
libSofaMiscSolver.so.20.06.99
libSofaMiscTopology.so
libSofaMiscTopology.so.20.06.99
libSofaNonUniformFem.so
libSofaNonUniformFem.so.1.0
libSofaObjectInteraction.so
libSofaObjectInteraction.so.20.06.99
libSofaOpenglVisual.so
libSofaOpenglVisual.so.1.0
libSofaPreconditioner.so
libSofaPreconditioner.so.1.0
libSofaPython3.so
libSofaRigid.so
libSofaRigid.so.20.06.99
libSofaSimpleFem.so
libSofaSimpleFem.so.20.06.99
libSofaSimulationCommon.so
libSofaSimulationCommon.so.20.06.99
libSofaSimulationCore.so
libSofaSimulationCore.so.20.06.99
libSofaSimulationGraph.so
libSofaSimulationGraph.so.20.06.99
libSofaSimulation.so
libSofaSimulation.so.20.06.99
libSofaSimulationTree.so
libSofaSimulationTree.so.20.06.99
libSofaSparseSolver.so
libSofaSparseSolver.so.1.0
libSofaTest.so
libSofaTest.so.0.1
libSofaTopologyMapping.so
libSofaTopologyMapping.so.20.06.99
libSofaUserInteraction.so
libSofaUserInteraction.so.20.06.99
libSofaValidation.so
libSofaValidation.so.1.0
libSoftRobots.Inverse.so
libSoftRobots.Inverse.so.1.0
libSoftRobots.so
libSoftRobots.so.1.0
libTestPlugin.so
libTestPlugin.so.0.7
libtinyxml.so
libtinyxml.so.2.6.2
plugin_list.conf.default
site-packages23 April 2021 at 18:45 #19301mohshawBlockedFor the error:
[ERROR] [PluginManager] Plugin not found: “SofaPython”23 April 2021 at 19:10 #19302HugoKeymasterYou forgot one important question :
– did you compile it from the sources? like maybe in ~/Repos/Code/sofa/src/ ?Hugo
23 April 2021 at 19:13 #19303mohshawBlockedIf I got the question:
~/Repos/Code/sofa/src$ ls
applications custom.cmake.example package.cmake sofa_include_stats.md
Authors.txt doc README.md SofaKernel
CHANGELOG.md examples scripts SofaMisc
cmake extlibs share tests
CMakeLists.txt GUIDELINES.md SofaAdvanced TODO.md
config.sh LICENSE.LGPL.txt SofaGeneral tools
CONTRIBUTING.md modules SofaGui23 April 2021 at 22:46 #19304HugoKeymasterHi @mohshaw
Ok so you are compiling from sources.
Could you run the following command from the build/ directory:cmake -DPLUGIN_SOFAPYTHON:BOOL=TRUE ../src
and then recompile (I guess it was built using
make
Best
Hugo
24 April 2021 at 07:18 #19305mohshawBlockedHi @Hugo,
After running the mentioned command in the terminal, here is the output:
- ~/Repos/Code/sofa/build$ cmake -DPLUGIN_SOFAPYTHON:BOOL=TRUE ../src -- Install prefix: /home/HP_lap/Repos/Code/sofa/build/install Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5") Adding module SofaSparseSolver -- SofaSparseSolver: using built-in metis library Adding module SofaPreconditioner Adding module SofaHaptics Adding module SofaValidation Adding module SofaDenseSolver Adding module SofaNonUniformFem Adding module SofaOpenglVisual -- SofaGuiQt: Qt5WebEngine not found, QDocBrowser will not be built. Adding plugin SofaPython Adding module SofaExporter CMake Deprecation Warning at SofaAdvanced/CMakeLists.txt:15 (message): SofaAdvanced is deprecated. You should now explicitely find (find_package) and link (target_link_library) each module you need within: SofaNonUniformFem Adding collection SofaComponentAll -- SofaTest: optional dependency SofaPython found, Python_test will be built Adding plugin CImgPlugin -- CImgPlugin: TIFF Image Format enabled -- CImgPlugin: JPEG Image Format enabled -- CImgPlugin: PNG Image Format enabled Adding plugin SofaMiscCollision -- SofaMiscModule: build all maintained sofa components. -- SofaMiscCollision: optional dependency SofaSphFluid not found de-activing: <SpatialGridPointModel> Adding application runSofa Write Plugin list at /home/HP_lap/Repos/Code/sofa/build/lib/plugin_list.conf.default Adding external directory: plugins (/home/HP_lap/Repos/Code/sofa/plugins) Adding plugin SofaPython3 -- SofaPython3 is compiled as a subproject to the external project 'Sofa'. CMake Error at /home/HP_lap/Repos/Code/sofa/plugins/SofaPython3/CMakeLists.txt:28 (message): SofaPython3 cannot be built alongside SofaPython. Please set PLUGIN_SOFAPYTHON to OFF -- Configuring incomplete, errors occurred! See also "/home/HP_lap/Repos/Code/sofa/build/CMakeFiles/CMakeOutput.log". See also "/home/HP_lap/Repos/Code/sofa/build/CMakeFiles/CMakeError.log".
26 April 2021 at 10:07 #19311mohshawBlockedHi @Hugo,
It seems that the current SOFA on my computer is using SofaPython3 not SofaPython. Since SOFA is currently compatible with Python 2.7, it will not work with the current settings.
I tried to use the gui of Cmake to disable SofaPython3 and enable SofaPython, but this does not work also.Any ideas?
26 April 2021 at 16:02 #19315HugoKeymasterIndeed @mohshaw
To use SofaPython, simply de-activate the SofaPython3 plugin in CMake. It should configure and generate fine.
You said it did not work? what is the error in this case?Hugo
26 April 2021 at 16:34 #19317mohshawBlockedHello @Hugo,
Thanks for the follow up!
On CMake, when disabling the SofaPython3 and enabling SofaPython, the STLIB path disappears, with the following error:
— The higly recommanded ‘STLIB’ plugin is missing. You can compile SoftRobots but most of the provided examples will not work.
CMake Warning at /home/…/Repos/Code/sofa/src/SofaKernel/SofaFramework/SofaMacros.cmake:1289 (message):
Deprecated macro. Use ‘sofa_create_package_with_targets’ instead.
Call Stack (most recent call first):
/home/…/Repos/Code/sofa/plugins/SoftRobots/CMakeLists.txt:226 (sofa_generate_package)27 April 2021 at 08:54 #19321mohshawBlockedHi @Hugo,
I think I’m going to install a new SOFA instead of trying to fix the current one, especially that I don’t know which version it is. Accordingly, I have downloaded the SOFA_v20.12.02_Linux from the link you provided before. But I had errors afterwards.
After extracting the content and running SOFA from the bin file, I started importing the following missing plugins: STLIB, SofaPython, and SoftRobots from the plugins folder.
The STLIB and SoftRobots are imported without errors. But when I try to add the SofaPython (not 3), the whole GUI crashes and closes with the following error:
########## SIG 11 - SIGSEGV: segfault ########## -> /home/ ... /Repos/Code/sofa/build/lib/libSofaHelper.so.20.06.99(sofa::helper::BackTrace::dump()+0x20) [0x7f1251793aa0] -> /home/ ... /Repos/Code/sofa/build/lib/libSofaHelper.so.20.06.99(sofa::helper::BackTrace::sig(int)+0x364) [0x7f1251794014] -> /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f1250fbe210] -> /home/ ... /Downloads/SOFA_v20.12.02_Linux/plugins/SoftRobots/lib/../../../plugins/SofaUserInteraction/lib/libSofaUserInteraction.so.20.12.02(bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x6) [0x7f124843986c] -> /home/ ... /Downloads/SOFA_v20.12.02_Linux/plugins/SoftRobots/lib/../../../lib/libSofaHelper.so.20.12.02(+0x10e0e2) [0x7f12391780e2] -> /home/ ... /Downloads/SOFA_v20.12.02_Linux/plugins/SoftRobots/lib/../../../lib/libSofaHelper.so.20.12.02(sofa::helper::system::PluginManager::addOnPluginLoadedCallback(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sofa::helper::system::Plugin const&)>)+0x3a) [0x7f1239178a74] -> /home/ ... /Downloads/SOFA_v20.12.02_Linux/plugins/SofaPython/lib/libSofaPython.so(sofa::simulation::PythonEnvironment::addPluginManagerCallback()+0x4a) [0x7f121112a89a] -> /home/ ... /Repos/Code/sofa/build/lib/libSofaHelper.so.20.06.99(sofa::helper::system::PluginManager::loadPluginByPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::ostream*)+0x1322) [0x7f1251831542] -> /home/ ... /Repos/Code/sofa/build/lib/libSofaGuiQt.so.20.06.99(sofa::gui::qt::SofaPluginManager::addLibrary()+0x321) [0x7f125a556de1] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QMetaObject::activate(QObject*, int, int, void**)+0x7d0) [0x7f1254bb6300] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QAbstractButton::clicked(bool)+0x46) [0x7f12556d9806] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x25fa2e) [0x7f12556d9a2e] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x260e73) [0x7f12556dae73] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0xe5) [0x7f12556db035] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QWidget::event(QEvent*)+0x286) [0x7f12556272b6] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x86) [0x7f12555e4a66] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x583) [0x7f12555ee343] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x18a) [0x7f1254b8a93a] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)+0x1b7) [0x7f12555ed457] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1c935d) [0x7f125564335d] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1cc1ec) [0x7f12556461ec] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x86) [0x7f12555e4a66] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x330) [0x7f12555ee0f0] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x18a) [0x7f1254b8a93a] -> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)+0x6e3) [0x7f1254fb57d3] -> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)+0x25b) [0x7f1254fb710b] -> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xbb) [0x7f1254f9135b] -> /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x7932e) [0x7f124ce4332e] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7f125073417d] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52400) [0x7f1250734400] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7f12507344a3] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x65) [0x7f1254be2565] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x12b) [0x7f1254b894db] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QCoreApplication::exec()+0x96) [0x7f1254b91246] -> /home/ ... /Repos/Code/sofa/build/lib/libSofaGuiQt.so.20.06.99(sofa::gui::qt::RealGUI::mainLoop()+0x171) [0x7f125a506a11] -> /home/ ... /Repos/Code/sofa/build/lib/libSofaGuiCommon.so.20.06.99(sofa::gui::GUIManager::MainLoop(boost::intrusive_ptr<sofa::simulation::Node>, char const*)+0x60) [0x7f125a261db0] -> runSofa() [0x414477] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1250f9f0b3] -> runSofa() [0x40f98e] Segmentation fault (core dumped)
7 May 2021 at 10:55 #19393HugoKeymasterOk @mohshaw
To use SofaPython, SoftRobots, STLIB with SOFA, why not using the binary from Defrost here
They are including all these plugins.If this is not something you want, you described above that you downloaded the v20.12 binary release of SOFA. It includes already the SofaPython plugin in plugins/SofaPython. You should therefore be able to load it with no problem. Then you will need to make sure that you compile the SoftRobots and STLIB against the SOFA binary.
Best
Hugo
7 May 2021 at 17:29 #19395DiegoMtzBlockedHi @Hugo
Im trying to use SOFA with the Soft Robot plugin however im having this problem when i tried to open the tutorials files.
[INFO] [SceneCheckerVisitor] Validating node “root” with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias]
[INFO] [SceneCheckerVisitor] Finished validating node “root”.
[ERROR] [DAGSimulation(Simulation)] extension (pyscn) not handled
[WARNING] [RealGUI] Failed to load C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/plugins/SoftRobots/docs/examples/plugintests.pyscnCan you help me with this problem?
7 May 2021 at 22:33 #19398HugoKeymasterHi
Welcome on the SOFA forum and thank you for using SOFA in your soft-robotic application!
The following error :
[ERROR] [DAGSimulation(Simulation)] extension (pyscn) not handled
shows that you are trying to load a *.pyscn file while the SofaPython plugin is not loaded. Therefore, make sure you have it loaded.Which version of SOFA are you using?
Note that some scene have the extension *.pyscn (needing SofaPython which corresponds to the old python2.7) and some have the extension *.py3scn (needing SofaPython3 which corresponds to the old python3.7).
Best
Hugo
PS: next time do not hesitate to open your own forum topic
7 May 2021 at 23:39 #19409DiegoMtzBlockedThanks for your reply,
Im using the versio 20.12.
It works, i loaded the plugin and now i can open the files, however i have another issue.
When i load a file, for example the first tutorial,i have this error.[ERROR] [PythonScript] ImportError: No module named stlib.scene
File “newSceneD.pyscn”, line 1, in <module>
from stlib.scene import MainHeader, ContactHeader[ERROR] [SofaPython] Script (file:newSceneD) import error
[ERROR] [SofaPython] scene script load error.
[WARNING] [RealGUI] Failed to load C:/Users/torne/Downloads/SOFA_v20.12.02_Defrost_Win64/SOFA_v20.12.00_Win64/share/sofa/config/newSceneD.pyscn8 May 2021 at 18:20 #19414 -
AuthorPosts
- You must be logged in to reply to this topic.