[Scilab-users] save and *.sod broken in scilab6 ?

antoine monmayrant antoine.monmayrant at laas.fr
Mon Aug 27 16:20:18 CEST 2018


OK, here is what I did:


- in scilab-master-1534776009: OK
     a=1; save("val.sod", "a");listvarinfile("val.sod");clear 
a;load("val.sod");disp(a);

- in scilab 6.0.1 : NOK
     a=1; save("val.sod", "a");listvarinfile("val.sod");clear 
a;load("val.sod");disp(a);

     save : Impossible d'exporter la variable 'a' dans le fichier 'val.sod'.

HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140037156050816:
   #000: ../../../src/H5G.c line 553 in H5Gget_info(): invalid argument
     major: Invalid arguments to routine
     minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140037156050816:
   #000: ../../../src/H5D.c line 121 in H5Dcreate2(): not a location ID
     major: Invalid arguments to routine
     minor: Inappropriate type
   #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
     major: Invalid arguments to routine
     minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140037156050816:
   #000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID
     major: Invalid arguments to routine
     minor: Inappropriate type
failed to close file

- in scilab 6.0.0 : NOK (other bug):
./scilab-6.0.0/bin/scilab
Cannot find this look and feel:
[GTK look and feel - com.sun.java.swing.plaf.gtk.GTKLookAndFeel] not 
supported on this platform
Segmentation fault (core dumped)


Le 27/08/2018 à 15:47, antoine monmayrant a écrit :
>
>
> Le 27/08/2018 à 15:39, Samuel Gougeon a écrit :
>> Le 27/08/2018 à 15:31, philippe a écrit :
>>> Le 27/08/2018 à 12:24, Samuel Gougeon a écrit :
>>>> Hello Philippe,
>>>>
>>>> No problem for me.
>>>> You may have used listvarinfile() at a moment during your trials or 
>>>> work.
>>> no Samuel, the file val.sod doesn't exists in the directory, save don't
>>> create the file due to the error.
>>>
>>> Perhaps the bug could depend on operating system ?
>>
>> Have you tried
>>
>> a=eye(2,2);b=ones(a);
>> save(TMPDIR+"/val.sod", "a", "b");
> I tried it and the problem is still present. It's an HDF5 problem.
> Here is my script:
>
>    a=1;save(TMPDIR+"val.sod","a")
>
>
> Here is the error in the console:
>
>    save : Impossible d'exporter la variable 'a' dans le fichier
>    '/tmp/SCI_TMP_3234_HqbriAval.sod'.
>
>
> and here is the error message in the terminal:
>
>    HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
>    139709281875840:
>       #000: ../../../src/H5G.c line 553 in H5Gget_info(): invalid 
> argument
>         major: Invalid arguments to routine
>         minor: Bad value
>    HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
>    139709281875840:
>       #000: ../../../src/H5D.c line 121 in H5Dcreate2(): not a 
> location ID
>         major: Invalid arguments to routine
>         minor: Inappropriate type
>       #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid 
> object ID
>         major: Invalid arguments to routine
>         minor: Bad value
>    HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread
>    139709281875840:
>       #000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID
>         major: Invalid arguments to routine
>         minor: Inappropriate type
>    failed to close file
>
> It seems to me that something is broken with hdf5 for 6.0.1 under 18.04.
> Philippe, could you report a bug?
>
> Cheers,
>
> Antoine
>
>
>>
>> ?
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>>
>
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180827/7f7908ad/attachment.htm>


More information about the users mailing list