SciTools / iris

A powerful, format-agnostic, and community-driven Python package for analysing and visualising Earth science data
https://scitools-iris.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
634 stars 283 forks source link

Fix unit test #2991

Closed bjlittle closed 3 years ago

bjlittle commented 6 years ago

Reference failure

======================================================================
ERROR: Failure: AttributeError (/home/travis/miniconda/envs/test-environment/lib/libesmf_fullylinked.so: undefined symbol: ESMC_InterfaceIntSet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/scitools_iris-2.1.0.dev0-py2.7.egg/iris/tests/experimental/regrid/test_regrid_conservative_via_esmpy.py", line 38, in <module>
    import ESMF
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/ESMF/__init__.py", line 56, in <module>
    from api.esmpymanager import *
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/ESMF/api/esmpymanager.py", line 11, in <module>
    from ESMF.interface.cbindings import *
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/ESMF/interface/cbindings.py", line 171, in <module>
    _ESMF.ESMC_InterfaceIntSet.restype = ct.c_int
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/ctypes/__init__.py", line 379, in __getattr__
    func = self.__getitem__(name)
  File "/home/travis/miniconda/envs/test-environment/lib/python2.7/ctypes/__init__.py", line 384, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /home/travis/miniconda/envs/test-environment/lib/libesmf_fullylinked.so: undefined symbol: ESMC_InterfaceIntSet

From travis-ci log

pelson commented 6 years ago

@bjlittle - given travis is green, was this fixed?

pelson commented 6 years ago

Ping @bjlittle. Feel free to close this if so.