jira-cli
jira-cli copied to clipboard
Gtk-Message: Failed to load module "canberra-gtk-module"
Describe the bug After clicking enter to open an issue in the browser "Gtk-Message: 16:09:48.965: Failed to load module "canberra-gtk-module" appears randomly on the screen. Switching between the issues by using the arrow keys removes it again
Please provide following details
- JiraCLI Version:
(Version="1.2.0", GitCommit="9d8a0afd75b68aa519367f93c240429117cc4090", CommitDate="2022-12-16T10:53:08+00:00", GoVersion="go1.18.3", Compiler="gc", Platform="linux/amd64") - Are you using Jira cloud or on-premise jira server?
SERVER INFO
Version: 1001.0.0-SNAPSHOT
Build Number: 100213
Deployment Type: Cloud
Default Locale: en_US
- What operating system are you using? Also mention version.
Ubuntu 22.10 - What terminal are you using? Also mention version.
Alacritty 0.12.0-dev
To Reproduce
Steps to reproduce the behavior:
- Just open list of any issues:
jira issue list - Click on a row to open the issue in the browser
- See weird screenshot
Expected behavior View is not destroyed by gtk messages
Screenshots

Additional context
Hi @khskekec, I am not sure about this. This looks something specific to your system. I will leave this open for now in case others have similar issues and could help.
When jira-cli opens a browser, it executes xdg-open on Linux, and it's up to the OS to know how to open a browser from that. In general, that means Firefox on Ubuntu.
This is a side effect of Firefox looking for a particular shared library when it starts up. It doesn't need the library.
Take a look at
- How to fix error: Failed to load module "canberra-gtk-module"
- Ubuntu 22.04 LTS: Starting firefox through terminal Error "cannot change mount " & Failed to load module "canberra-gtk-module", How to solve it?
for some things to try. This problem is outside of jira-cli's scope, tbh.
Closing as this seems to be system dependent and out of scope of this project.