error detected when running 'install <package>'

Asked by Paul Jackson

When trying to use the install command after running ./bin/mg5 I get the following error message:

mg5>install ExRootAnalysis
Error detected in "install ExRootAnalysis"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : Impossible to connect the server.
             Please check your internet connection or retry later

Is there some issue I should be aware of or something I neglected to do?

Best regards,
Paul

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Did you try more than once?

It looks like that the program can't connect to internet in order to have to download the code.
So did you have your internet connection working at that time?
Do you have a firewall preventing python to access internet?

Cheers,

Olivier

Revision history for this message
Paul Jackson (p-jackson-9) said :
#2

I have tried several times with installation of various things (ExRootAnalysis, Delphes and MadAnalysis).
I was following the same procedure by which I successfully installed pgs-pythia at an earlier time.
The internet connection is fine. I don't think it can be firewall related since it has already worked for another installation.

Not sure what I did any different (downloaded and unpacked the package in question into my MadGraph directory, ran ./bin/mg5,
and then proceeded with the install command.

Is there something else I can/should do when I start up MG?

Cheers,
Paul

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi Paul,

You did everything as it should be.
The only problem is that python didn't succeed to connect to our server.

If you want to install those package, the easiest might be to install those package manually
(they can be downloaded via the following website: http://madgraph.phys.ucl.ac.be)
This is slightly more difficult than the install command since this doesn't deal automatically with the option in
the makefile.

If you want to understand why the connection fail,
you can enter in a python shell (after typing python in bash) the following:
import urllib
data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')
for line in data:
    print line

The second line is suppose to crash, the error message might help us to understand why.

Cheers,

Olivier

On Aug 15, 2012, at 2:15 AM, Paul Jackson <email address hidden> wrote:

> Question #205871 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/205871
>
> Status: Needs information => Open
>
> Paul Jackson gave more information on the question:
>
> I have tried several times with installation of various things (ExRootAnalysis, Delphes and MadAnalysis).
> I was following the same procedure by which I successfully installed pgs-pythia at an earlier time.
> The internet connection is fine. I don't think it can be firewall related since it has already worked for another installation.
>
> Not sure what I did any different (downloaded and unpacked the package in question into my MadGraph directory, ran ./bin/mg5,
> and then proceeded with the install command.
>
> Is there something else I can/should do when I start up MG?
>
> Cheers,
> Paul
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Paul Jackson (p-jackson-9) said :
#4

Hi Olivier,

Thanks very much for the reply.
I followed your prescription with the following result:

imac-pj:MadGraph5_v1_4_8_2 jack$ python
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 84, in urlopen
    return opener.open(url)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 937, in endheaders
    self._send_output(message_body)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 797, in _send_output
    self.send(msg)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 759, in send
    self.connect()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 740, in connect
    self.timeout, self.source_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 571, in create_connection
    raise err
IOError: [Errno socket error] [Errno 60] Operation timed out
>>>

the problem persists.

Regards,
Paul

On 16/08/2012, at 12:56 AM, Olivier Mattelaer wrote:

Your question #205871 on MadGraph5 changed:
https://answers.launchpad.net/madgraph5/+question/205871

   Status: Open => Answered

Olivier Mattelaer proposed the following answer:
Hi Paul,

You did everything as it should be.
The only problem is that python didn't succeed to connect to our server.

If you want to install those package, the easiest might be to install those package manually
(they can be downloaded via the following website: http://madgraph.phys.ucl.ac.be)
This is slightly more difficult than the install command since this doesn't deal automatically with the option in
the makefile.

If you want to understand why the connection fail,
you can enter in a python shell (after typing python in bash) the following:
import urllib
data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')
for line in data:
   print line

The second line is suppose to crash, the error message might help us to understand why.

Cheers,

Olivier

On Aug 15, 2012, at 2:15 AM, Paul Jackson <email address hidden> wrote:

Question #205871 on MadGraph5 changed:
https://answers.launchpad.net/madgraph5/+question/205871

  Status: Needs information => Open

Paul Jackson gave more information on the question:

I have tried several times with installation of various things (ExRootAnalysis, Delphes and MadAnalysis).
I was following the same procedure by which I successfully installed pgs-pythia at an earlier time.
The internet connection is fine. I don't think it can be firewall related since it has already worked for another installation.

Not sure what I did any different (downloaded and unpacked the package in question into my MadGraph directory, ran ./bin/mg5,
and then proceeded with the install command.

Is there something else I can/should do when I start up MG?

Cheers,
Paul

--
You received this question notification because you are a member of
MadTeam, which is an answer contact for MadGraph5.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/madgraph5/+question/205871/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/madgraph5/+question/205871

You received this question notification because you asked the question.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

Hi Paul,

Sorry for the late answer, I was in holiday.

The error that you report shows that you can't reach our server. ( the error is a timeout as you can see)
Did you succeed to reach this webpage if you type the address in your web browser?
>>>> http://madgraph.phys.ucl.ac.be/package_info.dat

Whatever the result is, it might be interesting to show this to your IT team, since this is related to a local network problem.
As I pointed to my previous email, you might install all those program by hand, and download those from the following page:
http://madgraph.phys.ucl.ac.be (then click Downloads)

Cheers,

Olivier

On Aug 22, 2012, at 3:16 AM, Paul Jackson <email address hidden> wrote:

> Question #205871 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/205871
>
> Status: Answered => Open
>
> Paul Jackson is still having a problem:
>
> Hi Olivier,
>
> Thanks very much for the reply.
> I followed your prescription with the following result:
>
> imac-pj:MadGraph5_v1_4_8_2 jack$ python
> Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import urllib
>>>> data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 84, in urlopen
> return opener.open(url)
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 205, in open
> return getattr(self, name)(url)
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 342, in open_http
> h.endheaders(data)
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 937, in endheaders
> self._send_output(message_body)
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 797, in _send_output
> self.send(msg)
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 759, in send
> self.connect()
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 740, in connect
> self.timeout, self.source_address)
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 571, in create_connection
> raise err
> IOError: [Errno socket error] [Errno 60] Operation timed out
>>>>
>
> the problem persists.
>
> Regards,
> Paul
>
>
>
>
> On 16/08/2012, at 12:56 AM, Olivier Mattelaer wrote:
>
> Your question #205871 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/205871
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi Paul,
>
> You did everything as it should be.
> The only problem is that python didn't succeed to connect to our server.
>
> If you want to install those package, the easiest might be to install those package manually
> (they can be downloaded via the following website: http://madgraph.phys.ucl.ac.be)
> This is slightly more difficult than the install command since this doesn't deal automatically with the option in
> the makefile.
>
> If you want to understand why the connection fail,
> you can enter in a python shell (after typing python in bash) the following:
> import urllib
> data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')
> for line in data:
> print line
>
> The second line is suppose to crash, the error message might help us to
> understand why.
>
> Cheers,
>
> Olivier
>
>
> On Aug 15, 2012, at 2:15 AM, Paul Jackson <email address hidden> wrote:
>
> Question #205871 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/205871
>
> Status: Needs information => Open
>
> Paul Jackson gave more information on the question:
>
> I have tried several times with installation of various things (ExRootAnalysis, Delphes and MadAnalysis).
> I was following the same procedure by which I successfully installed pgs-pythia at an earlier time.
> The internet connection is fine. I don't think it can be firewall related since it has already worked for another installation.
>
> Not sure what I did any different (downloaded and unpacked the package in question into my MadGraph directory, ran ./bin/mg5,
> and then proceeded with the install command.
>
> Is there something else I can/should do when I start up MG?
>
> Cheers,
> Paul
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/madgraph5/+question/205871/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/madgraph5/+question/205871
>
> You received this question notification because you asked the question.
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Daniele Barducci (db3e11) said :
#6

Hi, I have the same problem.
I try to install MadAnalysis, ExRootAnalysis, pythia-pgs and delphes from interactive but it doesn't connect.

If I type in a python shell

import urllib
data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')

I get

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.7/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 344, in open_http
    h.endheaders(data)
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
IOError: [Errno socket error] [Errno 110] Connection timed out

I tried to install the package downloading them from the website http://madgraph.phys.ucl.ac.be/
( a part pythia-pgs) which is not there that I downloaded from https://launchpad.net/pythia-pgs-for-mg and delphes that I downloaded from https://cp3.irmp.ucl.ac.be/projects/delphes since the link in the MG website doesn't work) but I have some problems.
In fact MadAnalysis does not produce plots, even if the lhe events are correctly generated and delphes doesn't work, since the root file in exit is like 1kb (also no plots for pythia).
Do you know if I should do something more that untar and make (like editing the makefile, since you mentioned something)?
Is also strange that the connection doesn't work, since I have always used the interactive way. Do you know what it could be?
Thanks a lot!!

Daniele

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#7

Hi,

Your error is just a timeout, a fail to connect our server.
It might be due to the fact that our server was offline at that time or that you get no connection at that time/…
I suggest to just retry.

Otherwise, if you install MadAnalysis, you also need to install td.

For Delphes, you need to modify the delphes_card inside your processes such that they match your Delphes version.
(please see this:https://bugs.launchpad.net/mg5amcnlo/+bug/1384300)

For the compilation flag, sometimes you indeed need to modify some, but the list of possibilities is too long to explain it here.

Cheers,

Olivier

On Oct 24, 2014, at 1:01 PM, Daniele Barducci <email address hidden> wrote:

> Question #205871 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/205871
>
> Daniele Barducci posted a new comment:
> Hi, I have the same problem.
> I try to install MadAnalysis, ExRootAnalysis, pythia-pgs and delphes from interactive but it doesn't connect.
>
> If I type in a python shell
>
> import urllib
> data = urllib.urlopen('http://madgraph.phys.ucl.ac.be/package_info.dat')
>
> I get
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
> return opener.open(url)
> File "/usr/lib/python2.7/urllib.py", line 207, in open
> return getattr(self, name)(url)
> File "/usr/lib/python2.7/urllib.py", line 344, in open_http
> h.endheaders(data)
> File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
> self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 776, in send
> self.connect()
> File "/usr/lib/python2.7/httplib.py", line 757, in connect
> self.timeout, self.source_address)
> File "/usr/lib/python2.7/socket.py", line 571, in create_connection
> raise err
> IOError: [Errno socket error] [Errno 110] Connection timed out
>
>
> I tried to install the package downloading them from the website http://madgraph.phys.ucl.ac.be/
> ( a part pythia-pgs) which is not there that I downloaded from https://launchpad.net/pythia-pgs-for-mg and delphes that I downloaded from https://cp3.irmp.ucl.ac.be/projects/delphes since the link in the MG website doesn't work) but I have some problems.
> In fact MadAnalysis does not produce plots, even if the lhe events are correctly generated and delphes doesn't work, since the root file in exit is like 1kb (also no plots for pythia).
> Do you know if I should do something more that untar and make (like editing the makefile, since you mentioned something)?
> Is also strange that the connection doesn't work, since I have always used the interactive way. Do you know what it could be?
> Thanks a lot!!
>
> Daniele
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Daniele Barducci (db3e11) said :
#8

Is like 2 or 3 days that I can't connect, so I thought it was a major problem of my connection, more than an occasional problem or your server offline. Anyway I manage to install manually, solving the problem with the delphes_card, thanks.
I have another question for td:
i downloaded it from here

https://cp3.irmp.ucl.ac.be/projects/madgraph/attachment/wiki/TopDrawer/td

and create a td directory into the main MG directory where I put the binary that I have downloaded. This will produce the plot flag in the Results and event database page, but no plots are produced. Is there something else that has to be done beside putting this executable in the td directory?

Thanks a lot

Daniele

Revision history for this message
Daniele Barducci (db3e11) said :
#9

Is like 2 or 3 days that I can't connect, so I thought it was a major problem of my connection, more than an occasional problem or your server offline. Anyway I manage to install manually, solving the problem with the delphes_card, thanks.
I have another question for td:
i downloaded it from here

https://cp3.irmp.ucl.ac.be/projects/madgraph/attachment/wiki/TopDrawer/td

and create a td directory into the main MG directory where I put the binary that I have downloaded. This will produce the plot flag in the Results and event database page, but no plots are produced. Is there something else that has to be done beside putting this executable in the td directory?

Thanks a lot

Daniele

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#10

Hi,

On some computer, you need to install a 32bit support library since the executable that you install are a 32bit library which doesn’t work on some 64 bit machine.

Cheers,

Olivier

On Oct 24, 2014, at 3:06 PM, Daniele Barducci <email address hidden> wrote:

> Question #205871 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/205871
>
> Daniele Barducci requested more information:
> Is like 2 or 3 days that I can't connect, so I thought it was a major problem of my connection, more than an occasional problem or your server offline. Anyway I manage to install manually, solving the problem with the delphes_card, thanks.
> I have another question for td:
> i downloaded it from here
>
> https://cp3.irmp.ucl.ac.be/projects/madgraph/attachment/wiki/TopDrawer/td
>
> and create a td directory into the main MG directory where I put the
> binary that I have downloaded. This will produce the plot flag in the
> Results and event database page, but no plots are produced. Is there
> something else that has to be done beside putting this executable in the
> td directory?
>
> Thanks a lot
>
> Daniele
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Daniele Barducci (db3e11) said :
#11

Hi,

Actually my computer is a 32 bit machine, and I don't have this problem when I manage to install it from inside MG.
Unfortunately I cannot still install anything from inside MG, and it looks like is more a problem of my computer/connection....

Can you help with this problem?

Provide an answer of your own, or ask Paul Jackson for more information if necessary.

To post a message you must log in.