Hi Stefano, can you add more information about your python setup - are you using the miniconda installed by newinstall.sh and did you upgrade any of those packages (or the python itself) prior to installing the rest of the packages (before eups distrib install lsst_sims -t sims)
Oh and also please include the contents of
/dark/usr/lsst_stack/EupsBuildDir/Linux64/daf_persistence-13.0-8-gba0f85f+1/daf_persistence-13.0-8-gba0f85f+1/tests/.tests/mapperImport.py.failed
Yes, I think you’re right. I was discounting the possibility of race conditions because it’s a temp file, but I forgot about the directory problem.
The good news is that it will probably magically work if you try again. If it doesn’t, try over with EUPS_SCONSFLAGS="-j 1" (only necessary until you get past daf_persistence).
I will now try to run it again as suggested by Paul
E…
ERROR: testIO (main.MapperImportTestCase)
Traceback (most recent call last):
File “tests/mapperImport.py”, line 66, in testIO
self.checkIO(self.butler, bbox, 3)
File “tests/mapperImport.py”, line 58, in checkIO
butler.put(bbox, “x”, ccd=ccd)
File “/dark/usr/lsst_stack/EupsBuildDir/Linux64/daf_persistence-13.0-8-gba0f85f+1/daf_persistence-13.0-8-gba0f85f+1/python/lsst/daf/persistence/butler.py”, line 1004, in put
location.getRepository().write(location, obj)
File “/dark/usr/lsst_stack/EupsBuildDir/Linux64/daf_persistence-13.0-8-gba0f85f+1/daf_persistence-13.0-8-gba0f85f+1/python/lsst/daf/persistence/repository.py”, line 184, in write
return butlerLocationStorage.write(butlerLocation, obj)
File “/dark/usr/lsst_stack/EupsBuildDir/Linux64/daf_persistence-13.0-8-gba0f85f+1/daf_persistence-13.0-8-gba0f85f+1/python/lsst/daf/persistence/posixStorage.py”, line 303, in write
with SafeFilename(os.path.join(self.root, locations[0])) as locationString:
File “/dark/usr/lsst_stack/Linux64/miniconda2/4.2.12.lsst1/lib/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/dark/usr/lsst_stack/EupsBuildDir/Linux64/daf_persistence-13.0-8-gba0f85f+1/daf_persistence-13.0-8-gba0f85f+1/python/lsst/daf/persistence/safeFileIo.py”, line 123, in SafeFilename
temp = tempfile.NamedTemporaryFile(mode=“w”, dir=outDir, prefix=outName, delete=False)
File “/dark/usr/lsst_stack/Linux64/miniconda2/4.2.12.lsst1/lib/python2.7/tempfile.py”, line 475, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File “/dark/usr/lsst_stack/Linux64/miniconda2/4.2.12.lsst1/lib/python2.7/tempfile.py”, line 244, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: ‘/dark/usr/lsst_stack/EupsBuildDir/Linux64/daf_persistence-13.0-8-gba0f85f+1/daf_persistence-13.0-8-gba0f85f+1/tests/root/out/foo3.pickleDUXidT’