MadAnalysis5 installation fails

Bug #1896527 reported by Subhadeep Sarkar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadAnalysis 5
Fix Committed
High
Benjamin Fuks

Bug Description

Hello! I tried install MadAnalysis5 through MG5 interface. MadAnalysis5 started to download itself repeatedly.

MG5_aMC>install MadAnalysis5
   You are installing 'MadAnalysis5', please cite ref(s): arXiv:1206.1599.
Downloading the HEPToolInstaller at:
   http://madgraph.physics.illinois.edu/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
Now installing madanalysis5. Be patient...
Fetching data with command:
  wget --no-check-certificate http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
--2020-09-21 23:45:04-- http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
Resolving madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)... 130.104.48.109, fd00:0:14:13::8268:306d
Connecting to madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
HTTP request sent, awaiting response... 200 Ok
Length: 790599 (772K) [application/x-tar]
Saving to: ‘ma5_latest.tgz’

ma5_latest.tgz 100%[===================>] 772.07K 105KB/s in 7.4s

2020-09-21 23:45:13 (105 KB/s) - ‘ma5_latest.tgz’ saved [790599/790599]

Installing tool 'madanalysis5'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/madanalysis5/madanalysis5_install.log
Traceback (most recent call last):
  File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1393, in <module>
    install_with_dependencies(target_tool,is_main_target=True)
  File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1367, in install_with_dependencies
    exec('install_%s(tmp_path)' % target)
  File "<string>", line 1, in <module>
  File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 850, in install_madanalysis5
    raise Exception('MadAnalysis5 still request Python2')
Exception: MadAnalysis5 still request Python2
Default installation of Madanalys5 failed.
MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
This will however limit MA5 applicability for hadron-level analysis.
If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.
Downloading the HEPToolInstaller at:
   http://madgraph.physics.illinois.edu/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
Now installing madanalysis5. Be patient...
Fetching data with command:
  wget --no-check-certificate http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
--2020-09-21 23:45:14-- http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
Resolving madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)... 130.104.48.109, fd00:0:14:13::8268:306d
Connecting to madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
HTTP request sent, awaiting response... 200 Ok
Length: 790599 (772K) [application/x-tar]
Saving to: ‘ma5_latest.tgz’

And it kept repeating itself. I then tried to start mg5 with "./bin/mg5_aMC --debug" and then it showed the following:

MG5_aMC>install MadAnalysis5
   You are installing 'MadAnalysis5', please cite ref(s): arXiv:1206.1599.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
Now installing madanalysis5. Be patient...
Fetching data with command:
  wget --no-check-certificate http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
--2020-09-21 23:43:20-- http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
Resolving madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)... 130.104.48.109, fd00:0:14:13::8268:306d
Connecting to madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
HTTP request sent, awaiting response... 200 Ok
Length: 790599 (772K) [application/x-tar]
Saving to: ‘ma5_latest.tgz’

ma5_latest.tgz 100%[===================>] 772.07K 19.0KB/s in 29s

2020-09-21 23:43:49 (27.0 KB/s) - ‘ma5_latest.tgz’ saved [790599/790599]

Installing tool 'madanalysis5'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/madanalysis5/madanalysis5_install.log
Traceback (most recent call last):
  File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1393, in <module>
    install_with_dependencies(target_tool,is_main_target=True)
  File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1367, in install_with_dependencies
    exec('install_%s(tmp_path)' % target)
  File "<string>", line 1, in <module>
  File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 850, in install_madanalysis5
    raise Exception('MadAnalysis5 still request Python2')
Exception: MadAnalysis5 still request Python2
Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
Command "install MadAnalysis5" interrupted with error:
InvalidCmd : Installation of madanalysis5 failed.
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

Python version is 2.7.18rc1
What should I do? Please help. Thanks in advance.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1896527] [NEW] MadAnalysis5 installation fails
Download full text (12.2 KiB)

This is technically not a bug from MG5aMC, It's just that MA5 is not python3 compatible.
If you need/want ro use that tool, you have to stick to use python27 via
python27 ./bin/mg5_aMC

and then the installation of MadAnalysis5 will work.
For the moment, I will assign this bug to MadAnalysis5 author as "feature request"

Cheers,

Olivier

> On 21 Sep 2020, at 20:31, Subhadeep Sarkar <email address hidden> wrote:
>
> Public bug reported:
>
> Hello! I tried install MadAnalysis5 through MG5 interface. MadAnalysis5
> started to download itself repeatedly.
>
> MG5_aMC>install MadAnalysis5
> You are installing 'MadAnalysis5', please cite ref(s): arXiv:1206.1599.
> Downloading the HEPToolInstaller at:
> http://madgraph.physics.illinois.edu/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
> Now installing madanalysis5. Be patient...
> Fetching data with command:
> wget --no-check-certificate http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
> --2020-09-21 23:45:04-- http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
> Resolving madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)... 130.104.48.109, fd00:0:14:13::8268:306d
> Connecting to madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
> HTTP request sent, awaiting response... 200 Ok
> Length: 790599 (772K) [application/x-tar]
> Saving to: ‘ma5_latest.tgz’
>
> ma5_latest.tgz 100%[===================>] 772.07K 105KB/s in
> 7.4s
>
> 2020-09-21 23:45:13 (105 KB/s) - ‘ma5_latest.tgz’ saved [790599/790599]
>
> Installing tool 'madanalysis5'...
>> Follow the installation progress by running the command below in a separate terminal)
>> tail -f /home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/madanalysis5/madanalysis5_install.log
> Traceback (most recent call last):
> File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1393, in <module>
> install_with_dependencies(target_tool,is_main_target=True)
> File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1367, in install_with_dependencies
> exec('install_%s(tmp_path)' % target)
> File "<string>", line 1, in <module>
> File "/home/subhadeep/Downloads/MG5_aMC_v2_8_0/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 850, in install_madanalysis5
> raise Exception('MadAnalysis5 still request Python2')
> Exception: MadAnalysis5 still request Python2
> Default installation of Madanalys5 failed.
> MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
> This will however limit MA5 applicability for hadron-level analysis.
> If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.
> Downloading the HEPToolInstaller at:
> http://madgraph.physics.illinois.edu/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
> Now installing madanalysis5. Be patient...
> Fetching data with command:
> wget --no-check-certificate http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
> --2020-09-21 23:45...

affects: mg5amcnlo → madanalysis5
Benjamin Fuks (fuks)
Changed in madanalysis5:
milestone: none → v1.9
assignee: nobody → Benjamin Fuks (fuks)
importance: Undecided → High
status: New → In Progress
Benjamin Fuks (fuks)
Changed in madanalysis5:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.