Skip to content

Instantly share code, notes, and snippets.

@scopatz
Created February 21, 2014 09:00
Show Gist options
  • Save scopatz/9130979 to your computer and use it in GitHub Desktop.
Save scopatz/9130979 to your computer and use it in GitHub Desktop.
pyne/pyne#313 failures
scopatz@ares ~/pyne/tests crbates-nds_data $ nosetests
/usr/lib/python2.7/dist-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin KnownFailure = matplotlib.testing.noseclasses:KnownFailure: (pyparsing 2.0.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('pyparsing>=1.5.6,<2.0.0'))
RuntimeWarning)
.....................................................................................................................Requested faceting tolerance: 0
Using faceting tolerance: 0.001
The implicit complement bounds 6 surfaces
The implicit complement's total surface area = 431.475
..................E............E.................................................................................................................................................................................................................................................................................................................................................................................................................E..................................................................................................................................
======================================================================
ERROR: test_data.test_nds_fpyield
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/scopatz/pyne/tests/test_data.py", line 47, in test_nds_fpyield
assert_equal(data.fpyield('Th-232', 'Eu-154', 3), 9.6000E-8)
File "data.pyx", line 308, in pyne.data.fpyield (/home/scopatz/pyne/build/pyne/data.cxx:3547)
MemoryError: std::bad_alloc
======================================================================
ERROR: test_data_checksums.test_internal_hashes
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/scopatz/pyne/tests/test_data_checksums.py", line 20, in test_internal_hashes
hashtools.set_internal_hashes(pyne.nuc_data)
File "/home/scopatz/.local/lib/python2.7/site-packages/pyne/dbgen/hashtools.py", line 47, in set_internal_hashes
set_hash(item, nuc_data)
File "/home/scopatz/.local/lib/python2.7/site-packages/pyne/dbgen/hashtools.py", line 114, in set_hash
with tables.openFile(nuc_data, mode='a') as f:
File "/home/scopatz/.local/lib/python2.7/site-packages/tables/_past.py", line 35, in oldfunc
return obj(*args, **kwargs)
File "/home/scopatz/.local/lib/python2.7/site-packages/tables/file.py", line 318, in open_file
return File(filename, mode, title, root_uep, filters, **kwargs)
File "/home/scopatz/.local/lib/python2.7/site-packages/tables/file.py", line 791, in __init__
self._g_new(filename, mode, **params)
File "hdf5extension.pyx", line 477, in tables.hdf5extension.File._g_new (tables/hdf5extension.c:4761)
HDF5ExtError: HDF5 error back trace
File "H5F.c", line 1585, in H5Fopen
unable to open file
File "H5F.c", line 1310, in H5F_open
file is already open for read-only
End of HDF5 error back trace
Unable to open/create file '/home/scopatz/.local/lib/python2.7/site-packages/pyne/nuc_data.h5'
======================================================================
ERROR: test_origen22.test_xslibs
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/scopatz/pyne/tests/test_origen22.py", line 485, in test_xslibs
obs = origen22.xslibs(nucs=nucs, xscache=xsc, nlb=(42, 43, 44))
File "/home/scopatz/.local/lib/python2.7/site-packages/pyne/origen22.py", line 1450, in xslibs
_compute_xslib(nuc, key, t9[nlb[2]], xscache)
File "/home/scopatz/.local/lib/python2.7/site-packages/pyne/origen22.py", line 1392, in _compute_xslib
data[key] = _xslib_computers[field](nuc, xscache)
File "/home/scopatz/.local/lib/python2.7/site-packages/pyne/origen22.py", line 1380, in <lambda>
'CF249_fiss_yield': lambda nuc, xscache: data.fpyield(982490000, nuc),
File "data.pyx", line 308, in pyne.data.fpyield (/home/scopatz/pyne/build/pyne/data.cxx:3547)
MemoryError: std::bad_alloc
----------------------------------------------------------------------
Ran 681 tests in 4.427s
FAILED (errors=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment