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

You are not logged in.

#1 2021-09-14 15:01:13

jimmy
Member
Registered: 2021-09-14
Posts: 2

[Solved]AsterStudy not working in Salome-Meca 2020 on ubuntu 20.04

I have installed Salome-Meca 2020 on ubuntu 20.04 on Windows 10 using WSL2. After the installation, I tried to launch Salome-Meca and got the following error:

jimmy@DESKTOP-NC7SJON-wsl:/mnt/d/code_aster/salome_meca$ ./salome
runSalome running on DESKTOP-NC7SJON-wsl
Searching for a free port for naming service: 2812 - OK
inside europlexus set env...
Searching Naming Service  ++++++++++++++++omniNames: (0) 2021-09-14 21:34:09.945013: -ORBendPoint option overriding default endpoint.
 found in 1.6 seconds 
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/bin/salome/runSalome.py", line 679, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/mnt/d/code_aster/salome_meca/bin/salome/runSalome.py", line 617, in startSalome
    import SALOME
ModuleNotFoundError: No module named 'SALOME'


--- Error during Salome launch ---
jimmy@DESKTOP-NC7SJON-wsl:/mnt/d/code_aster/salome_meca$ Warning, no type found for resource "localhost", using default value "single_machine"
Warning: this type (Study,objref) already exists, it will be ignored.
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/mnt/d/code_aster/salome_meca/bin/salome/SALOME_Container.py", line 43, in <module>
    import SALOME_PyNode
  File "/mnt/d/code_aster/salome_meca/bin/salome/SALOME_PyNode.py", line 31, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'SALOME_Container' is not defined
****************************************************************
     Warning: module BLSURFPLUGIN is improperly configured!
     Module BLSURFPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HexoticPLUGIN is improperly configured!
     Module HexoticPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GHS3DPLUGIN is improperly configured!
     Module GHS3DPLUGIN will not be available in GUI mode!
****************************************************************
th. 140423243825728 - Trace /home/A34370/smeca/yamm_build/V2020.0.1_universal_build/V2020_nopackage_universal/modules/src/GUI/src/LightApp/LightApp_Application.cxx [807] : 
****************************************************************
     Warning: icon for Calculator is not found!
     Using the default icon.
****************************************************************

Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_pluginsmanager.py", line 87, in <module>
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_pluginsmanager.py", line 87, in <module>
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_pluginsmanager.py", line 87, in <module>
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/ASTERSTUDYGUI.py", line 61, in activate
    import salome
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'
Traceback (most recent call last):
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome/__init__.py", line 122, in <module>
    from salome_kernel import *
  File "/mnt/d/code_aster/salome_meca/lib/python3.6/site-packages/salome/salome_kernel.py", line 34, in <module>
    import SALOME
ModuleNotFoundError: No module named 'SALOME'

I think the main error is ""ModuleNotFoundError: No module named 'SALOME'.
Salome-Meca is launched and worked fine with geometry and mesh module, but when I changed to AsterStudy, the interface missed the almost all the components that needed for AsterStudy.
You can cehck the image of the interface in the attached file.
Please help, thanks!

Last edited by jimmy (2021-09-14 16:04:38)


Attachments:
Dingtalk_20210914220034.jpg, Size: 99.02 KiB, Downloads: 11

Offline

#2 2021-09-14 16:06:34

jimmy
Member
Registered: 2021-09-14
Posts: 2

Re: [Solved]AsterStudy not working in Salome-Meca 2020 on ubuntu 20.04

I have solved the problem by changing the installation path to the default path. I think the problem may be that I used Linux on WSL2 and I cannot select an installation path on the parent windows system.

Offline