From: vsr Date: Mon, 25 Apr 2011 15:34:09 +0000 (+0000) Subject: IPAL22422 : TC6.3.0:hangup importing python dump X-Git-Tag: V6_3_0b1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=63710c8cead2a2466e106949660e56f8637a892e;p=modules%2Fsmesh.git IPAL22422 : TC6.3.0:hangup importing python dump --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 0d748d50d..c1c9118ec 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -4073,7 +4073,7 @@ bool SMESHGUI::activateModule( SUIT_Study* study ) // import Python module that manages SMESH plugins (need to be here because SalomePyQt API uses active module) PyGILState_STATE gstate = PyGILState_Ensure(); - PyObject* pluginsmanager=PyImport_ImportModule((char*)"salome_pluginsmanager"); + PyObject* pluginsmanager=PyImport_ImportModuleNoBlock((char*)"salome_pluginsmanager"); if(pluginsmanager==NULL) PyErr_Print(); else