Opened 9 years ago

Last modified 9 years ago

#51139 new defect

py-pyne hdf5 byg

Reported by: ith140@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-pyne

Description

Although the port builds correctly for py27 and py34, the hdf5 database that is suppose to accompany this fails. The results of nuc_data_make-2.7 --fetch-prebuilt False are shown below:


Making nuc_data at /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyne/nuc_data.h5
Copying AME 2012 atomic mass data.
Making atomic mass data table.
Traceback (most recent call last):
  File "/opt/local/bin/nuc_data_make-2.7", line 6, in <module>
    main()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyne/dbgen/nuc_data_make.py", line 155, in main
    make_map[mo](args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyne/dbgen/atomic_mass.py", line 155, in make_atomic_mass
    make_atomic_mass_table(nuc_data, build_dir)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyne/dbgen/atomic_mass.py", line 123, in make_atomic_mass_table
    kdb = tb.openFile(nuc_data, 'a', filters=BASIC_FILTERS)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/_past.py", line 35, in oldfunc
    return obj(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/file.py", line 318, in open_file
    return File(filename, mode, title, root_uep, filters, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/file.py", line 819, in __init__
    root._g_post_init_hook()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/group.py", line 259, in _g_post_init_hook
    set_attr('FILTERS', newfilters)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/attributeset.py", line 403, in _g__setattr
    self._g_setattr(self._v_node, name, stvalue)
  File "tables/hdf5extension.pyx", line 696, in tables.hdf5extension.AttributeSet._g_setattr (tables/hdf5extension.c:7549)
tables.exceptions.HDF5ExtError: HDF5 error back trace

  File "H5A.c", line 634, in H5Awrite
    not an attribute

End of HDF5 error back trace

Can't set attribute 'FILTERS' in node:
 / (RootGroup) ''.
Closing remaining open files:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyne/nuc_data.h5...done

Change History (3)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Please do not Cc nomaintainer because it is not a valid email address.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Cc: nomaintainer removed

comment:3 Changed 9 years ago by brorfred@…

I get the same error when using df.to_hdf in pandas.

Note: See TracTickets for help on using tickets.