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

g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed #45

Open
coderofsalvation opened this issue Jul 6, 2022 · 0 comments
Labels
bug Something isn't working linux

Comments

@coderofsalvation
Copy link

coderofsalvation commented Jul 6, 2022

first of all: awesome project, great to see this ❤️
To support apptron, I decided to give it a testrun 🦾
Any have installed all deps, and got this console error when running the demos:

$ echo "$(</etc/issue): $(uname -a)"
Ubuntu 21.04 \n \l: Linux ls540 5.11.0-49-lowlatency #55-Ubuntu SMP PREEMPT Wed Jan 12 18:18:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ make apptron
make: 'apptron' is up to date.
$ cd demos/todomvc &&  apptron run
apptron:266788): GLib-GIO-CRITICAL **: 09:53:20.551: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

💡 quick workaround: add this to bridge/platform/linux/README.md:

as of this moment, the asian language X-module (auto-installed on ubuntu >18.04) needs to be uninstalled to get rid of the G_IS_DBUS_CONNECTION (connection)' failed-error by running sudo apt-get purge fcitx-module-dbus

I don't know enough about DBUS to debug this, but there might be a way to make apptron less sensitive to modules.
apptron -debug run hanged on me (no stdout or window).
This is all I know right now, haven't dived into the code yet.

ps. forking is disabled so I'll leave this 'PR' here :)

@progrium progrium added the bug Something isn't working label Jul 6, 2022
@progrium progrium added the linux label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux
Projects
None yet
Development

No branches or pull requests

2 participants