Hi John,
On 16/04/2018 20:26, Dey, John F wrote:
EasyBuild error. Package seems to build and test ok. Easybuild fails
during package install
Easyconfig: https://github.com/FredHutch/easybuild-life-sciences ->
fh_easyconfigs -> NiftyNet-0.2.2-foss-2016b-Python-3.6.5-fh1.eb
EasyBuild Version : This is EasyBuild 3.5.3 (framework: 3.5.3,
easyblocks: 3.5.3)
...
File
"/app/easybuild/software/EasyBuild/3.5.3/lib/python2.7/site-packages/easybuild_easyblocks-3.5.3-py2.7.egg/easybuild/easyblocks/generic/pythonpackage.py",
line 352, in compose_install_command
loc = self.src[0]['path']
IndexError: list index out of range
(at
easybuild/software/EasyBuild/3.5.3/lib/python2.7/site-packages/easybuild_framework-3.5.3-py2.7.egg/easybuild/main.py:161
in build_and_install_software)
The problem is that you don't have any 'sources' specified, we're
clearly missing a check there to handle this gracefully...
You should change this:
source_tmpl = '%(name)s-%(version)s-py2.py3-none-any.whl',
to:
sources = ['%(name)s-%(version)s-py2.py3-none-any.whl']
Also, you'll probably need to remove the trailing comma on the
'source_urls' line.
regards,
Kenneth
-- **
*John Dey*
*HPC Operations*
Scientific Computing
*O* _206.667.4308 <tel:(206)%20667-4308>_
*M* _360.649.2731 <tel:(360)%20649-2731>_
*E* jf...@fredhutch.org <mailto:jf...@fredhutch.org>
*Fred Hutchinson Cancer Research Center*
1100 Fairview Ave. N
<https://maps.google.com/?q=1100+Fairview+Ave.+N&entry=gmail&source=g>.,
Mail Stop J3-516
Seattle, WA 98109
*fredhutch.org <http://www.fredhutch.org/>*