Salome HOME
IPAL22422 : TC6.3.0:hangup importing python dump
authorvsr <vsr@opencascade.com>
Mon, 25 Apr 2011 15:34:09 +0000 (15:34 +0000)
committervsr <vsr@opencascade.com>
Mon, 25 Apr 2011 15:34:09 +0000 (15:34 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 0d748d50d42c9c0c14177f8b5b16ad35a424bb53..c1c9118ec6e9d35bbce456f76c33f7ddbc7a4f0f 100644 (file)
@@ -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