<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 27/08/2018 à 15:39, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:b556895b-5a38-1283-bbf2-37d3f78bce72@free.fr">Le
      27/08/2018 à 15:31, philippe a écrit :
      <br>
      <blockquote type="cite">Le 27/08/2018 à 12:24, Samuel Gougeon a
        écrit :
        <br>
        <blockquote type="cite">Hello Philippe,
          <br>
          <br>
          No problem for me.
          <br>
          You may have used listvarinfile() at a moment during your
          trials or work.
          <br>
        </blockquote>
        no Samuel, the file val.sod doesn't exists in the directory,
        save don't
        <br>
        create the file due to the error.
        <br>
        <br>
        Perhaps the bug could depend on operating system ?
        <br>
      </blockquote>
      <br>
      Have you tried
      <br>
      <br>
      a=eye(2,2);b=ones(a);
      <br>
      save(TMPDIR+"/val.sod", "a", "b");
      <br>
    </blockquote>
    I tried it and the problem is still present. It's an HDF5 problem.<br>
    Here is my script:<br>
    <br>
    <blockquote>a=1;save(TMPDIR+"val.sod","a")<br>
    </blockquote>
    <br>
    Here is the error in the console:<br>
    <br>
    <blockquote>save : Impossible d'exporter la variable 'a' dans le
      fichier '/tmp/SCI_TMP_3234_HqbriAval.sod'.<br>
    </blockquote>
    <br>
    and here is the error message in the terminal:<br>
    <br>
    <blockquote>HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
      139709281875840:<br>
        #000: ../../../src/H5G.c line 553 in H5Gget_info(): invalid
      argument<br>
          major: Invalid arguments to routine<br>
          minor: Bad value<br>
      HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
      139709281875840:<br>
        #000: ../../../src/H5D.c line 121 in H5Dcreate2(): not a
      location ID<br>
          major: Invalid arguments to routine<br>
          minor: Inappropriate type<br>
        #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid
      object ID<br>
          major: Invalid arguments to routine<br>
          minor: Bad value<br>
      HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
      139709281875840:<br>
        #000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID<br>
          major: Invalid arguments to routine<br>
          minor: Inappropriate type<br>
      failed to close file<br>
    </blockquote>
    It seems to me that something is broken with hdf5 for 6.0.1 under
    18.04.<br>
    Philippe, could you report a bug?<br>
    <br>
    Cheers,<br>
    <br>
    Antoine<br>
    <br>
    <br>
    <blockquote type="cite"
      cite="mid:b556895b-5a38-1283-bbf2-37d3f78bce72@free.fr">
      <br>
      ?
      <br>
      <br>
      _______________________________________________
      <br>
      users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>