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

You are not logged in.

#1 2018-07-19 07:31:53

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,616

STANLEY cannot be launched in salome_meca-2018

hello

trying to run a .comm file with a STANLEY call in Astk module of salome_meca-2018
i get the following error

JDC.py : ERREUR A L'EXECUTION - INTERRUPTION
>> JDC.py : DEBUT RAPPORT
CR d'execution de JDC en MIXTE
   Etape : STANLEY    ligne : 328    fichier : u'fort.1'
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      ! Erreur dans la macro STANLEY                                                      !
      ! Traceback (most recent call last):                                                !
      !    File "/opt/salome_meca-2018-1/V2018/tools/Code_aster_stable-v136_smeca/lib/    !
      ! aster/Build/B_MACRO_ETAPE.py", line 115, in _Build                                !
      !     ier = apply(self.definition.proc, (self,), d)                                 !
      !    File "/opt/salome_meca-2018-1/V2018/tools/Code_aster_stable-v136_smeca/lib/    !
      ! aster/Noyau/N_OPS.py", line 35, in __call__                                       !
      !     return func(*args, **kwargs)                                                  !
      !    File "/opt/salome_meca-2018-1/V2018/tools/Code_aster_stable-v136_smeca/lib/    !
      ! aster/Macro/stanley_ops.py", line 72, in stanley_ops                              !
      !     stanley_engine.PRE_STANLEY(FICHIER_VALID)                                     !
      !    File "/opt/salome_meca-2018-1/V2018/tools/Code_aster_stable-v136_smeca/lib/    !
      ! aster/Stanley/stanley_engine.py", line 3278, in __init__                          !
      !     self.rootTk = Tk.Tk()                                                         !
      !    File "/opt/salome_meca-2018-1/V2018/prerequisites/Python-2710/lib/python2.7/   !
      ! lib-tk/Tkinter.py", line 1814, in __init__                                        !
      !     self.tk = _tkinter.create(screenName, baseName, className, interactive,       !
      ! wantobjects, useTk, sync, use)                                                    !
      !  TclError: Can't find a usable init.tcl in the following directories:             !
      !     /home/A21173/smeca/yamm_build/V2018.0_public_build/prerequisites/install/     !
      ! Tcl-8513/lib/tcl8.5 /opt/salome_meca-2018-1/V2018/tools/                          !
      ! Code_aster_stable-v136_smeca/lib/tcl8.5 /opt/salome_meca-2018-1/V2018/tools/lib/  !
      ! tcl8.5 /opt/salome_meca-2018-1/V2018/tools/Code_aster_stable-v136_smeca/library / !
      ! opt/salome_meca-2018-1/V2018/tools/library /opt/salome_meca-2018-1/V2018/tools/   !
      ! tcl8.5.13/library /opt/salome_meca-2018-1/V2018/tcl8.5.13/library                 !
      !                                                                                   !
      !                                                                                   !
      !                                                                                   !
      ! This probably means that Tcl wasn't installed properly.                           !
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      ! Erreurs dans la construction de la macro STANLEY !
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   Fin Etape : STANLEY
fin CR d'execution de JDC en MIXTE

>> JDC.py : FIN RAPPORT
EXECUTION_CODE_ASTER_EXIT_4034-dedalus=1

 <I>_EXIT_CODE = 1

while init.tcl exist as

/opt/salome_meca-2018-1/V2018/prerequisites/Tcl-8513/lib/tcl8.5/init.tcl 
/opt/salome_meca-2018-1/V2018/tools/Code_aster_frontend-20180/lib/astk/init.tcl 
/opt/salome_meca-2018-1/V2018/tools/Code_aster_frontend-20180/lib/astk/BWidget-1.7.0/init.tcl

any correction in a future version?
any work around?

jean pierre aubry

Offline

#2 2019-05-13 16:25:06

m_golbs
Member
From: Germany
Registered: 2009-11-09
Posts: 118

Re: STANLEY cannot be launched in salome_meca-2018

Hello,

I have the same problem with STANLEY in Salome V2018. What can I do?

Thanks and greeting Markus


The superfluous chase, is to miss the essential.
Jules Saliège

Offline