Closed GiulioRomualdi closed 1 year ago
Accordingly to the error there seems to be something wrong with h5py however I'm able to import it in python whith
import h5py
cc @FrancescaBruzzone
I have exactly the same environment, and robot-log-visualizer
works fine for me.
This is the diff between the conda env export
reported in the issue and mine:
--- <unnamed>
+++ <unnamed>
@@ -1,4 +1,4 @@
-name: test-visualizer
+name: rlv
channels:
- robotology
- conda-forge
@@ -143,4 +143,4 @@
- zeromq=4.3.4=h0e60522_1
- zlib=1.2.12=h8ffe710_2
- zstd=1.5.2=h7755175_4
-prefix: C:\Users\gromualdi\AppData\Local\mambaforge\envs\test-visualizer
+prefix: C:\Users\STraversaro\AppData\Local\mambaforge\envs\rlv
Running:
So the issue is probably something else in the laptop. Can you report the output of set
in the command prompt in which you launch robot-log-visualizer
?
I had the same problem of @GiulioRomualdi, I solved exporting the .mat
file using '-v7.3'
in matlab command window, as found in https://github.com/h5py/h5py/issues/757#issuecomment-823757614.
@antonellopaolino can you report how you installed robot-log-visualizer ? It could be something strange on your libmatio installation/build.
Same command
I installed robot log visualizer by running
mamba install -c robotology robot-log-visualizer
Can you report the output of mamba list?
Hi @antonellopaolino, if you saved the mat file with YarpRobotLoggerDevice it should be already compliant with h5py (i.e., v7.3)
Can you report the output of mamba list?
(testvisualizer) C:\Users\apaolino>mamba list
# packages in environment at C:\Users\apaolino\AppData\Local\mambaforge\envs\testvisualizer:
#
# Name Version Build Channel
assimp 5.2.4 hc2aa0de_0 conda-forge
asttokens 2.0.5 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
boost-cpp 1.74.0 h9f4b32c_8 conda-forge
brotli 1.0.9 h2bbff1b_7
brotli-bin 1.0.9 h2bbff1b_7
bzip2 1.0.8 he774522_0
ca-certificates 2022.10.11 haa95532_0
certifi 2022.9.24 py38haa95532_0
colorama 0.4.5 py38haa95532_0
cycler 0.11.0 pyhd3eb1b0_0
decorator 5.1.1 pyhd3eb1b0_0
eigen 3.3.7 h59b6b97_1
executing 0.8.3 pyhd3eb1b0_0
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.10.4 hd328e21_0
glib 2.69.1 h5dc1a3c_1
gst-plugins-base 1.18.5 h9e645db_0
gstreamer 1.18.5 hd78058f_0
h5py 3.7.0 py38h3de5c98_0
hdf5 1.10.6 h1756f20_1
icc_rt 2022.1.0 h6049295_2
icu 58.2 ha925a31_3
icub-models 1.25.0 py38h885f38d_0 conda-forge
idyntree 6.1.0 py38h1bee681_0 conda-forge
intel-openmp 2022.1.0 h59b6b97_3788
ipopt 3.14.8 h99cadeb_0 conda-forge
ipython 8.6.0 py38haa95532_0
irrlicht 1.8.5 h739eaf8_2 conda-forge
jedi 0.18.1 py38haa95532_1
jpeg 9e h2bbff1b_0
kiwisolver 1.4.2 py38hd77b12b_0
lerc 3.0 hd77b12b_0
libblas 3.9.0 16_win64_mkl conda-forge
libbrotlicommon 1.0.9 h2bbff1b_7
libbrotlidec 1.0.9 h2bbff1b_7
libbrotlienc 1.0.9 h2bbff1b_7
libcblas 3.9.0 16_win64_mkl conda-forge
libclang 12.0.0 default_h627e005_2
libdeflate 1.8 h2bbff1b_5
libffi 3.4.2 hd77b12b_4
libflang 5.0.0 h6538335_20180525 conda-forge
libiconv 1.16 h2bbff1b_2
liblapack 3.9.0 16_win64_mkl conda-forge
libogg 1.3.5 h2bbff1b_1
libosqp 0.6.2 h0e60522_3 conda-forge
libpng 1.6.37 h2a8f88b_0
libsodium 1.0.18 h62dcd97_0
libtiff 4.4.0 h8a3f274_2
libvorbis 1.3.7 he774522_0
libwebp 1.2.4 h2bbff1b_0
libwebp-base 1.2.4 h2bbff1b_0
libxml2 2.9.14 h0ad7f3c_0
libxslt 1.1.35 h2bbff1b_0
libzlib 1.2.12 h8ffe710_2 conda-forge
llvm-meta 5.0.0 0 conda-forge
lz4-c 1.9.3 h2bbff1b_1
matplotlib 3.5.3 py38haa95532_0
matplotlib-base 3.5.3 py38he529843_0 conda-forge
matplotlib-inline 0.1.6 py38haa95532_0
meshcat-python 0.3.2 pyhd8ed1ab_0 conda-forge
metis 5.1.0 h6538335_4
mkl 2022.1.0 h6a75c08_874 conda-forge
mumps-seq 5.2.1 hb3f9cae_11 conda-forge
munkres 1.1.4 py_0
numpy 1.23.2 py38h223ccf5_0 conda-forge
openmp 5.0.0 vc14_1 conda-forge
openssl 1.1.1s h2bbff1b_0
osqp-eigen 0.7.0 h0e60522_0 conda-forge
packaging 21.3 pyhd3eb1b0_0
parso 0.8.3 pyhd3eb1b0_0
pcre 8.45 hd77b12b_0
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 9.2.0 py38hdc2b20a_1
pip 22.2.2 py38haa95532_0
ply 3.11 py38_0
prompt-toolkit 3.0.20 pyhd3eb1b0_0
pure_eval 0.2.2 pyhd3eb1b0_0
pygments 2.11.2 pyhd3eb1b0_0
pyngrok 5.1.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.9 py38haa95532_0
pyqt 5.15.7 py38hd77b12b_0
pyqt5-sip 12.11.0 py38hd77b12b_0
pyqtconsole 1.2.2 pyhd8ed1ab_0 conda-forge
pyqtwebengine 5.15.7 py38hd77b12b_0
python 3.8.15 h82bb817_0
python-dateutil 2.8.2 pyhd3eb1b0_0
python_abi 3.8 2_cp38 conda-forge
pyyaml 6.0 py38h2bbff1b_1
pyzmq 23.2.0 py38hd77b12b_0
qt-main 5.15.2 he8e5bd7_7
qt-webengine 5.15.9 hb9a9bb5_4
qtpy 2.2.0 py38haa95532_0
qtwebkit 5.212 h3ad3cdb_4
robot-log-visualizer 0.2.2 py38h4317176_64 robotology
sdl 1.2.52 h0e60522_1 conda-forge
sdl2 2.0.22 h0e60522_2 conda-forge
setuptools 65.5.0 py38haa95532_0
sip 6.6.2 py38hd77b12b_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.39.3 h2bbff1b_0
stack_data 0.2.0 pyhd3eb1b0_0
tbb 2021.6.0 h59b6b97_0
tk 8.6.12 h2bbff1b_0
toml 0.10.2 pyhd3eb1b0_0
tornado 6.2 py38h2bbff1b_0
traitlets 5.1.1 pyhd3eb1b0_0
u-msgpack-python 2.7.2 pyhd8ed1ab_0 conda-forge
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wcwidth 0.2.5 pyhd3eb1b0_0
wheel 0.37.1 pyhd3eb1b0_0
wincertstore 0.2 py38haa95532_2
xz 5.2.6 h8cc25b3_0
yaml 0.2.5 he774522_0
zeromq 4.3.4 hd77b12b_0
zlib 1.2.12 h8cc25b3_2
zstd 1.5.2 h19a0ad4_0
Hi @antonellopaolino, if you saved the mat file with YarpRobotLoggerDevice it should be already compliant with h5py (i.e., v7.3)
I generated it converting the data format from a Simulink workspace saved during iRonCub experiments, since I was saving it with a default version it was not working before with the same error reported by @GiulioRomualdi, but after specifying the 7.3 version in matlab it worked for me without any problems.
https://github.com/ami-iit/robot-log-visualizer/issues/46#issuecomment-1321752924 now seems that everything is working on windows. Closing
I installed robot log visualizer by running
when I tried to run the application I got the following error
cc @traversaro