ifilter in LbEnv/ProjectEnv/script.py
We have a problem in script.py with python3:
WARNING:LbEnv.ProjectEnv.lookup:could not find LHCbDirac/prod in SearchPath([EnvSearchPathEntry('CMAKE_PREFIX_PATH', ''), EnvSearchPathEntry('CMTPROJECTPATH', ''), EnvSearchPathEntry('LHCBPROJECTPATH', '')])
Traceback (most recent call last):
File "/data/ramp/conda3/envs/test/lib/python3.7/site-packages/LbEnv/ProjectEnv/script.py", line 876, in main
super(LbRun, self).main()
File "/data/ramp/conda3/envs/test/lib/python3.7/site-packages/xenv/__init__.py", line 289, in main
self._makeEnv()
File "/data/ramp/conda3/envs/test/lib/python3.7/site-packages/LbEnv/ProjectEnv/script.py", line 692, in _makeEnv
self.opts.platform = self._findBestPlatform()
File "/data/ramp/conda3/envs/test/lib/python3.7/site-packages/LbEnv/ProjectEnv/script.py", line 577, in _findBestPlatform
return next(ifilter(supported, platforms))
NameError: name 'ifilter' is not defined
Edited by Marco Clemencic