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

Error message for missing libsecret provider #222

Open
meator opened this issue Jun 6, 2021 · 0 comments
Open

Error message for missing libsecret provider #222

meator opened this issue Jun 6, 2021 · 0 comments

Comments

@meator
Copy link

meator commented Jun 6, 2021

Hello, I'm trying to package mailnag for Voidlinux. Your program uses libsecret to manage passwords. It is not possible for me to add a requirement of a libsecret provider (GNOME Keyring, Kwallet...) to the package, due to technical limitations. So the only way the user is notified of a missing libsecret provider is this:

INFO (2021-06-06 18:10:31): Shutting down...
Traceback (most recent call last):
  File "/bin/mailnag", line 141, in <module>
    if __name__ == '__main__': main()
  File "/bin/mailnag", line 127, in main
    daemon = MailnagDaemon(
  File "/usr/lib/python3.9/site-packages/Mailnag/daemon/mailnagdaemon.py", line 57, in __init__
    accountman.load_from_cfg(self._cfg, enabled_only = True)
  File "/usr/lib/python3.9/site-packages/Mailnag/common/accounts.py", line 259, in load_from_cfg
    password = self._secretstore.get(self._get_account_id(user, server, imap))
  File "/usr/lib/python3.9/site-packages/Mailnag/common/secretstore.py", line 45, in get
    return Secret.password_lookup_sync(self._schema, {'id': secret_id}, None)
gi.repository.GLib.Error: g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2)

Could you please make this error message more clear for the user?

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

1 participant