Skip to content

desktop: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed #27

@coderofsalvation

Description

@coderofsalvation

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 tractordev/apptron#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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions