add indirect_detection problem

Asked by Ingu Jeong

Hello

I'm a graduate student, and I'm trying the tutorial of maddm. In the step that to type "add indirect_detection", below error has occured
Is there any way to figure out this problem?

Thank you

Jeong.

Command "add indirect_detection" interrupted with error:
AttributeError : 'MadDM_interface' object has no attribute '_ID_procs'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report

MG5_debug

Traceback (most recent call last):
  File "/Users/jeong/Particle/Madgraph/MG5_aMC_v2_9_4/madgraph/interface/extended_cmd.py", line 1541, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/Users/jeong/Particle/Madgraph/MG5_aMC_v2_9_4/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/Users/jeong/Particle/Madgraph/MG5_aMC_v2_9_4/PLUGIN/maddm/maddm_interface.py", line 817, in do_add
    self.generate_indirect(args[1:])
  File "/Users/jeong/Particle/Madgraph/MG5_aMC_v2_9_4/PLUGIN/maddm/maddm_interface.py", line 1448, in generate_indirect
    self.indirect_process_generation([final_state, '--noloop'], self._ID_cont_procs, self._ID_cont_matrix_elements, self._ID_cont_amps)
  File "/Users/jeong/Particle/Madgraph/MG5_aMC_v2_9_4/PLUGIN/maddm/maddm_interface.py", line 1561, in indirect_process_generation
    self.do_add('process %s' % proc)
  File "/Users/jeong/Particle/Madgraph/MG5_aMC_v2_9_4/PLUGIN/maddm/maddm_interface.py", line 830, in do_add
    [self._ID_procs, self._ID_matrix_elements, self._ID_amps]):
AttributeError: 'MadDM_interface' object has no attribute '_ID_procs'

Question information

Language:
English Edit question
Status:
Answered
For:
MadDM Edit question
Assignee:
Daniele Massaro Edit question
Last query:
Last reply:
Revision history for this message
Daniele Massaro (dmassaro) said (last edit ):
#1

Hi,

there was a bug, indeed.
The code should update soon.

In the meanwhile, you can download the fix in this branch:
[https://code.launchpad.net/~maddm/maddm/question_698130]

Cheers.
--
Daniele

Revision history for this message
Daniele Massaro (dmassaro) said :
#3

Hi,

I suggest you to re-install MadDM from scratch: remove the directory $MADGRAPH_PATH/PLUGIN/maddm, then run MadGraph from the terminal and type 'install maddm' in the prompt (follow the instructions in Appendix A of https://arxiv.org/pdf/2107.04598.pdf). This should install the latest MadDM version, which is working correctly.
Remember you need to use Python 2.7.

Cheers.
--
Daniele

Can you help with this problem?

Provide an answer of your own, or ask Ingu Jeong for more information if necessary.

To post a message you must log in.