5 April 2021 at 5 h 54 min #19073
Can anyone confirm that they have installed SofaPython3 on windows 10 successfully? I have tried but keep receiving sig 22- SIGABRT error.8 April 2021 at 22 h 05 min #19088
Are you using the binary version of SOFA? the v20.12.02 release?
When are you getting this error exactly? when launching the runSofa exe?
Hugo9 April 2021 at 5 h 07 min #19094
Thanks for the reply. No, not the binary version. I compiled sofa from source code. Sofa python2 plugin works correctly but the sofaPython3 fails. I get this error when I load the plugin from the plugin manager.
Currently, I have decided to continue sofaPython2. Will I be at a great disadvantage if I choose not to upgrade to sofaPython3?
Edit: I forgot to add I’m using the latest version of sofa v20.12.029 April 2021 at 9 h 14 min #19095
Alright thanks for the clarification.
What is the full error you are getting when loading the plugin from the plugin manager?
Hugo11 April 2021 at 15 h 23 min #19131
Sorry for the slow response. I had decided to move forward with the SofaPython2 plugin, I was wondering if I’d be at any major disadvantage. I think I read somewhere that the team won’t be supporting the SofaPython2 from the current release.
Anyway, please find the error message below:
########## SIG 22 - SIGABRT: usually caused by an abort() or assert() ##########</ul> 44: sofa::helper::BackTrace::dump - 0x7ff934d3617043: sofa::helper::BackTrace::sig - 0x7ff934d362f042: raise - 0x7ff97ad7c8d041: abort - 0x7ff97ad7da8040: terminate - 0x7ff97ad7d1f039: terminate - 0x7ff97ad7d1f038: GetXMLElementAttribute - 0x7ff962db7cd037: UnhandledExceptionFilter - 0x7ff97a7f0f9036: memset - 0x7ff97cec3cc035: _C_specific_handler - 0x7ff97cead2e034: _chkstk - 0x7ff97cec1dd033: RtlRaiseException - 0x7ff97ce8a74032: RtlRaiseException - 0x7ff97ce8a74031: RaiseException - 0x7ff97a733ac030: CxxThrowException - 0x7ff9648463f029: sofapython3::PythonEnvironment::Init - 0x7ff943e7856028: initExternalModule - 0x7ff943e717c027: sofa::helper::system::PluginManager::loadPluginByPath - 0x7ff934dd53d026: sofa::gui::qt::SofaPluginManager::addLibrary - 0x7ff92c3a052025: QObject::qt_static_metacall - 0x7ff91679094024: QAbstractButton::clicked - 0x7ff92058ec0023: QAbstractButton::click - 0x7ff92058ea3022: QAbstractButton::mouseReleaseEvent - 0x7ff92058f81021: QWidget::event - 0x7ff9204e788020: QApplicationPrivate::notify_helper - 0x7ff9204c488019: QApplication::notify - 0x7ff9204c216018: QCoreApplication::notifyInternal2 - 0x7ff916772a1017: QApplicationPrivate::sendMouseEvent - 0x7ff9204c57d016: QSizePolicy::QSizePolicy - 0x7ff92050d6d015: QSizePolicy::QSizePolicy - 0x7ff92050d6d014: QApplicationPrivate::notify_helper - 0x7ff9204c488013: QApplication::notify - 0x7ff9204c216012: QCoreApplication::notifyInternal2 - 0x7ff916772a1011: QGuiApplicationPrivate::processMouseEvent - 0x7ff91974298010: QWindowSystemInterface::sendWindowSystemEvents - 0x7ff91972ec209: QEventDispatcherWin32::processEvents - 0x7ff9167bb9f08: qt_plugin_query_metadata - 0x7ff908b40e407: QEventLoop::exec - 0x7ff91676ed706: QCoreApplication::exec - 0x7ff9167719405: sofa::gui::qt::RealGUI::mainLoop - 0x7ff92c3819104: sofa::gui::GUIManager::MainLoop - 0x7ff95ad021403: sofa::gui::GUIManager::MainLoop - 0x7ff95ad021402: sofa::gui::GUIManager::MainLoop - 0x7ff95ad021401: BaseThreadInitThunk - 0x7ff97cc07c100: RtlUserThreadStart - 0x7ff97ce8d700[WARNING] [SofaSimulationGraph] the library has not been cleaned up (sofa::simulation::graph::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaSimulationCommon] the library has not been cleaned up (sofa::simulation::common::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaSimulationCore] the library has not been cleaned up (sofa::simulation::core::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaCore] the library has not been cleaned up (sofa::core::cleanup() has never been called, see sofa/helper/init.h)
Thanks 🙂12 April 2021 at 10 h 04 min #19140
I read somewhere that the team won’t be supporting the SofaPython2 from the current release
Yes this is correct.
Thank you for posting your error. I don’t see from this where does the problem come from. Could you please tell us:
– the version of the Python installed on your Windows
– do you confirm that you downloaded the binary version v20.12.02 (from the SOFA website : download page) ?
Have you checked the required dependencies here1?
Hugo18 April 2021 at 9 h 28 min #19204
I finally resolved it. The problem was I wasn’t copying the built python3 folder to the bin directory. thanks for the help!
Since I have your attention currently, I wanted to take the opportunity to ask about how I can achieve a kind of needle insertion in a tissue. I believe I could break the springs but I don’t know how to implement this. Could you help give an idea of how I could achieve this?
- You must be logged in to reply to this topic.