UFO file object library error

Asked by Maxim Lysenko

Hello, I wrote an UFO file and imported it in MadGraph, but somehow I received the following error:

Command "import model Zp_cr/" interrupted with error:
UFOError : invalid syntax (object_library.py, line 268)
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

The line stated in the error corresponds to this:

raise UFOError, "UFO does not support yet more than one occurence of CTParameters in the couplings values."

I do not understand where the problem with the code is, I would appreciate any hint regarding this issue.

Sincerely,

Maxim

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

Which version of python are you using? (and which version of MG5aMC?)

This sounds like a python2 version python3 issue.
But in principle, for such type of python2 versus python3 issue, you should have a dedicated message telling you to convert the model to python3 format via the mg5amc command.

Cheers,

Olivier

Revision history for this message
Maxim Lysenko (maximlysnk) said :
#2

I am using the 3.5.0 version of MadGraph and Whenever I try to import a UFO file, MadGraph always states to convert it to python 3 version, am I supposed to change some settings in the config file of MadGraph?. And I changed the UFO file, now it gives me this error:

Some couplings have '1' order.
                            This is not allowed in MG.
                            Please defines an additional coupling to your model
I defined a vector field with coupling to Z and A fields through a coupling constant with a new interaction order. But feynrules computes the vertices without any error somehow.

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

Olivier Mattelaer suggests this article as an answer to your question:
FAQ #2460: “How to fix: “Command “generate X X > Y Y Y” interrupted with error: KeyError : '1'”.

Can you help with this problem?

Provide an answer of your own, or ask Maxim Lysenko for more information if necessary.

To post a message you must log in.