<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear all,<br>
<br>
I am encountering some issues when running the script enclosed:<br>
<address><br>
######################################################################################################<br>
loading DM_part/DD0001/CommonEnvelope0001</address>
<address>yt         INFO       2010-06-03 17:36:57,270 Storing the
binary hierarchy</address>
<address>yt         INFO       2010-06-03 17:36:57,523 Gathering a
field list (this may take a moment.)</address>
<address>Traceback (most recent call last):</address>
<address>  File "script2body.py", line 39, in <module></address>
<address>    region = data.h.region([0.5, 0.5, 0.5], [0.0, 0.0, 0.0],
[1.0, 1.0, 1.0])</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/OutputTypes.py",
line 150, in _get_hierarchy</address>
<address>    self.__hierarchy = self._hierarchy_class(self,
data_style=self.data_style)</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/HierarchyType.py",
line 374, in __init__</address>
<address>    AMRHierarchy.__init__(self, pf, data_style)</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/HierarchyType.py",
line 64, in __init__</address>
<address>    self._detect_fields()</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/HierarchyType.py",
line 615, in _detect_fields</address>
<address>   
self.save_data(list(field_list),"/","DataFields",passthrough=True)</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/HierarchyType.py",
line 192, in _save_data</address>
<address>    arr = myGroup.create_dataset(name,data=array)</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg/h5py/highlevel.py",
line 353, in create_dataset</address>
<address>    return Dataset(self, name, *args, **kwds)</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg/h5py/highlevel.py",
line 856, in __init__</address>
<address>    space_id = h5s.create_simple(shape, maxshape)</address>
<address>  File
"/rpod2/jcpassy/yt-x86_64/lib/python2.6/site-packages/h5py-1.2.0-py2.6-linux-x86_64.egg/h5py/_sync.py",
line 88, in wrap</address>
<address>    return func(*args, **kwds)</address>
<address>  File "h5s.pyx", line 106, in h5py.h5s.create_simple
(h5py/h5s.c:973)</address>
<address>h5py._stub.ValueError: Zero sized dimension for non-unlimited
dimension (Function arguments: Bad value)<br>
######################################################################################################<br>
<br>
</address>
The weird thing is that if I run the script again, it works and then
breaks when trying to read the next file
(DM_part/DD0001/CommonEnvelope0001), and so on... Data contain only 2
particles without gas and as far as I remember, I could execute those
commands without problems before.<br>
<br>
I would appreciate if someone could help me with that.<br>
Thanks a lot,<br>
<br>
Jean-Claude<br>
</body>
</html>