From e1e7b42e98858249db41f4aaea2071896d27f039 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 22 Jan 2021 10:43:02 +0100 Subject: [PATCH] Let s go for SHAPERSTUDY --- src/KERNEL_PY/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/KERNEL_PY/__init__.py b/src/KERNEL_PY/__init__.py index 4c9f25213..ffa161fe4 100644 --- a/src/KERNEL_PY/__init__.py +++ b/src/KERNEL_PY/__init__.py @@ -206,6 +206,10 @@ def salome_init_without_session(): myStudy = KernelDS.myStudy() import CORBA orb=CORBA.ORB_init(['']) + # activate poaManager to accept co-localized CORBA calls. + poa = orb.resolve_initial_references("RootPOA") + poaManager = poa._get_the_POAManager() + poaManager.activate() def salome_init_with_session(path=None, embedded=False): """ -- 2.39.2