[Enseignement] Bug lors du chargement du module SIMM

Samuel Gougeon sgougeon at free.fr
Ven 5 Juin 20:06:43 CEST 2015


Le 05/06/2015 19:27, Samuel Gougeon a écrit :
>
> atomsExtract : L'extraction de l'archive 
> 'C:\LOGICI~1\scilab\SCILAB~1.2-2\contrib\coselica\coselica_0.6.4-0.bin.zip' 
> a échoué.
>
> Ce n'est pas faute d'exister :
>
> -->dir 'C:\LOGICI~1\scilab\SCILAB~1.2-2\contrib\coselica\'
>  ans  =
> coselica_0.6.4\ coselica_0.6.4-0.bin.zip
>
atomsInstall coselica // donne :

-->atomsInstall coselica
atomsExtract : L'extraction de l'archive 
'C:\LOGICI~1\scilab\SCILAB~1.2-2\contrib\coselica\coselica_0.6.4-0.bin.zip' 
a échoué.
  !--error 10000

at line      51 of function atomsError called by :
at line      82 of function atomsExtract called by :
at line     318 of function atomsInstall called by :
atomsInstall coselica

Solution : dans atomsExtract.sci, ligne n°72, ajouter l'option "-o" pour 
overwrite:

extract_cmd  =  extract_cmd  +  "  *-o*  -q """  +  archive_in  +  """ -d """  +  pathconvert(dir_out,%F)  +"""";

Après quoi l'installation de Coselica fonctionne normalement. Un redémarrage de Scilab donne alors la situation rencontrée par Cyrille :

/Initialisation ://
//   Chargement de l'environnement de travail//
//
//Start SIMM toolbox//
//AVERTISSEMENT : SIMM a besoin du module Coselica pour fonctionner.//
//AVERTISSEMENT : Abandon du chargement de SIMM.//
//  //
//atomsLoad : Une erreur est survenue au cours du chargement de 'SIMM-0.5-1'://
//	Variable non définie : simmlib//
//atomsLoad : Le fichier 'C:\Logiciels\scilab\scilab-5.5.2-2fft\contrib\coselica\0.6.4-0\loader.sce' de (coselica - 0.6.4-0) n'existe pas ou n'est pas accessible en lecture.//
//
/
Samuel

-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <https://lists.scilab.org/pipermail/enseignement/attachments/20150605/af7cb772/attachment.htm>


Plus d'informations sur la liste de diffusion enseignement