Solved gajim not saving password

running from terminal

Code:
 $ gajim
2025-05-25 18:34:10 (E) gajim.c.tray.linux         g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.StatusNotifierWatcher was not provided by any .service files (2)
2025-05-25 18:34:11 (E) gajim.c.passwords          Request password failed
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/gajim/common/passwords.py", line 94, in get_password
    password = _interface.backend.get_password('gajim', account_jid)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/keyring/backends/libsecret.py", line 63, in get_password
    items = Secret.password_search_sync(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2)

fixed by installing

Code:
 $ doas pkg install gnome-keyring
 
Hmm, for testing purposes I already deinstalled my already installed security/gnome-keyring and then ran net-im/gajim but it launched fine, so i don't think this is caused by a missing package. Maybe because I didn't log in yet?
 

Attachments

  • 2025-05-25-210944_1920x1080_scrot.png
    2025-05-25-210944_1920x1080_scrot.png
    116.6 KB · Views: 207
Oh, sorry, you were right! Indeed, it doesn't save the password without security/gnome-keyring, I think we should notice the port maintainer to add, at least, security/gnome-keyring as a run-dependency. Without a keyring, the "save password" window keeps popping up every time you try to save it.

EDIT: I opened a PR: PR 287070.
 

Attachments

  • 2025-05-25-212158_1920x1080_scrot.png
    2025-05-25-212158_1920x1080_scrot.png
    150.9 KB · Views: 184
  • 2025-05-25-212122_1920x1080_scrot.png
    2025-05-25-212122_1920x1080_scrot.png
    111.8 KB · Views: 181
  • Thanks
Reactions: mro
Back
Top