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

Getting Things Gnome synchronisation methods can't be added #312977

Open
necessarily-equal opened this issue May 19, 2024 · 2 comments
Open

Getting Things Gnome synchronisation methods can't be added #312977

necessarily-equal opened this issue May 19, 2024 · 2 comments

Comments

@necessarily-equal
Copy link
Contributor

necessarily-equal commented May 19, 2024

Describe the bug

The synchronisation methods in getting things done (the gtg package) are not usable because they can't be added.

Steps To Reproduce

Steps to reproduce the behavior:

  1. start the app
  2. click on the hamburger menu
  3. cilck on "Synchronisation" in the menu
  4. click on the [+] button on the bottom left
**Context:** Global generic exception

\```python-traceback
Traceback (most recent call last):
  File "/nix/store/4vbaaxbsman57px5pcv28pzwjnns2gk6-gtg-0.6/lib/python3.11/site-packages/GTG/gtk/backends/__init__.py", line 231, in on_add_button
    self.add_panel.refresh_backends()
  File "/nix/store/4vbaaxbsman57px5pcv28pzwjnns2gk6-gtg-0.6/lib/python3.11/site-packages/GTG/gtk/backends/addpanel.py", line 141, in refresh_backends
    self.combo_types.refresh()
  File "/nix/store/4vbaaxbsman57px5pcv28pzwjnns2gk6-gtg-0.6/lib/python3.11/site-packages/GTG/gtk/backends/backendscombo.py", line 81, in refresh
    pixbuf = self.dialog.get_pixbuf_from_icon_name(module.Backend.get_icon(), 16)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/4vbaaxbsman57px5pcv28pzwjnns2gk6-gtg-0.6/lib/python3.11/site-packages/GTG/gtk/backends/__init__.py", line 121, in get_pixbuf_from_icon_name
    return Gtk.IconTheme.get_default().load_icon(name, height, 0)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'applications-internet' not present in theme Adwaita (0)
\```

**Software versions:**
* Getting Things GNOME! 0.6.0
* CPython 3.11.9 (main, Apr  2 2024, 08:25:04) [GCC 13.2.0]
* GTK 3.24.41, GLib 2.78.4
* PyGLib 3.46.0, PyGObject 3.46.0
* Linux-6.8.6-zen1-x86_64-with-glibc2.39

I tested both with NixOS 23.11 and Unstable

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image

Notify maintainers

@oyren

@necessarily-equal
Copy link
Contributor Author

necessarily-equal commented May 19, 2024

This seems to be a purely graphical problem.

One thing I tried to fix it, inspired by https://stackoverflow.com/questions/35794241/meld-gi-glib-gerror-icon-meld-change-apply-right-not-present-in-theme-wha#53890252, is to put gnome-icon-theme in propagatedBuildInputs but that didn't work.

@necessarily-equal necessarily-equal changed the title Getting Things Gnome synchronisation method can't be added Getting Things Gnome synchronisation methods can't be added May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant