[MacPorts] #51139: py-pyne hdf5 byg

MacPorts noreply at macports.org
Wed Apr 13 12:50:04 PDT 2016


#51139: py-pyne hdf5 byg
----------------------+--------------------------------
 Reporter:  ith140@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.4
 Keywords:            |       Port:  py-pyne
----------------------+--------------------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51139>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list