The bit we needed was the test failure reports right at the end. The default dump in the eups error report is just the final few lines and truncates a bit too early.
That might be the problem. We’ve only really tested with the C locale. Hopefully Python 3 will make a lot of this easier (v12.1 does have experimental Python 3 support for the bulk of lsst_apps and v13.0 will have experimental support for all of lsst_apps).
Traceback (most recent call last):
File "tests/rgb.py", line 335, in testWriteStarsLegacyAPI
File "tests/rgb.py", line 330, in writeFileLegacyAPI
File "/home/yuanshuo/Works_Neptune/LSST/EupsBuildDir/Linux64/afw-12.0/afw-12.0/python/lsst/afw/display/rgb.py", line 401, in write
File "/home/yuanshuo/Works_Neptune/LSST/EupsBuildDir/Linux64/afw-12.0/afw-12.0/python/lsst/afw/display/rgb.py", line 379, in writeRGB
So all the failures relate to using matplotlib to save an RGB image to disk. The trigger is because it’s rebuilding the font cache (this gets disabled in our tests because it triggered race conditions on older matplotlib versions [pre v1.5.1]) and somehow the environment is messed up.
Can you try forcing your locale to C and seeing if that gets past the problem?
$eups distrib install -t v12_0 lsst_apps
[ 37/62 ] pex_policy 12.0 (already installed) done.
[ 38/62 ] daf_persistence 12.0 (already installed) done.
[ 39/62 ] pex_config 12.0 (already installed) done.
[ 40/62 ] afw 12.0 ...
***** error: from /home/yuanshuo/Works_Neptune/LSST/EupsBuildDir/Linux64/afw-12.0/build.log:
File "/home/yuanshuo/Works_Neptune/LSST/Linux64/miniconda2/3.19.0.lsst4/lib/python2.7/site-packages/matplotlib/cbook.py", line 1186, in listFiles
for dirname, dirs, files in os.walk(root):
File "/home/yuanshuo/Works_Neptune/LSST/Linux64/miniconda2/3.19.0.lsst4/lib/python2.7/os.py", line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File "/home/yuanshuo/Works_Neptune/LSST/Linux64/miniconda2/3.19.0.lsst4/lib/python2.7/os.py", line 286, in walk
if isdir(join(top, name)):
File "/home/yuanshuo/Works_Neptune/LSST/Linux64/miniconda2/3.19.0.lsst4/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)
I am going to guess that matplotlib does not work at all in the LSST conda environment. Do you have any matplotlib code you can test with that python? I’m not entirely sure what directory matplotlib is scanning but it seems to be finding a file with an “a umlaut” in its name.