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

Problem with opening GTG after installing Hamster plugin #770

Closed
Shahin-rmz opened this issue Feb 5, 2022 · 6 comments
Closed

Problem with opening GTG after installing Hamster plugin #770

Shahin-rmz opened this issue Feb 5, 2022 · 6 comments

Comments

@Shahin-rmz
Copy link

Shahin-rmz commented Feb 5, 2022

Hello,
I could install the gtg and open it and work with it.
after syncing with my nextcloud (for first time), the tasks could successfully sync.
The problem is, after playing around, and installing plugins, the app crashed and never opened.
This is the error which I got when opening.

Context: Activation None Dev GTG: gtg v0.5-160-ged8000de CPython 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] GTK 3.24.20, GLib 2.64.2 PyGLib 3.36.0, PyGObject 3.36.0 Linux-5.13.0-28-generic-x86_64-with-glibc2.29

Also the log file shows the following error:

org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Hamster was not provided by any .service file
how can I disable a plugin from source code?
it seems like gnome hamster is not working.

@Neui
Copy link
Contributor

Neui commented Feb 5, 2022

Try this: Open ${XDG_CONFIG_HOME:-$HOME/.config}/gtg/gtg.conf (or ~/.var/app/org.gnome.GTG/config/gtg/gtg.conf when using the flatpak version, or tmp/default/xdg/config/gtg/gtg.conf when using ./launch.sh) in an plain text editor, and find [plugins], and under it remove hamster from enabled = (possibly with a comma if you had enabled multiple plugins), start GTG. Make sure GTG is closed (no process running).

@Shahin-rmz
Copy link
Author

@Neui Thank you so much.
The app opens now.
do you have any idea how can I enable the plugins the right way?

@Neui
Copy link
Contributor

Neui commented Feb 5, 2022

You need to have Hamster installed to use the Hamster plugin, but it seems the plugin makes GTG "crash" when it doesn't find Hamster (which is indeed a bug that should be fixed)

@Shahin-rmz
Copy link
Author

actually the gnu.Hamster is already installed (and works with Flatpack instance of GTG). Maybe the path can not be recognized.

@nekohayo
Copy link
Member

nekohayo commented Mar 2, 2022

I suppose this is a duplicate of issue #683, essentially, and possibly related to PR #676.

@piotrzientarski
Copy link

GTG does not have permission to access the D-Bus session bus, I turned it on in Flatseal and now GTG is talking to Hamster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants