I’m trying to install Salome 9.90 on Ubuntu 18.04. After running the sat command recommended in the README I get this:
/Salome$ sat config SALOME-9.9.0
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named core.constants
Unhandled Error
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 662, in run
runApp(config)
File “/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py”, line 25, in runApp
_SomeApplicationRunner(config).run()
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 380, in run
self.application = self.createOrGetApplication()
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 445, in createOrGetApplication
application = getApplication(self.config, passphrase)
— —
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 456, in getApplication
application = service.loadApplication(filename, style, passphrase)
File “/usr/lib/python2.7/dist-packages/twisted/application/service.py”, line 414, in loadApplication
application = sob.load(filename, kind)
File “/usr/lib/python2.7/dist-packages/twisted/persisted/sob.py”, line 145, in load
fp = open(filename, mode)
exceptions.IOError: [Errno 2] No such file or directory: ‘twistd.tap’
Failed to load application: [Errno 2] No such file or directory: ‘twistd.tap’
I tried googling for anything similar but came up empty. Any help?
you need to run ./sat config SALOME-9.9.0 --check_system
to see if some missing dependencies need to be installed.
You can also simply launch SALOME: ./SALOME-9.9.0-UB18.04-SRC/salome
and let us know if you’re experiencing some issues.
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named core.constants
Unhandled Error
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 662, in run
runApp(config)
File “/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py”, line 25, in runApp
_SomeApplicationRunner(config).run()
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 380, in run
self.application = self.createOrGetApplication()
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 445, in createOrGetApplication
application = getApplication(self.config, passphrase)
— —
File “/usr/lib/python2.7/dist-packages/twisted/application/app.py”, line 456, in getApplication
application = service.loadApplication(filename, style, passphrase)
File “/usr/lib/python2.7/dist-packages/twisted/application/service.py”, line 414, in loadApplication
application = sob.load(filename, kind)
File “/usr/lib/python2.7/dist-packages/twisted/persisted/sob.py”, line 145, in load
fp = open(filename, mode)
exceptions.IOError: [Errno 2] No such file or directory: ‘twistd.tap’
Failed to load application: [Errno 2] No such file or directory: ‘twistd.tap’
before going further- does SALOME-9.9.0-UB18.04-SRC/salome return on error or does it start ?
Can you also share the output of : env > UB18.04-env.txt apt list --installed > UB18.04.txt
and upload these two files such that we can check against our configuration
thanks for sharing the two files- can you do the following to ensure that things are consistently set:
wget https://files.salome-platform.org/Salome/Salome9.9.0/SALOME-9.9.0-UB18.04-SRC.tar.gz
tar zxf SALOME-9.9.0-UB18.04-SRC.tar.gz
# reset PATH to its default
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin
# launch SALOME
SALOME-9.9.0-UB18.04-SRC/salome
# if it does not start, then share the error message
# then try the following to check that sat is running as expected.
unset LD_LIBRARY_PATH
# now LD_LIBRARY_PATH should be empty
echo $LD_LIBRARY_PATH
# reset PATH to its default
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin
# PYTHONPATH
unset PYTHONPATH
cd SALOME-9.9.0-UB18.04-SRC
./sat/sat config SALOME-9.9.0 --check_system
Let us know if it helps. If not, then we look at the contents of UB18.04 which are missing from your list.
~$ SALOME-9.9.0-UB18.04-SRC/salome
SALOME_Session_Server_No_Server: error while loading shared libraries: libgeos_c.so.1: cannot open shared object file: No such file or directory
~/SALOME-9.9.0-UB18.04-SRC$ ./sat/sat config SALOME-9.9.0 --check_system
create log dir /home/dude/SALOME-9.9.0-UB18.04-SRC/LOGS
Check the system dependencies declared in the application
libltdl7 : OK
libgomp1 : OK
libdc1394-22 : KO (package is not installed!)
libffi6 : OK
libncurses5 : OK
libxcb1 : OK
libexif12 : OK
libxmu6 : OK
libxext6 : OK
libfftw3-double3 : OK
libice6 : OK
libglvnd0 : OK
libtiff5 : OK
libsm6 : OK
libnuma1 : OK
libbsd0 : OK
libwebp6 : OK
libglu1-mesa : OK
libxkbcommon-x11-0 : OK
libx11-xcb1 : OK
libxcb-xfixes0 : OK
libgl1 : OK
libopenexr22 : OK
libxpm4 : OK
libgphoto2-6 : OK
libsqlite3 : OK
libquadmath0 : OK
libxi6 : OK
libstdc++6 : OK
libxrender1 : OK
libxau6 : OK
libxkbcommon0 : OK
libxcb-xkb1 : OK
libexpat1 : OK
libx11-6 : OK
libopenblas-base : KO (package is not installed!)
libzstd1 : OK
libgfortran4 : OK
libglx0 : OK
libdrm2 : OK
liblzma5 : OK
libpcre3 : OK
libopengl0 : OK
libgcc-7-dev : OK
libxt6 : OK
zlib1g : OK
libraw1394-11 : OK
libc6 : OK
libxss1 : OK
libbz2-1.0 : OK
libxcb-glx0 : OK
libxft2 : OK
libegl1 : OK
libtinfo5 : OK
libgphoto2-port12 : OK
libpng16-16 : OK
libudev1 : OK
libilmbase12 : OK
libusb-1.0-0 : OK
libevent-2.1-6 : OK
libfontconfig1 : OK
libuuid1 : OK
libxdmcp6 : OK
libjbig0 : OK
cython3 : KO (package is not installed!)
libxt-dev : OK
libjpeg-dev : KO (package is not installed!)
libopenmpi-dev : OK
libcurl4-openssl-dev : KO (package is not installed!)
sed : OK
libhwloc-dev : OK
automake : KO (package is not installed!)
libfftw3-dev : OK
gcc : OK
libtbb-dev : KO (package is not installed!)
cmake : KO (package is not installed!)
make : OK
g++ : OK
libreadline-dev : OK
perl : OK
libxpm-dev : KO (package is not installed!)
flex : OK
libgeos-dev : KO (package is not installed!)
libssl-dev : KO (package is not installed!)
libxft-dev : KO (package is not installed!)
libtool : OK
libicu-dev : KO (package is not installed!)
libxi-dev : KO (package is not installed!)
libfontconfig1-dev : KO (package is not installed!)
libopenblas-dev : KO (package is not installed!)
libxmu-dev : KO (package is not installed!)
libgeotiff-dev : KO (package is not installed!)
libglu1-mesa-dev : OK
libgif-dev : KO (package is not installed!)
libxcb-dri2-0-dev : OK
libxkbcommon-dev : KO (package is not installed!)
libtiff5-dev : KO (package is not installed!)
libpng-dev : KO (package is not installed!)
libxkbcommon-x11-dev : KO (package is not installed!)
bison : KO (package is not installed!)
libexpat1-dev : KO (package is not installed!)
libsqlite3-dev : KO (package is not installed!)
bzip2 : OK
WARNING: Some run time system dependencies are missing!
Please install them with apt before running salome
missing run time dependencies : libdc1394-22 libopenblas-base
WARNING: Some compile time system dependencies are missing!
Please install them with apt before compiling salome
missing compile time dependencies : cython3 libjpeg-dev libcurl4-openssl-dev automake libtbb-dev cmake libxpm-dev libgeos-dev libssl-dev libxft-dev libicu-dev libxi-dev libfontconfig1-dev libopenblas-dev libxmu-dev libgeotiff-dev libgif-dev libxkbcommon-dev libtiff5-dev libpng-dev libxkbcommon-x11-dev bison libexpat1-dev libsqlite3-dev
I installed the missing components, and attempted to launch salome as recommended above. However, I still get the same error:
$ SALOME-9.9.0-UB18.04-SRC/salome
SALOME_Session_Server_No_Server: error while loading shared libraries: libgeos_c.so.1: cannot open shared object file: No such file or directory
I’m still getting errors when I try to launch Salome. Why is that? I thought I installed everything that was missing in one of the steps above?
SALOME-9.9.0-UB18.04-SRC/salome
SALOME_Session_Server_No_Server: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory