using Salome9.6 with in AWS with apache2 and PHP
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
echo "<pre>$output</pre>";
?>
Searching for a free port for naming service: 2870 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Registry in Naming Service + found in 0.5 seconds
Searching /Kernel/ModulCatalog in Naming Service + found in 0.5 seconds
RunStudy
Searching /Study in Naming Service + found in 0.5 seconds
Searching /Containers/ip-172-31-7-180/FactoryServer in Naming Service ++++salome.salome_init(): Salome Exception : Error: Cannot resolve ContainerManager in Naming Service
============================================
May be there is no running SALOME session
salome.salome_init() is intended to be used
within an already running session
============================================
found in 2.0 seconds
Start SALOME, elapsed time : 3.7 seconds
_ModuleCatalog_Server.cxx [101] : Module Catalog Server: Naming Service was found
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Traceback (most recent call last):
File "/home/ubuntu/cadLoader.py", line 11, in <module>
salome.salome_init()
File "/home/ubuntu/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/python3.6/site-packages/salome/salome/__init__.py", line 191, in sal
ome_init
orb, lcc, naming_service, cm, esm, dsm = salome_kernel_init()
File "/home/ubuntu/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/python3.6/site-packages/salome/salome_kernel.py", line 51, in salome
_kernel_init
lcc = LifeCycleCORBA(orb)
File "/home/ubuntu/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/LifeCycleCORBA.py", line 36, in __init__
SALOME_LifeCycleCORBA.__init__(self)
File "/home/ubuntu/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/python3.6/site-packages/salome/libSALOME_LifeCycleCORBA.py", line 17
5, in __init__
this = _libSALOME_LifeCycleCORBA.new_SALOME_LifeCycleCORBA(ns)
RuntimeError: Salome Exception : Error: Cannot resolve ContainerManager in Naming Service
ERROR:salomeContext:SystemExit 1 in method _runAppli.
Hi Juan,
I could reproduce the issue which is related to omniORB. To cope with this issue, you could try to use the so called session less mode in SALOME 9.7.0 by setting SALOME_EMB_SERVANT=1 (experimental)
Enclosed a small use case which uploads a python script which implements a box in GEOM and meshes it with Body fitter.
HTH.
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.