Thu, 06/27/2019 - 10:50
Forums:
Hi everybody my name is Nicolò and I'm an italian mechanical engineer.
I'm trying to use salome 9.3 for Linux Ubuntu 18.04 64-bits on my Ubuntu 19.04 .
But when I launch it from the terminal this happens:
/home/gnicche/SALOME/salome:362: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
runSalome running on gnicche-HP-Laptop-15-db0xxx
INFO:MainThread:/home/gnicche/SALOME/BINARIES-UB18.04/KERNEL/bin/salome/PortManager.py[151]Problem loading PortManager file: /tmp/.salome_PortManager.cfg
INFO:PortManager:Problem loading PortManager file: /tmp/.salome_PortManager.cfg
Error when trying to access active network connections.
Traceback (most recent call last):
File "/home/gnicche/SALOME/BINARIES-UB18.04/KERNEL/bin/salome/PortManager.py", line 111, in __isNetworkConnectionActiveOnPort
p = Popen(cmd, stdout=PIPE, stderr=STDOUT)
File "/home/gnicche/SALOME/BINARIES-UB18.04/Python/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/home/gnicche/SALOME/BINARIES-UB18.04/Python/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'netstat': 'netstat'
Searching for a free port for naming service: 2810 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service ++Warning, no type found for resource "localhost", using default value "single_machine"
+++++SALOME_Session_Server: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/gnicche/SALOME/BINARIES-UB18.04/KERNEL/bin/salome/orbmodule.py", line 172, in waitNSPID
os.kill(thePID,0)
ProcessLookupError: [Errno 3] No such process
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/gnicche/SALOME/BINARIES-UB18.04/KERNEL/bin/salome/runSalome.py", line 633, in useSalome
clt = startSalome(args, modules_list, modules_root_dir)
File "/home/gnicche/SALOME/BINARIES-UB18.04/KERNEL/bin/salome/runSalome.py", line 578, in startSalome
session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
File "/home/gnicche/SALOME/BINARIES-UB18.04/KERNEL/bin/salome/orbmodule.py", line 174, in waitNSPID
raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 6648 for /Kernel/Session not found
--- Error during Salome launch ---
Can someone help me?
Thank you
Nicolò
Thu, 06/27/2019 - 11:15
Hi Nicoló,
apparently there are two missing files: netstat and libOpenGL.so.0
netstat is found in net-tools package.
libOpenGL.so.0 is found in libopengl0 package
Hope this helps.
Thu, 06/27/2019 - 11:31
Dear Grijan thank you very much:the problem was just what you said and now salome works perfectly!
Thank you again!
Wed, 10/14/2020 - 17:50
Hello,
I am struglling with almost same problem.
Hoewever ,even though I tried below
the problem remained.
What should I do for this?
Terminal said
Thu, 11/19/2020 - 00:50
this can be solved by