Failed to load module "canberra-gtk-module"

Asked by Sarif Khan on 2021-01-25

Dear MG5 Developer,

I am using the MG5 v2_3_3. I am getting following kind of message when I launch the process:

INFO: compile directory
Gtk-Message: 19:05:42.942: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:05:42.943: Failed to load module "canberra-gtk-module"

Although I have all the modules of Gtk and there is no problem in calculating the cross section apart from the above message.

If same UFO file I use at the current version of MG5 V2_8_2, I get the following error:

CRITICAL: It is likely that your UFO model is NOT python3 compatible.
 Most common issue with python2/3 compatibility can be solve with the "convert model" command of MG5aMC.
WARNING: If you want to try that automatic conversion please run:
WARNING: convert model /home/sarif/Documents/packages/MG5_aMC_v2_8_2/models/Standard_Model_UFO

I also used the "convert model /home/sarif/Documents/packages/MG5_aMC_v2_8_2/models/Standard_Model_UFO "

but it did not solve the problem.

Can you please help me in solving the above two issues?

Best regards,
Sarif Khan

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Sarif Khan
Solved:
2021-01-26
Last query:
2021-01-26
Last reply:
2021-01-25

Hi,

> Gtk-Message: 19:05:42.942: Failed to load module "canberra-gtk-module"
> Gtk-Message: 19:05:42.943: Failed to load module "canberra-gtk-module"

This is likely a message from your web-browser or somethinng not directly releated to MG5aMC

> If same UFO file I use at the current version of MG5 V2_8_2, I get the following error:

I would need more information about this.
This is likely a python2 syntax that does not be correctly converted to python3.
So I can not comment without the full debug file and/or the model

Cheers,

Olivier

> On 25 Jan 2021, at 19:50, Sarif Khan <email address hidden> wrote:
>
> New question #695186 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/695186
>
> Dear MG5 Developer,
>
> I am using the MG5 v2_3_3. I am getting following kind of message when I launch the process:
>
>
> INFO: compile directory
> Gtk-Message: 19:05:42.942: Failed to load module "canberra-gtk-module"
> Gtk-Message: 19:05:42.943: Failed to load module "canberra-gtk-module"
>
> Although I have all the modules of Gtk and there is no problem in calculating the cross section apart from the above message.
>
>
> If same UFO file I use at the current version of MG5 V2_8_2, I get the following error:
>
> CRITICAL: It is likely that your UFO model is NOT python3 compatible.
> Most common issue with python2/3 compatibility can be solve with the "convert model" command of MG5aMC.
> WARNING: If you want to try that automatic conversion please run:
> WARNING: convert model /home/sarif/Documents/packages/MG5_aMC_v2_8_2/models/Standard_Model_UFO
>
> I also used the "convert model /home/sarif/Documents/packages/MG5_aMC_v2_8_2/models/Standard_Model_UFO "
>
> but it did not solve the problem.
>
> Can you please help me in solving the above two issues?
>
> Best regards,
> Sarif Khan
>
>
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Manfred Hampl (m-hampl) said : #2

The message about "canberra-gtk-module" is just a warning and should not do any harm. You can usually get rid of the message by installing some additional packages, e.g. on Ubuntu the required command is
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

Sarif Khan (sarifkhan) said : #3

Dear Oliver and Manfred,

Thanks a lot for your reply. Both the problems are solved.

Best regards,
Sarif Khan