Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

giving message when run any gh commad: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. #9043

Open
xkeshav opened this issue May 3, 2024 · 1 comment
Labels
bug Something isn't working gh-browse relating to the gh browse command

Comments

@xkeshav
Copy link

xkeshav commented May 3, 2024

Describe the bug

with Ubuntu V 24.04
Firefox v 125.2

gh version 2.45.0 (2024-03-31 Ubuntu 2.45.0-1build1)
https://github.com/cli/cli/releases/tag/v2.45.0

installed github cli in ubuntu24.04 using

sudo apt install gh

and then try gh auth which works great and now when I try gh browse from my repo; it opens the repo in the browser (Firefox )

but it keep giving this message in terminal

Gtk-Message: 22:13:11.423: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

is there something missing or what I need to do to remove this message.

also does terminal keep open while we run gh browse? how can we just run a command ahcih open repo in browser and complete the command?

Steps to reproduce the behavior

image

Expected vs actual behavior

it shoud not give any error in terminal; do i need to dsiable any flag in browser or what?

@xkeshav xkeshav added the bug Something isn't working label May 3, 2024
@cliAutomation cliAutomation added the needs-triage needs to be reviewed label May 3, 2024
@andyfeller
Copy link
Contributor

andyfeller commented May 7, 2024

@xkeshav : Thanks for opening up this issue, let's see if we can figure out what's going on! 🙇

Have you looked into any of the Ubuntu forums regarding atk-bridge?

I'm not an Ubuntu expert, but what I found from a cursory glance is that atk-bridge is related to Accessibility Toolkit. Apparently other Ubuntu users have run into this issue due to the installation and setup of various packages and GTK with many recommending various environmental overrides up to uninstalling certain packages.

Looking at cli/browser module's Linux support, we try various different potential tools for opening up URLs in your web browser:

  • xdg-open
  • x-www-browser
  • www-browser
  • wslview

Do you have any more information about your workstation setup you can share?

  • Do you have libatk-adaptor package installed?
  • Is GTK_MODULES defined?

@andyfeller andyfeller added gh-browse relating to the gh browse command and removed needs-triage needs to be reviewed labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gh-browse relating to the gh browse command
Projects
None yet
Development

No branches or pull requests

3 participants