From: Anthony Geay Date: Fri, 22 Jan 2021 09:43:02 +0000 (+0100) Subject: Let s go for SHAPERSTUDY X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2Farchi2_1;p=modules%2Fkernel.git Let s go for SHAPERSTUDY --- 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): """