TypeError : 'LexToken' object has no attribute '__getitem__'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi, Oliver,
I encounted some troubles When I using MadGraph.
This is the MG5_debug file:
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.3.3 2015-10-25 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#******
set group_subprocesses Auto
set ignore_
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
import model GM
generate g g > H5pp H5pp~ [QCD]
output ggH5H5
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
self.
File "/home/
self.
File "/home/
wanted_
File "/home/
wanted_lorentz = wanted_lorentz, wanted_couplings = wanted_couplings)
File "/home/
wanted_lorentz, wanted_couplings)
File "/home/
aloha_
File "/home/
self.
File "/home/
wavefunction = builder.
File "/home/
self.expr = self.compute_
File "/home/
lorentz = self.parse_
File "/home/
lorentz_expr = calc.parse(expr)
File "/home/
yacc.parse(buf)
File "/home/
return self.parseopt_
File "/home/
tok = self.errorfunc(
File "/home/
print p[:]
TypeError: 'LexToken' object has no attribute '__getitem__'
ignore_
loop_
max_
automatic_
cluster_
And when I tye to output the process, these words were printed:
INFO: initialize a new directory: ggH5H5
INFO: remove old information in ggH5H5
INFO: Organizing processes into subprocess groups
INFO: Generating Helas calls for process: g g > H5pp H5pp~ WEIGHTED=8 [ noborn = QCD ]
INFO: Processing color information for loop process: g g > H5pp H5pp~ [ noborn = QCD ]
INFO: Creating color matrix loop process: g g > H5pp H5pp~ WEIGHTED=8 [ noborn = QCD ]
INFO: Creating files in directory /home/zjw/
ALOHA: aloha creates FFV1 set of routines with options: L1
INFO: Computing diagram color coefficients
INFO: Drawing loop Feynman diagrams for Process: g g > H5pp H5pp~ WEIGHTED=8 [ noborn = QCD ]
INFO: Creating files in directory P0_gg_H5ppH5ppx
INFO: Generating Feynman diagrams for Process: g g > H5pp H5pp~ WEIGHTED=8 [ noborn = QCD ]
INFO: Finding symmetric diagrams for subprocess group gg_H5ppH5ppx
History written to /home/zjw/
Generated helas calls for 1 subprocesses (16 diagrams) in 0.126 s
Export UFO model to MG4 format
ALOHA: aloha creates VVV1 routines
aloha.parsers: Illegal character '$'
Command "output ggH5H5" interrupted with error:
TypeError : 'LexToken' object has no attribute '__getitem__'
Please report this bug on https:/
More information is found in 'MG5_debug'.
Please attach this file to your report.
This is a process in Georgi-Machacek model, which can be download at
https:/
when I try other processes, e.g. g g > h h [QCD], p p > H5pp H5pp~ [QCD] ... that's ok.
I just want to know where the bug is come from, the model file? or the aloha.parsers of madgraph?
cheers
Javen
Changed in mg5amcnlo: | |
status: | New → Invalid |
Hi,
Looks like a model problem.
You can search inside your model for the symbol “$”. It will point you where the problem is in the UFO file.
Cheers,
Olivier
> On 13 Mar 2017, at 02:45, Jianwen Zhu <email address hidden> wrote: ******* ******* ******* ******* ******* ******* ******* ***** /server06. fynu.ucl. ac.be/projects/ madgraph * ******* ******* ******* ******* ******* ******* ******* ***** ******* ******* ******* ******* ******* ******* ******* ***** six_quark_ processes False for_channel 0 zjw/software/ MG5_aMC_ v2_3_3/ madgraph/ interface/ extended_ cmd.py" , line 908, in onecmd orig(line, **opt) zjw/software/ MG5_aMC_ v2_3_3/ madgraph/ interface/ extended_ cmd.py" , line 897, in onecmd_orig zjw/software/ MG5_aMC_ v2_3_3/ madgraph/ interface/ master_ interface. py", line 284, in do_output do_output( self, line, *args, **opts) zjw/software/ MG5_aMC_ v2_3_3/ madgraph/ interface/ madgraph_ interface. py", line 6687, in do_output nojpeg, flaglist=flaglist) zjw/software/ MG5_aMC_ v2_3_3/ madgraph/ interface/ madgraph_ interface. py", line 6984, in finalize zjw/software/ MG5_aMC_ v2_3_3/ madgraph/ loop/loop_ exporters. py", line 332, in convert_ model_to_ mg4
>
> Public bug reported:
>
> Hi, Oliver,
>
> I encounted some troubles When I using MadGraph.
>
> This is the MG5_debug file:
> #******
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.3.3 2015-10-25 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https:/
> #* *
> #******
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #******
> set group_subprocesses Auto
> set ignore_
> set loop_color_flows False
> set gauge unitary
> set complex_mass_scheme False
> set max_npoint_
> import model sm
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> define l+ = e+ mu+
> define l- = e- mu-
> define vl = ve vm vt
> define vl~ = ve~ vm~ vt~
> import model GM
> generate g g > H5pp H5pp~ [QCD]
> output ggH5H5
> Traceback (most recent call last):
> File "/home/
> return self.onecmd_
> File "/home/
> return func(arg, **opt)
> File "/home/
> self.cmd.
> File "/home/
> self.finalize(
> File "/home/
> wanted_couplings)
> File "/home/
> wanted_lorentz = wanted_lorentz, wanted_couplings = w...