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

You are not logged in.

#1 2022-04-11 17:40:42

benoit_windows
Member
Registered: 2022-04-11
Posts: 1

Salome Meca 2021 on Windows

Dear code_aster community,

I have been trying to install Salome Meca 2021 on Windows using the download page and recommendations.

When running Salome Meca, I can open the GUI but get the following error when switching from "Salome" environment to "AsterStudy" (screenshot attached).

Would somebody be able to guide me on how to solve this?

Can't wait to apply Salome Meca and Code Aster to offshore wind design tongue

Traceback:
  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\salome\ASTERSTUDYGUI.py", line 71, in activate
    return get_aster_gui().activate()

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\gui\salomegui.py", line 1068, in activate
    self.work_space = self._createWorkspace(self.main_window)

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\gui\astergui.py", line 1578, in _createWorkspace
    work_space = Workspace(self, parent_widget, tab_position(tbposition))

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\gui\workspace.py", line 229, in __init__
    self.views[Context.RunPanel] = RunPanel(astergui, self.history_lsplitter)

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\gui\runpanel.py", line 452, in __init__
    self._serverActivated()

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\gui\runpanel.py", line 991, in _serverActivated
    self._updateServerInfo(False)

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\gui\runpanel.py", line 1010, in _updateServerInfo
    self._infos.refresh_once(self.server(), force)

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\datamodel\engine\abstract_runner.py", line 317, in refresh_once
    if self.refresh_one(server):

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\datamodel\engine\salome_runner.py", line 650, in refresh_one
    rcdef = self._set_rcdef(server)

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\ASTERSTUDY\lib\python3.6\site-packages\asterstudy\datamodel\engine\salome_runner.py", line 547, in _set_rcdef
    rcdef = rc_manager.GetResourceDefinition(server)

  File "C:\IT\SalomeMeca\sm-2021-w64-0.3\W64\KERNEL\bin\salome\SALOME_ResourcesManager_idl.py", line 168, in GetResourceDefinition
    return self._obj.invoke("GetResourceDefinition", _0_Engines.ResourcesManager._d_GetResourceDefinition, args)

Offline

#2 2022-04-12 11:22:45

jacob
Member
From: Dolní Benešov
Registered: 2022-03-07
Posts: 34

Re: Salome Meca 2021 on Windows

I guess you forgot to install also Code_Aster 2021 for windows.


Attachments:
image_2022-04-12_122236106.png, Size: 96.88 KiB, Downloads: 82

Offline