Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2019-05-26 19:48:00

johan
Member
Registered: 2014-09-16
Posts: 10

Salome-Meca 2018 on Ubuntu 18.04

I have asked this question under "Code Aster Installation". I guess it was the wrong place and I am posting it here again.

There are questions similar to mine on the forum, but none of the answers seem to solve my problems.

As background, I have had SM 2018, and probably two or three previous versions,  installed on Ubuntu 16.04. I upgraded Ubuntu 18.04 and everything worked fine.

After a disk crash I did a fresh install of Ubuntu 18.04 and SM 2018.

To Install SM, I had to install Python 2.7 and had to unzip the archive with 7zip as gzip corrupted the run file. (This may be of value to somebody)

I now have SM 2018 and SM 2017.0.2 installed and I have the same problems on both:
-Starting AsterStudy from SM gives me the message "Failed to activate module AsterStudy"
-The help files do not open from the Help menu. (The path to my browser is correctly specified  in  Preferences)
-Preferences are not saved, it opens with the defaults every time.
-Every time SM is opened the "Most recently used" file list is empty.

I can live with the last three, but I include them in case the problems are related.

My last possible clue, if I start SM from the terminal I get:
Error when trying to access active network connections.
Traceback (most recent call last):
  File "/home/johan/SM_2018/appli_V2018.0.1_public/bin/salome/PortManager.py", line 111, in __isNetworkConnectionActiveOnPort
    p = Popen(cmd, stdout=PIPE, stderr=STDOUT)
  File "/home/johan/SM_2018/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/home/johan/SM_2018/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Searching for a free port for naming service: 2810 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service ++Gtk-Message: 09:16:39.842: Failed to load module "canberra-gtk-module"
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.

Your help is appreciated. Thank you in advance

Offline