Since I solved it by hand in the meantime, I do a fresh install and try
the installation of ninja with it. Now I get an AttributeError: 'list'
object has no attribute 'endswith' in line 901 of the
HEPToolInstaller.py: all_lib = [lib for lib in all_lib if not
any(lib.endswith(ext) for ext in ['.so','.la','.dylib'])].
In case of hepmc, I now get an AttributeError: 'list' object has no
attribute 'rfind' in the HEPToolInstaller.py on line 915: if
os.path.islink(pjoin(_prefix,'lib',os.path.basename(path))):
Cheers,
Leif
On 03/09/2018 01:23 PM, Valentin Hirschi wrote:
> I have pushed what I think will be the fix.
>
> Leif, could you try it by doing the following (you will need the
> revision tool bzr installed):
>
> cd <you_MG_distribution_path>/..
> bzr branch lp:~maddevelopers/mg5amcnlo/HEPToolsInstallers HEPToolsInstallers
> cd <you_MG_distribution_path>
> ./bin/mg5_aMC
> MG5_aMC>install ninja --keep_source --logging=DEBUG --local
>
> And tell me if it goes through now on SUSE Linux.
>
Since I solved it by hand in the meantime, I do a fresh install and try r.py: all_lib = [lib for lib in all_lib if not endswith( ext) for ext in ['.so', '.la',' .dylib' ])].
the installation of ninja with it. Now I get an AttributeError: 'list'
object has no attribute 'endswith' in line 901 of the
HEPToolInstalle
any(lib.
In case of hepmc, I now get an AttributeError: 'list' object has no islink( pjoin(_ prefix, 'lib',os. path.basename( path))) :
attribute 'rfind' in the HEPToolInstaller.py on line 915: if
os.path.
Cheers,
Leif
On 03/09/2018 01:23 PM, Valentin Hirschi wrote: distribution_ path>/. . distribution_ path>
> I have pushed what I think will be the fix.
>
> Leif, could you try it by doing the following (you will need the
> revision tool bzr installed):
>
> cd <you_MG_
> bzr branch lp:~maddevelopers/mg5amcnlo/HEPToolsInstallers HEPToolsInstallers
> cd <you_MG_
> ./bin/mg5_aMC
> MG5_aMC>install ninja --keep_source --logging=DEBUG --local
>
> And tell me if it goes through now on SUSE Linux.
>