UFOError : invalid syntax (object_library.py, line 268)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
New
|
Undecided
|
Unassigned |
Bug Description
Command "import model 2HDM_NLO" interrupted with error:
UFOError : invalid syntax (object_library.py, line 268)
Line 268 is: raise UFOError("UFO does not support yet more than one occurence of CTParameters in the couplings values.")
Maybe it wants to complain about something I did, but didn't succeed.
I am using Python 3.8.10. Debug file follows:
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.5.1 2023-07-11 *
#* *
#* 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 low_mem_
set complex_mass_scheme False
set include_
set gauge unitary
set loop_optimized_
set loop_color_flows False
set max_npoint_
set default_
set max_t_for_channel 99
set zerowidth_tchannel True
set nlo_mixed_expansion True
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~
set auto_convert_model T
import model 2HDM_NLO
import model 2HDM
Traceback (most recent call last):
File "/home/
__import_
File "/home/
import particles
File "/home/
import parameters as Param
File "/home/
value = rhot*Power(Vcb,2),
NameError: name 'rhot' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
self.
File "/home/
model = import_
File "/home/
ufo_model = ufomodels.
File "/home/
raise UFOError(
models.UFOError: name 'rhot' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
self.
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
self.
File "/home/
raise self.InvalidCmd
madgraph.
convert model /home/jcline/
You can also type "set auto_convert_model T" to automatically convert all python2 module to be python3 compatible in the future.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
self.
File "/home/
raise err
File "/home/
self.
File "/home/
model = import_
File "/home/
ufo_model = ufomodels.
File "/home/
raise UFOError(
models.UFOError: invalid syntax (object_library.py, line 268)
default_
ignore_
include_
loop_
low_mem_
max_
automatic_
acknowledged
cluster_
mg5amc_
In the meantime I have managed to get past this error, but only reaching a second one that has me perplexed:
Command "import model 2HDM" interrupted with error:
UFOError : name 'rhot' is not defined
However it is defined in parameters.py,
rhot = Parameter(name = 'rhot',
nature = 'internal',
type = 'real',
value = 'etat*rhob',
texname = '\\text{rhot}')
and the external parameters etat and rhob on which it depends have also received values prior to that in parameters.py,
nature = 'external',
type = 'real',
value = 0.05,
texname = '\\text{rhob}',
lhablock = 'NEWYUKAWA',
lhacode = [ 2 ])
rhob = Parameter(name = 'rhob',
etat = Parameter(name = 'etat',
nature = 'external',
type = 'real',
value = 1.6,
texname = '\\text{etat}',
lhablock = 'NEWYUKAWA',
lhacode = [ 3 ])
I attached the parameters.py file