<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 28/02/2017 à 16:19, Pierre Payen a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAKLkn_azcqvtijeBekMdYxW3KmqDEu6ZzOzij1t6Q3cwSZyNQw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Hi, <br>
                    <br>
                  </div>
                  I want to set up a simple ATOMS repo as in <a
                    moz-do-not-send="true"
                    href="https://wiki.scilab.org/ATOMS/localrepository;">https://wiki.scilab.org/ATOMS/localrepository</a><br>
                </div>
                But after downloadding the archive -renamed to
                atoms-repo.zip- , when i do<br>
                <br>
              </div>
              --> atomsRepositoryAdd('<a class="moz-txt-link-freetext" href="file:///path/to/atoms-repo">file:///path/to/atoms-repo</a>')<br>
            </div>
            <div>OR<br>
              -->
              atomsRepositoryAdd('<a class="moz-txt-link-freetext" href="file:///path/to/atoms-repo.zip">file:///path/to/atoms-repo.zip</a>')<br>
            </div>
            <br>
            I get either<br>
            <br>
            <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px
              solid rgb(204,204,204);padding-left:1ex"
              class="gmail_quote">ans = <br>
                0<br>
            </blockquote>
            <br>
            OR<br>
          </div>
        </div>
        <br>
        <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px
          solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">!--error
          10000 <br>
          atomsDESCRIPTIONget : L'extraction du fichier DESCRIPTION
          ('/tmp/user/SCI_TMP_16335_bZRcC8/.atoms/1_TOOLBOXES.gz') a
          échoué.<br>
          at line     182 of function atomsDESCRIPTIONget called by :  <br>
          at line     142 of function atomsRepositoryAdd called by :  <br>
          atomsRepositoryAdd('<a class="moz-txt-link-freetext" href="file:///path/to/atoms-repo.zip">file:///path/to/atoms-repo.zip</a>')<br>
        </blockquote>
        <div>
          <div><br>
            <div>
              <div>So : how can I set up a personnal repo ? (locally or
                remotely).<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Please try the following:<br>
edit("SCI/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci",194)<br>
    // It is the line #178 in local numbering<br>
    //replace the line #178<br>
    extract_cmd = """" + gzip_path + """" + " -d """ + file_out + """";<br>
    //with<br>
    extract_cmd = """" + gzip_path + """" + " <b><font color="#cc0000">-f
      </font></b>-d """ + file_out + """";<br>
    <br>
    //Save the file. Then do:<br>
    cd SCI/modules/atoms/macros/atoms_internals/<br>
    predef clear                     // unprotect libraries to be able
    to recompile atomsinternalslib<br>
    genlib atomsinternalslib // recompile the sub-library to take the
    change into account<br>
    <br>
    //Then, try to rerun the ATOMS Gui..<br>
    <br>
    <br>
    HTH<br>
    Samuel<br>
    <br>
  </body>
</html>