<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>OK, here is what I did:</p>
    <p><br>
    </p>
    <p>- in scilab-master-1534776009: OK<br>
          a=1; save("val.sod", "a");listvarinfile("val.sod");clear
      a;load("val.sod");disp(a);</p>
    <p>- in scilab 6.0.1 : NOK<br>
          a=1; save("val.sod", "a");listvarinfile("val.sod");clear
      a;load("val.sod");disp(a);<br>
      <br>
          save : Impossible d'exporter la variable 'a' dans le fichier
      'val.sod'.<br>
    </p>
    HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
    140037156050816:<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
    140037156050816:<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
    140037156050816:<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>
    <br>
    - in scilab 6.0.0 : NOK (other bug):<br>
    ./scilab-6.0.0/bin/scilab<br>
    Cannot find this look and feel:<br>
    [GTK look and feel - com.sun.java.swing.plaf.gtk.GTKLookAndFeel] not
    supported on this platform<br>
    Segmentation fault (core dumped)<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Le 27/08/2018 à 15:47, antoine
      monmayrant a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:ef9ff407-e221-a494-4851-57d5b9c625a6@laas.fr">
      <br>
      <br>
      Le 27/08/2018 à 15:39, Samuel Gougeon a écrit :
      <br>
      <blockquote type="cite">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>
         a=1;save(TMPDIR+"val.sod","a")
      <br>
      <br>
      <br>
      Here is the error in the console:
      <br>
      <br>
         save : Impossible d'exporter la variable 'a' dans le fichier
      <br>
         '/tmp/SCI_TMP_3234_HqbriAval.sod'.
      <br>
      <br>
      <br>
      and here is the error message in the terminal:
      <br>
      <br>
         HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
      <br>
         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
      <br>
         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
      <br>
         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>
      <br>
      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">
        <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>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>