apptron icon indicating copy to clipboard operation
apptron copied to clipboard

g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

Open coderofsalvation opened this issue 3 years ago • 0 comments

first of all: awesome project, great to see this :heart: To support apptron, I decided to give it a testrun :mechanical_arm: 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

:bulb: 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 :)

coderofsalvation avatar Jul 06 '22 08:07 coderofsalvation