From 6506acdabe2b3ef815ae94a8005c5c89809393fe Mon Sep 17 00:00:00 2001 From: caremoli Date: Sun, 20 May 2007 10:57:56 +0000 Subject: [PATCH] CCAR: correct bug in getContainerRef (python component) --- src/Container/SALOME_ComponentPy.py | 5 +++-- src/Container/SALOME_ContainerManager.cxx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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"; -- 2.39.2