banner.py class accesses nonexisted filed of other class

Bug #1810890 reported by MyFull Name on 2019-01-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Undecided
Unassigned

Bug Description

VERSION 2.6.3.2 2018-06-22

 Traceback (most recent call last):
 File "//user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/extended_cmd.py", line 1501, in onecmd
 return self.onecmd_orig(line, **opt)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/extended_cmd.py", line 1450, in onecmd_orig
 return func(arg, **opt)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/madevent_interface.py", line 2469, in do_generate_events
 self.run_generate_events(switch_mode, args)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/common_run_interface.py", line 6711, in new_fct
 original_fct(obj, *args, **opts)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/madevent_interface.py", line 2508, in run_generate_events
 postcmd=False)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/extended_cmd.py", line 1528, in exec_cmd
 stop = Cmd.onecmd_orig(current_interface, line, **opt)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/extended_cmd.py", line 1450, in onecmd_orig
 return func(arg, **opt)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/madevent_interface.py", line 3277, in do_survey
 self.configure_directory()
 File "/user/basf2/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/interface/madevent_interface.py", line 5566, in configure_directory
 self.run_card.write(pjoin(self.me_dir, 'Cards','run_card.dat'))
 File "/user/basf2/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/various/banner.py", line 3229, in write
 python_template=python_template, **opt)
 File "/user/externals/v01-07-01/Linux_x86_64/common/madgraph/madgraph/various/banner.py", line 2375, in write
 text += this_group.on_template % self
 AttributeError: 'block' object has no attribute 'on_template'

Hi,

As far as I can tell this is already fixed in 2.6.4.
Thanks for the report,

Olivier

Changed in mg5amcnlo:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers