From: vsr Date: Mon, 25 Apr 2011 15:34:43 +0000 (+0000) Subject: IPAL22422 : TC6.3.0:hangup importing python dump X-Git-Tag: V6_3_BR20110429~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=688a817c14bc6796243e022cc6c46ffd8efd28a7;p=modules%2Fvisu.git IPAL22422 : TC6.3.0:hangup importing python dump --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 4420fdfd..2f513f53 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3571,7 +3571,7 @@ VisuGUI // import Python module that manages VISU 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