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

The name org.freedesktop.secrets was not provided by any .service files #681

Closed
tobias-kuendig opened this Issue Feb 12, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@tobias-kuendig
Copy link

tobias-kuendig commented Feb 12, 2018

When I run mailspring on latest KDE Neon I get the following message:

-2- _006

All libsecret-* packages are installed as recommended in the KB article.

It looks like Mailspring cannot communicate with KWallet. Any idea on how to get this working?

$ mailspring --dev
Running database migrations
App load time: 238ms

{"error":null}
** Message: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Manual update check (updates.getmailspring.com/check/linux/x64/1.1.3-27dcee2f/anonymous/stable) returned 204
{ Error: The name org.freedesktop.secrets was not provided by any .service files
  message: 'The name org.freedesktop.secrets was not provided by any .service files' } { pluginIds: [] }
TypeError: Cannot read property 'emit' of undefined
    at EventEmitter._electron.ipcMain.on.args (/usr/share/mailspring/resources/app.asar/src/browser/application.js:556:10)
    at emitTwo (events.js:125:13)
    at EventEmitter.emit (events.js:213:7)
    at WebContents.<anonymous> (/usr/share/mailspring/resources/electron.asar/browser/api/web-contents.js:266:13)
    at emitTwo (events.js:125:13)
    at WebContents.emit (events.js:213:7) {}
What operating system are you using?
Distributor ID: neon
Description:    KDE neon User Edition 5.12
Release:        16.04
Codename:       xenial
What version of Mailspring are you using?

1.1.3-27dcee2f

@bengotow

This comment has been minimized.

Copy link
Collaborator

bengotow commented Feb 12, 2018

Hey! Are you using the Snapcraft release of Mailspring? It might be a good idea to see if that works - might also be useful to look at https://github.com/atom/node-keytar (the package we use to access the system wallet) and see if there are any clues there?

@tobias-kuendig

This comment has been minimized.

Copy link
Author

tobias-kuendig commented Feb 12, 2018

Hi, thanks for your response. I have tested it with both the deb and the snap version. Unfortunately without any luck.

This bug looks promising: atom/node-keytar#74

@tobias-kuendig

This comment has been minimized.

Copy link
Author

tobias-kuendig commented Feb 12, 2018

I can confirm that sudo apt install gnome-keyring solves the problem on KDE. Looks like the problem is with node-keytar. Thanks for pointing me to the right direction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.