Discussion:
duidata hdf5.py test failed
Steve
2011-08-11 15:56:03 UTC
Permalink
I attempted to run hdf5.py, but when I committed the changes to the
form, I get the traceback below.
I am running Ubuntu 11.04, python 2.7.1, spyder 2.0.12, h5py 1.3.1,
and guidata v1.3.2.

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/guidata/tests/hdf5.py",
line 39, in <module>
e.serialize(writer)
File "/usr/local/lib/python2.7/dist-packages/guidata/dataset/
datatypes.py", line 793, in serialize
item.serialize(self, writer)
File "/usr/local/lib/python2.7/dist-packages/guidata/dataset/
datatypes.py", line 375, in serialize
value.serialize(writer)
File "/usr/local/lib/python2.7/dist-packages/guidata/dataset/
datatypes.py", line 793, in serialize
item.serialize(self, writer)
File "/usr/local/lib/python2.7/dist-packages/guidata/dataset/
datatypes.py", line 379, in serialize
writer.write_sequence(value)
File "/usr/local/lib/python2.7/dist-packages/guidata/hdf5io.py",
line 193, in write_any
group.attrs[self.option[-1]] = val
File "/usr/lib/pymodules/python2.7/h5py/highlevel.py", line 1416, in
__setitem__
self.create(name, data=value, dtype=_guess_dtype(value))
File "/usr/lib/pymodules/python2.7/h5py/highlevel.py", line 1457, in
create
htype = h5t.py_create(dtype, logical=True)
File "h5t.pyx", line 1340, in h5py.h5t.py_create (h5py/h5t.c:10991)
File "h5t.pyx", line 1416, in h5py.h5t.py_create (h5py/h5t.c:10901)
TypeError: No conversion path for dtype: dtype('<U30')

Loading...