From: caremoli Date: Sun, 20 May 2007 10:57:56 +0000 (+0000) Subject: CCAR: correct bug in getContainerRef (python component) X-Git-Tag: BR_For40_DSC_20070622~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6506acdabe2b3ef815ae94a8005c5c89809393fe;p=modules%2Fkernel.git CCAR: correct bug in getContainerRef (python component) --- diff --git a/src/Container/SALOME_ComponentPy.py b/src/Container/SALOME_ComponentPy.py index babcbb297..2124d6737 100755 --- a/src/Container/SALOME_ComponentPy.py +++ b/src/Container/SALOME_ComponentPy.py @@ -151,8 +151,9 @@ class SALOME_ComponentPy_i (Engines__POA.Component): def GetContainerRef(self): MESSAGE( "SALOME_ComponentPy_i::GetContainerRef" ) - corbaObj_ptr = self._poa.id_to_reference(self._contId) - return corbaObj_ptr._narrow(Engines.Container) + #corbaObj_ptr = self._poa.id_to_reference(self._contId) + #return corbaObj_ptr._narrow(Engines.Container) + return self._contId._narrow(Engines.Container) #------------------------------------------------------------------------- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index f5e1eb1fb..027ca7dce 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -257,7 +257,7 @@ StartContainer(const Engines::MachineParameters& params, #endif count-- ; if ( count != 10 ) - MESSAGE( count << ". Waiting for FactoryServer on " << theMachine); + MESSAGE( count << ". Waiting for container on " << theMachine); if(params.isMPI){ containerNameInNS = "/ContainerManager/id";