<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - export_to_hdf5() fails exporting lists, mlists or tlists with undefined componen"
href="http://bugzilla.scilab.org/show_bug.cgi?id=8382">bug 8382</a>
<br><br>
---------- Bug Summary ----------- <br>export_to_hdf5() fails exporting lists, mlists or tlists with undefined componen <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">URL</td>
<td>-->L = list(%pi,"Text")
L =
list with entries:
(1) 3.1415927
(2) "Text"
-->export_to_hdf5("test.dat","L")
ans =
T
// OK. Now, insert an undefined component:
-->L = list(%pi,,"Text")
L =
list with entries:
(1) 3.1415927
(3) "Text"
-->export_to_hdf5("test.dat","L")
ans =
F
// The same issue occurs with a mlist or a tlist:
-->L = tlist(["test" "num" "pol" "txt"],%pi,,"Text")
L =
tlist of type "test" with fields:
.num 3.1415927
.pol (undefined)
.txt "Text"
-->export_to_hdf5("test.dat","L")
ans =
F
-->L = mlist(["test" "num" "pol" "txt"],%pi,,"Text")
L =
mlist of type "test" with fields:
.num 3.1415927
.pol (undefined)
.txt "Text"
-->export_to_hdf5("test.dat","L")
ans =
F
-->L=mlist(["test" "num" "txt"],%pi,"Text")
L =
mlist of type "test" with fields:
.num 3.1415927
.txt "Text"
-->export_to_hdf5("test.dat","L")
ans =
T
// HOWEVER: It has sometimes been successfull (very seldomly). Then reading
// a export with an undefined component has yields the following:
list with entries:
(1) 3.1415927
(2) "Text"
(4) z
(7) z
UNDEFINED fields # 3,5-6
-->export_to_hdf5("test.dat","L")
ans =
T
// I have failed reproducing this and the following
-->import_from_hdf5("test.dat","L")
ans =
T
-->L
L =
list with entries:
(1) 3.1415927
(2) "Text"
(3) z
(4) z
(5) z
(6) z
(7) z
// Undefined positions were apparently filled with the latest defined one.
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Input / output
</td>
<td>Data import/export
</td>
</tr></table>
<p>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>