[Scilab-users] Set up a ATOMS repo.

PirPyn payen.pierre at gmail.com
Wed Mar 1 08:35:47 CET 2017


Samuel GOUGEON wrote
> Please try the following:
> edit("SCI/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci",194)
> // It is the line #178 in local numbering
> //replace the line #178
> extract_cmd = """" + gzip_path + """" + " -d """ + file_out + """";
> //with
> extract_cmd = """" + gzip_path + """" + " -f -d """ + file_out + """";

Done, but :


Samuel GOUGEON wrote
> //Save the file. Then do:
> cd SCI/modules/atoms/macros/atoms_internals/
> predef clear                     // unprotect libraries to be able to
> recompile atomsinternalslib
> genlib atomsinternalslib // recompile the sub-library to take the change
> into account

I don't have root access and the lib are read only for me; Still, i pasted
the sci to a local file, then i 'exec' it, so it's overloaded.


Samuel GOUGEON wrote
> //Then, try to rerun the ATOMS Gui..

Well, even in the command line I get :


Scilab 5.5.2 wrote
> -->exec('/home/atomsDESCRIPTIONget.sci', -1)
>  
> -->atomsRepositoryList
>  ans  =
>  
> !http://(enterprise-copy-of-atoms-official-repository)/  official  !
>  
> -->exec('/home/atomsDESCRIPTIONget.sci', -1)
>  
> -->atomsRepositoryAdd(['file:///home/atoms-repo'])
> OVERLOADED atomsDESCRIPTIONget // I put a mprintf just to be sure the
> right file is taken into account
>  
>  !--error 10000 
> atomsDESCRIPTIONget : L'extraction du fichier DESCRIPTION
> ('/tmp/SCI_TMP_24966_aBy0jb/.atoms/1_TOOLBOXES.gz') a échoué.
> at line     182 of function atomsDESCRIPTIONget called by :  
> at line     142 of function atomsRepositoryAdd called by :  
> atomsRepositoryAdd(['file:///home/atoms-repo'])
> 
> -->atomsRepositoryAdd(['file:///home/atoms-repo.zip'])
> OVERLOADED atomsDESCRIPTIONget
>  
>     
>  !--error 10000 
> atomsDESCRIPTIONget : L'extraction du fichier DESCRIPTION
> ('/tmp//SCI_TMP_24966_aBy0jb/.atoms/1_TOOLBOXES.gz') a échoué.
> at line     182 of function atomsDESCRIPTIONget called by :  
> at line     142 of function atomsRepositoryAdd called by :  
> atomsRepositoryAdd(['file:///home/cea/pp607946/atoms-repo.zip'])
> 
> -->atomsRepositoryList
>  ans  =
>  
> !http://(enterprise-atoms)/  official        !
> !                                                       !
> !file:///home/atoms-repo         user      !
> !                                                       !
> !file:///home/atoms-repo.zip     user      !

Strangely, the url were added to the RepositoryList



--
View this message in context: http://mailinglists.scilab.org/Scilab-users-Set-up-a-ATOMS-repo-tp4035633p4035641.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list