From b203c0e7b51a9e09c26b73d797493837b70bc5f4 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Sat, 23 Jan 2021 07:26:50 +0100 Subject: [PATCH] SHAPER : last modif to make it work ! --- src/KERNEL_PY/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/KERNEL_PY/__init__.py b/src/KERNEL_PY/__init__.py index 044be4842..8577a7dd2 100644 --- a/src/KERNEL_PY/__init__.py +++ b/src/KERNEL_PY/__init__.py @@ -209,11 +209,12 @@ class StandAloneLifecyle: # cont = SALOME_ContainerPy_Gen_i(orb,poa,"FactoryServer") conId = poa.activate_object(cont) + conObj = poa.id_to_reference(conId) # pman.activate() # compoName = "SHAPERSTUDY" - servant = SHAPERSTUDY_No_Session(orb,poa,conId,"FactoryServer","SHAPERSTUDY_inst_1",compoName) + servant = SHAPERSTUDY_No_Session(orb,poa,conObj,"FactoryServer","SHAPERSTUDY_inst_1",compoName) ret = servant.getCorbaRef() KernelServices.RegisterCompo(compoName,ret) return ret -- 2.39.2