Hi Jakob,

Updates were made to the Bundle easyblock together with the changes to the PythonBundle easyblock, it seems like you are missing the former somehow.

Can you check where the Bundle easyblock is being imported from? Most likely it's picking up the one from the 3.7.1 installation...

python -O -c "import easybuild.easyblocks.generic.bundle; print easybuild.easyblocks.generic.bundle.__file__"

How did you make the updated easyblocks available to your EasyBuild installation?


regards,

Kenneth

On 21/11/2018 10:38, Jakob Schiøtz wrote:
Dear all,

I just git-pulled the develop branch for easybuild-easyblocks and 
easybuild-easyconfigs.  Now I cannot install PythonBundles:

$ eb ASE-3.16.2-foss-2018b-Python-3.6.6.eb -r
== temporary log file in case of crash /tmp/eb-y2cx_F/easybuild-alpx3U.log
Traceback (most recent call last):
   File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
     "__main__", fname, loader, pkg_name)
   File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
     exec code in run_globals
   File 
"/home/modules/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_framework-3.7.1-py2.7.egg/easybuild/main.py",
 line 529, in <module>
     main()
   File 
"/home/modules/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_framework-3.7.1-py2.7.egg/easybuild/main.py",
 line 396, in main
     easyconfigs, generated_ecs = parse_easyconfigs(paths, validate=not 
options.inject_checksums)
   File 
"/home/modules/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_framework-3.7.1-py2.7.egg/easybuild/framework/easyconfig/tools.py",
 line 387, in parse_easyconfigs
     easyconfigs.extend(process_easyconfig(ec_file, **kwargs))
   File 
"/home/modules/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_framework-3.7.1-py2.7.egg/easybuild/framework/easyconfig/easyconfig.py",
 line 1347, in process_easyconfig
     ec = EasyConfig(spec, build_specs=build_specs, validate=validate, 
hidden=hidden)
   File 
"/home/modules/software/EasyBuild/3.7.1/lib/python2.7/site-packages/easybuild_framework-3.7.1-py2.7.egg/easybuild/framework/easyconfig/easyconfig.py",
 line 356, in __init__
     self.extra_options = easyblock_class.extra_options()
   File 
"/home/niflheim/schiotz/development/easybuild-easyblocks/easybuild/easyblocks/generic/pythonbundle.py",
 line 47, in extra_options
     extra_vars = Bundle.extra_options(extra_vars)
TypeError: extra_options() takes no arguments (1 given)


Was it an error pulling easybuild-easyblocks?  Is there an update that only 
works with the next release of EasyBuild?  Or is this a bug?

Best regards

Jakob



--
Jakob Schiøtz, professor, Ph.D.
Department of Physics
Technical University of Denmark
DK-2800 Kongens Lyngby, Denmark
http://www.fysik.dtu.dk/~schiotz/



Reply via email to