[Scilab-users] unable to read a hdf5 file under windows

classic Classic list List threaded Threaded
3 messages Options
paul.carrico paul.carrico
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] unable to read a hdf5 file under windows

Hi All

I'm still wondering why I cannot open a hdf5 file under windows, while it works find under linux

(I'm using the latest scilab release in both cases - hdf5 file was made using h5py librarie)

The path & file name are corect, so ?????

Any trouble under windows?

Paul

####################

PATH = get_absolute_file_path("test_read_hdf5.sce");
fichier = "Results_gzip.h5";
resu = h5open(PATH + fichier);

h5open : Impossible d'ajouter des données au fichier (non HDF5) : D:\***\Results_gzip.h5.
Description HDF5: unable to open file: name = 'D:\***\Results_gzip.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0.


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
amonmayr amonmayr
Reply | Threaded
Open this post in threaded view
|

Re: unable to read a hdf5 file under windows

Le 19/03/2018 à 11:35, [hidden email] a écrit :

Hi All

I'm still wondering why I cannot open a hdf5 file under windows, while it works find under linux

(I'm using the latest scilab release in both cases - hdf5 file was made using h5py librarie)

The path & file name are corect, so ?????

Any trouble under windows?

Paul

####################

PATH = get_absolute_file_path("test_read_hdf5.sce");
fichier = "Results_gzip.h5";
resu = h5open(PATH + fichier);

h5open : Impossible d'ajouter des données au fichier (non HDF5) : D:\***\Results_gzip.h5.
Description HDF5: unable to open file: name = 'D:\***\Results_gzip.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0.



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

That's weird.
Can you share a small hdf5 file that exhibits this problem?
I might try to read it from linux/windows.
The only windows-specific hdf5 bug I am aware of is related to unknown types for some integers.
Are you sure your problem is not something related to the difference in path definition & handling between linux and windows?


Antoine



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
paul.carrico paul.carrico
Reply | Threaded
Open this post in threaded view
|

Re: unable to read a hdf5 file under windows

I finally found what went wrong… a latin letter in the path with ‘é’ …

Now it works ... sorry

Paul


Le 2018-03-19 13:00, [hidden email] a écrit :

Le 19/03/2018 à 11:35, [hidden email] a écrit :

Hi All

I'm still wondering why I cannot open a hdf5 file under windows, while it works find under linux

(I'm using the latest scilab release in both cases - hdf5 file was made using h5py librarie)

The path & file name are corect, so ?????

Any trouble under windows?

Paul

####################

PATH = get_absolute_file_path("test_read_hdf5.sce");
fichier = "Results_gzip.h5";
resu = h5open(PATH + fichier);

h5open : Impossible d'ajouter des données au fichier (non HDF5) : D:\***\Results_gzip.h5.
Description HDF5: unable to open file: name = 'D:\***\Results_gzip.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0.



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

That's weird.
Can you share a small hdf5 file that exhibits this problem?
I might try to read it from linux/windows.
The only windows-specific hdf5 bug I am aware of is related to unknown types for some integers.
Are you sure your problem is not something related to the difference in path definition & handling between linux and windows?


Antoine



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users