[yt-users] Bad object header error

Jean-Claude Passy jcpassy at gmail.com
Wed Aug 4 17:40:33 PDT 2010


  Hi all,

I have slightly modified some output data from Enzo. I edited the 
datasets in the .cpu**** files, the .boundary files, the restart file, 
etc... So far, I was using only a unigrid and I was able to restart Enzo 
with this 'edited' data and to manipulate it without any problem.
Now, I am tried to do the same thing on a data with several grids and 
the following error occurred:

###########################################################################################
[17:22:23] osprey:$ python error_header.py --paste
Traceback (most recent call last):
   File "error_header.py", line 6, in <module>
     pf.h.print_stats()
   File 
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/OutputTypes.py", 
line 150, in _get_hierarchy
     self.__hierarchy = self._hierarchy_class(self, 
data_style=self.data_style)
   File 
"/rpod2/jcpassy/yt-x86_64/src/yt-trunk-svn/yt/lagos/HierarchyType.py", 
line 359, in __init__
     harray_fp = h5py.File(harray_fn)
   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 642, in __init__
     Group.__init__(self, self, '/')
   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 232, in __init__
     self.id = h5g.open(parent_object.id, name)
   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
     return func(*args, **kwds)
   File "h5g.pyx", line 125, in h5py.h5g.open (h5py/h5g.c:1470)
h5py.h5e.ObjectHeaderError: Bad object header version number (Object 
header layer: Wrong version number)

Traceback pasted to http://paste.enzotools.org/show/n4Oufpec7uJVOh80RzkX
##################################################################################################

I have included the script. I can upload the data in a drop.io is necessary.

Does anyone have an idea how to solve this problem ?

Thanks for your help,

JC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_header.py
Type: text/x-python-script
Size: 140 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20100804/dfad4ab8/attachment-0001.bin>


More information about the yt-users mailing list