Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9457

test failure due to esutil/numpy problem

    Details

    • Templates:
    • Story Points:
      2

      Description

      I'm seeing a test failure in meas_algorithms due to what looks like a failure of esutil compiled code to import the NumPy C API:

      ======================================================================
      ERROR: setUpClass (__main__.HtmIndexTestCase)
      ----------------------------------------------------------------------
      ImportError: numpy.core.multiarray failed to import
       
      The above exception was the direct cause of the following exception:
       
      Traceback (most recent call last):
        File "tests/testHtmIndex.py", line 125, in setUpClass
          cls.indexer = IndexerRegistry['HTM'](config)
        File "/home/jbosch/LSST/sw/build/meas_algorithms/python/lsst/meas/algorithms/indexerRegistry.py", line 44, in makeHtmIndexer
          return HtmIndexer(depth=config.depth)
        File "/home/jbosch/LSST/sw/build/meas_algorithms/python/lsst/meas/algorithms/htmIndexer.py", line 34, in __init__
          self.htm = esutil.htm.HTM(depth)
        File "/home/jbosch/LSST/sw/stack/Linux64/esutil/0.6.0+1/lib/python/esutil/htm/htmc.py", line 152, in __init__
          this = _htmc.new_HTMC(depth)
      SystemError: <built-in function new_HTMC> returned a result with an error set
      

      This is Python 3.6 and Numpy 1.12, so it's likely I'm seeing the problem because I'm pushing to newer versions than anyone else.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbosch Jim Bosch
                Watchers:
                Jim Bosch, Simon Krughoff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel