[Scilab-users] Set up a ATOMS repo.
Samuel Gougeon
sgougeon at free.fr
Tue Feb 28 22:09:03 CET 2017
Le 28/02/2017 à 16:19, Pierre Payen a écrit :
> Hi,
>
> I want to set up a simple ATOMS repo as in
> https://wiki.scilab.org/ATOMS/localrepository
> <https://wiki.scilab.org/ATOMS/localrepository;>
> But after downloadding the archive -renamed to atoms-repo.zip- , when i do
>
> --> atomsRepositoryAdd('file:///path/to/atoms-repo')
> OR
> --> atomsRepositoryAdd('file:///path/to/atoms-repo.zip')
>
> I get either
>
> ans =
> 0
>
>
> OR
>
> !--error 10000
> atomsDESCRIPTIONget : L'extraction du fichier DESCRIPTION
> ('/tmp/user/SCI_TMP_16335_bZRcC8/.atoms/1_TOOLBOXES.gz') a échoué.
> at line 182 of function atomsDESCRIPTIONget called by :
> at line 142 of function atomsRepositoryAdd called by :
> atomsRepositoryAdd('file:///path/to/atoms-repo.zip')
>
>
> So : how can I set up a personnal repo ? (locally or remotely).
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 + """";
//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
//Then, try to rerun the ATOMS Gui..
HTH
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170228/7e9b185d/attachment.htm>
More information about the users
mailing list