From: barate Date: Thu, 11 Jul 2013 12:22:58 +0000 (+0000) Subject: Load Python components in FactoryServer instead of FactoryServerPy (fixes bug when... X-Git-Tag: B4KillOfAutomake X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3dc7f192348211bc938e1cb6063d0c5cbe63ba8d;p=modules%2Fgui.git Load Python components in FactoryServer instead of FactoryServerPy (fixes bug when resource catalog contains remote machines) --- diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx index e41087cee..b1e1683f0 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx @@ -107,7 +107,7 @@ SALOME_PYQT_Module::~SALOME_PYQT_Module() This function tries to get engine IOR from the Python module using engineIOR() function. That function can load module engine using appropriate container if required. If this function is not available in Python module, the default implementation - is used which loads engine to the default FactoryServerPy container. + is used which loads engine to the default FactoryServer container. */ QString SALOME_PYQT_Module::engineIOR() const { @@ -120,11 +120,11 @@ QString SALOME_PYQT_Module::engineIOR() const } if ( ior.isEmpty() ) { // if IOR is still not specified, try default implementation - // which loads engine to the default FactoryServerPy container. + // which loads engine to the default FactoryServer container. Engines::EngineComponent_var comp; // temporary solution try { - comp = getApp()->lcc()->FindOrLoad_Component( "FactoryServerPy", name().toLatin1() ); + comp = getApp()->lcc()->FindOrLoad_Component( "FactoryServer", name().toLatin1() ); } catch (CORBA::Exception&) { }