Cannot publish with apm publish while Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files


#1

These days I created my atom ui theme Tia : https://github.com/frantic1048/Tia-ui

When I was ready to publish and type npm publish, I got following error (token was masked).

$apm publish patch

Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Welcome to Atom!

Before you can publish packages, you'll need an API token.

Visit your account page on Atom.io https://atom.io/account,
copy the token and paste it below when prompted.

Press [Enter] to open your account page on Atom.io. 
Token> xxxxxxxxxxxxxxxxxx
Saving token to Keychain Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
βœ“
Preparing and tagging a new version βœ“
Pushing v1.0.4 tag βœ“
Publishing Tia-ui@v1.0.4 Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Welcome to Atom!

Before you can publish packages, you'll need an API token.

Visit your account page on Atom.io https://atom.io/account,
copy the token and paste it below when prompted.

Press [Enter] to open your account page on Atom.io.

It outputs some βœ“, and I can open https://atom.io/packages/tia-ui .
But the package looks empty.

$apm view tia-ui
tia-ui
β”œβ”€β”€ 0 downloads
└── 0 stars

Run `apm install tia-ui` to install this package.

$apm install tia-ui
Installing tia-ui to /home/frantic/.atom/packages βœ—
No releases available for tia-ui

I’ve searched that error online, but I didn’t find useful info. I’m using KDE Wallet.

Here are some info about my system. If any more is needed, just teIl me and I’d provide here.

OS: Arch Linux Latest

apm config:

; cli configs
globalconfig = "/home/frantic/.atom/.apm/.apmrc"
user-agent = "npm/2.13.3 node/v0.10.40 linux x64"
userconfig = "/home/frantic/.atom/.apmrc"

; globalconfig /home/frantic/.atom/.apm/.apmrc
cache = "/home/frantic/.atom/.apm"

; node bin location = /usr/share/atom/resources/app/apm/bin/node
; cwd = /home/frantic/github/Tia-ui
; HOME = /home/frantic/.atom/.node-gyp
; 'npm config ls -l' to show all defaults.

git config:

user.name=frantic1048
user.email=archer@frantic1048.com
user.signingkey=73E00C1E
push.default=simple
http.postbuffer=1048576000
commit.gpgsign=false
core.excludesfile=~/.gitignore
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/frantic1048/Tia-ui
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
gui.wmstate=normal
gui.geometry=1069x627+108+81 199 291
commit.gpgsign=true

Tia UI Theme -- less edges and for editor background image zealots γƒΎ(οΎŸβˆ€οΎŸβ—‹)οΎ‚γ‚œ
#2

Atom uses a keychain service to store sensitive information. See the node-keytar README for more information.


#3

All right, solved by installing libgnome-keyring.

My atom package is from https://aur.archlinux.org/packages/atom-editor/ . It has a dependency of libgnome-keyring . And libgnome-keyring indecates a optional dependency of any service implementing org.freedesktop.secrets. Finally I found on my KDE no service implementing it…

$pacman -Qi libgnome-keyring
Name            : libgnome-keyring                                                                                                          
Version         : 3.12.0-2                                                                                                                  
Description     : GNOME keyring client library                                                                                              Architecture    : x86_64                                                                                                                    
URL             : http://www.gnome.org                                                                                                      Licenses        : GPL  LGPL                                                                                                                 
Groups          : None                                                                                                                      
Provides        : None                                                                                                                      
Depends On      : dbus  glib2  libgcrypt                                                                                                    
Optional Deps   : gnome-keyring: key storage service (or use any other service implementing org.freedesktop.secrets) [installed]
Required By     : atom-editor  mysql-workbench  telepathy-mission-control
Optional For    : subversion
Conflicts With  : None
Replaces        : None
Installed Size  : 1149.00 KiB
Packager        : Evangelos Foutras <evangelos@foutrelis.com>
Build Date      : Mon 20 Oct 2014 11:41:25 PM CST
Install Date    : Mon 11 Jul 2016 01:33:19 PM CST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Thank you !