Skip to content

Incompatibility with the latest alpscore #11

@shinaoka

Description

@shinaoka

"make test" does not succeed with the latest ALPSCore.
Typical errors are shown below.
Do you reproduce this problem?

make test
Running tests...
/opt/local/bin/ctest --force-new-ctest-process
Test project /Users/hiroshi/build/alpscore-python
Start 1: hdf5
1/3 Test #1: hdf5 .............................***Failed 0.80 sec
============================= test session starts ==============================
platform darwin -- Python 2.7.13, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
rootdir: /Users/hiroshi, inifile:
collected 13 items

../../../ClionProjects/ALPSCore-Python/test/hdf5_test.py .....FFFFFFFF

=================================== FAILURES ===================================
_________________________________ test_complex _________________________________

oar = <alps.alps_c.pyhdf5_c.hdf5_archive_impl object at 0x10fff2470>

def test_complex(oar):
    oar["/cmplx"]=complex(1.5,2.25)
  check_scalar(oar, "/cmplx", complex, complex(1.5,2.25))

../../../ClionProjects/ALPSCore-Python/test/hdf5_test.py:111:


ar = <alps.alps_c.pyhdf5_c.hdf5_archive_impl object at 0x10fff2470>
name = '/cmplx', vtype = <type 'complex'>, expected_val = (1.5+2.25j)

def check_scalar(ar,name,vtype,expected_val):
    ext=ar.extent(name)
    assert len(ext)==1 #, ("Invalid extent length for scalar \"%s\"" % name)
    assert ext[0]==1 #, ("Invalid extent value for scalar \"%s\"" % name)
  x = ar[name]

E SystemError: NULL result without error in PyObject_Call

../../../ClionProjects/ALPSCore-Python/test/hdf5_test.py:22: SystemError

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions