[Scilab-users] save and *.sod broken in scilab6 ?
antoine monmayrant
antoine.monmayrant at laas.fr
Mon Aug 27 15:47:55 CEST 2018
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180827/0b8661b3/attachment.htm>
More information about the users
mailing list