NameError : global name 'shutil' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Valentin Hirschi |
Bug Description
generate_events run_01
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
self.
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
postcmd=False, printcmd=False)
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
shutil.
NameError: global name 'shutil' is not defined
Changed in mg5amcnlo: | |
status: | New → Fix Released |
Hi,
Thanks for the information
Did you use 2.5.4?
This should be fixed in that version.
Cheers,
Olivier
> On 30 Mar 2017, at 09:18, Songshaptak De <email address hidden> wrote: saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1414, in onecmd orig(line, **opt) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1369, in onecmd_orig saptak/ packages/ madgraph/ madgraph/ interface/ madevent_ interface. py", line 2125, in do_generate_events cmd('shower --no_default', postcmd=False, printcmd=False) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1441, in exec_cmd orig(current_ interface, line, **opt) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1369, in onecmd_orig saptak/ packages/ madgraph/ madgraph/ interface/ madevent_ interface. py", line 3441, in do_shower saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1441, in exec_cmd orig(current_ interface, line, **opt) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1369, in onecmd_orig saptak/ packages/ madgraph/ madgraph/ interface/ madevent_ interface. py", line 3981, in do_pythia8 copy(pythia_ main,paralleliz ation_dir) /bugs.launchpad .net/bugs/ 1677494 saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1414, in onecmd orig(line, **opt) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1369, in onecmd_orig saptak/ packages/ madgraph/ madgraph/ interface/ madevent_ interface. py", line 2125, in do_generate_events cmd('shower --no_default', postcmd=False, printcmd=False) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1441, in exec_cmd orig(current_ interface, line, **opt) saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1369, in onecmd_orig saptak/ packages/ madgraph/ madgraph/ interface/ madevent_ interface. py", line 3441, in do_shower saptak/ packages/ madgraph/ madgraph/ interface/ extended_ cmd.py" , line 1441, in exec_cmd orig(current_ interface, line, **opt) saptak/ packages/ mad...
>
> Public bug reported:
>
> generate_events run_01
> Traceback (most recent call last):
> File "/home/
> return self.onecmd_
> File "/home/
> return func(arg, **opt)
> File "/home/
> self.exec_
> File "/home/
> stop = Cmd.onecmd_
> File "/home/
> return func(arg, **opt)
> File "/home/
> postcmd=False, printcmd=False)
> File "/home/
> stop = Cmd.onecmd_
> File "/home/
> return func(arg, **opt)
> File "/home/
> shutil.
> NameError: global name 'shutil' is not defined
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> NameError : global name 'shutil' is not defined
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> generate_events run_01
> Traceback (most recent call last):
> File "/home/
> return self.onecmd_
> File "/home/
> return func(arg, **opt)
> File "/home/
> self.exec_
> File "/home/
> stop = Cmd.onecmd_
> File "/home/
> return func(arg, **opt)
> File "/home/
> postcmd=False, printcmd=False)
> File "/home/
> stop = Cmd.onecmd_
> File "/home/